Hello community, here is the log from the commit of package pyenv for openSUSE:Factory checked in at 2019-02-01 11:44:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pyenv (Old) and /work/SRC/openSUSE:Factory/.pyenv.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pyenv" Fri Feb 1 11:44:49 2019 rev:4 rq:669380 version:1.2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/pyenv/pyenv.changes 2019-01-28 20:50:45.709758573 +0100 +++ /work/SRC/openSUSE:Factory/.pyenv.new.28833/pyenv.changes 2019-02-01 11:44:51.260588911 +0100 @@ -1,0 +2,15 @@ +Mon Jan 28 14:22:07 UTC 2019 - thomas.schraitle@suse.com + +- Update to 1.2.9: + * python-build: Add CPython 3.7.2 and CPython 3.6.8 (#1256) + * python-build: Add anaconda[23]-5.3.1 (#1246) + * python-build: Add Anaconda 2018.12 (#1259) + * python-build: Fix ironpython-dev git repo url (#1260) + * python-build: Add OPENSSL_NO_SSL3 patch for CPython 3.3.7 (#1263) + +- Version 1.2.8: + * python-build: Add CPython 3.7.1 + * python-build: Add CPython 3.6.7 + * python-build: Add anaconda[23]-5.3.0 (#1220) + +------------------------------------------------------------------- Old: ---- v1.2.7.tar.gz New: ---- v1.2.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pyenv.spec ++++++ --- /var/tmp/diff_new_pack.RFtG2g/_old 2019-02-01 11:44:51.912588240 +0100 +++ /var/tmp/diff_new_pack.RFtG2g/_new 2019-02-01 11:44:51.912588240 +0100 @@ -12,25 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define pyenv_dir %{_libexecdir}/pyenv # Name: pyenv -Version: 1.2.7 +Version: 1.2.9 Release: 0 Summary: Python Version Management License: MIT Group: Development/Languages/Python -Url: https://github.com/yyuu/pyenv +URL: https://github.com/yyuu/pyenv Source0: https://github.com/pyenv/pyenv/archive/v%{version}.tar.gz Source1: %{name}-rpmlintrc Source2: %{name}.rst BuildRequires: bash-completion -BuildRequires: fish BuildRequires: fdupes +BuildRequires: fish BuildRequires: gcc BuildRequires: make BuildRequires: python3-Sphinx @@ -159,8 +159,8 @@ %{_sysconfdir}/pyenv.d/exec/pip-rehash %{_bindir}/pyenv # -%{_mandir}/man1/%{name}.1%{ext_man} -%{_mandir}/man1/python-build.1%{ext_man} +%{_mandir}/man1/%{name}.1%{?ext_man} +%{_mandir}/man1/python-build.1%{?ext_man} %files bash-completion %{_datadir}/bash-completion/completions/pyenv ++++++ v1.2.7.tar.gz -> v1.2.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/CHANGELOG.md new/pyenv-1.2.9/CHANGELOG.md --- old/pyenv-1.2.7/CHANGELOG.md 2018-08-11 20:41:04.000000000 +0200 +++ new/pyenv-1.2.9/CHANGELOG.md 2019-01-10 14:19:47.000000000 +0100 @@ -1,8 +1,22 @@ ## Version History +## 1.2.9 + +* python-build: Add CPython 3.7.2 and CPython 3.6.8 (#1256) +* python-build: Add anaconda[23]-5.3.1 (#1246) +* python-build: Add Anaconda 2018.12 (#1259) +* python-build: Fix ironpython-dev git repo url (#1260) +* python-build: Add `OPENSSL_NO_SSL3` patch for CPython 3.3.7 (#1263) + +## 1.2.8 + +* python-build: Add CPython 3.7.1 +* python-build: Add CPython 3.6.7 +* python-build: Add anaconda[23]-5.3.0 (#1220) + ## 1.2.7 -* python-build: Add CPython 3.6.7 (#1199) +* python-build: Add CPython 3.5.6 (#1199) * python-build: Add CPython 3.4.9 ## 1.2.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/README.md new/pyenv-1.2.9/README.md --- old/pyenv-1.2.7/README.md 2018-08-11 20:41:04.000000000 +0200 +++ new/pyenv-1.2.9/README.md 2019-01-10 14:19:47.000000000 +0100 @@ -48,7 +48,7 @@ * **[Installation](#installation)** * [Basic GitHub Checkout](#basic-github-checkout) * [Upgrading](#upgrading) - * [Homebrew on Mac OS X](#homebrew-on-mac-os-x) + * [Homebrew on macOS](#homebrew-on-macos) * [Advanced Configuration](#advanced-configuration) * [Uninstalling Python Versions](#uninstalling-python-versions) * **[Command Reference](#command-reference)** @@ -167,7 +167,7 @@ ## Installation -If you're on Mac OS X, consider [installing with Homebrew](#homebrew-on-mac-os-x). +If you're on macOS, consider [installing with Homebrew](#homebrew-on-macos). ### The automatic installer @@ -219,7 +219,12 @@ ```sh $ exec "$SHELL" ``` -5. **Install Python versions into `$(pyenv root)/versions`.** + +5. **Install Python build dependencies** before attempting to install a new Python version. The + [pyenv wiki](https://github.com/pyenv/pyenv/wiki) provides suggested installation packages + and commands for various operating systems. + +6. **Install Python versions into `$(pyenv root)/versions`.** For example, to download and install Python 2.7.8, run: ```sh $ pyenv install 2.7.8 @@ -281,10 +286,10 @@ brew uninstall pyenv -### Homebrew on Mac OS X +### Homebrew on macOS -You can also install pyenv using the [Homebrew](http://brew.sh) -package manager for Mac OS X. +You can also install pyenv using the [Homebrew](https://brew.sh) +package manager for macOS. $ brew update $ brew install pyenv diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/libexec/pyenv---version new/pyenv-1.2.9/libexec/pyenv---version --- old/pyenv-1.2.7/libexec/pyenv---version 2018-08-11 20:41:04.000000000 +0200 +++ new/pyenv-1.2.9/libexec/pyenv---version 2019-01-10 14:19:47.000000000 +0100 @@ -12,7 +12,7 @@ set -e [ -n "$PYENV_DEBUG" ] && set -x -version="1.2.7" +version="1.2.9" git_revision="" if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q pyenv; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/bin/python-build new/pyenv-1.2.9/plugins/python-build/bin/python-build --- old/pyenv-1.2.7/plugins/python-build/bin/python-build 2018-08-11 20:41:04.000000000 +0200 +++ new/pyenv-1.2.9/plugins/python-build/bin/python-build 2019-01-10 14:19:47.000000000 +0100 @@ -1879,7 +1879,7 @@ list_definitions() { { for DEFINITION_DIR in "${PYTHON_BUILD_DEFINITIONS[@]}"; do - [ -d "$DEFINITION_DIR" ] && find "$DEFINITION_DIR" -maxdepth 1 -type f -print0 | xargs -0 -n 1 basename 2>/dev/null + [ -d "$DEFINITION_DIR" ] && ls "$DEFINITION_DIR" | grep -xv patches done } | sort_versions | uniq } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/3.6.7 new/pyenv-1.2.9/plugins/python-build/share/python-build/3.6.7 --- old/pyenv-1.2.7/plugins/python-build/share/python-build/3.6.7 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/3.6.7 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,8 @@ +#require_gcc +install_package "openssl-1.0.2k" "https://www.openssl.org/source/openssl-1.0.2k.tar.gz#6b3977c61f2aedf0f96367d..." mac_openssl --if has_broken_mac_openssl +install_package "readline-6.3" "https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a7..." standard --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.6.7" "https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tar.xz#81fd1401a9d66533..." ldflags_dirs standard verify_py37 ensurepip +else + install_package "Python-3.6.7" "https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tgz#b7c36f7ed8f7143b2c4..." ldflags_dirs standard verify_py37 ensurepip +fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/3.6.8 new/pyenv-1.2.9/plugins/python-build/share/python-build/3.6.8 --- old/pyenv-1.2.7/plugins/python-build/share/python-build/3.6.8 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/3.6.8 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,8 @@ +#require_gcc +install_package "openssl-1.0.2k" "https://www.openssl.org/source/openssl-1.0.2k.tar.gz#6b3977c61f2aedf0f96367d..." mac_openssl --if has_broken_mac_openssl +install_package "readline-6.3" "https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a7..." standard --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.6.8" "https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tar.xz#35446241e995773b..." ldflags_dirs standard verify_py37 ensurepip +else + install_package "Python-3.6.8" "https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tgz#7f5b1f08b3b0a595387..." ldflags_dirs standard verify_py37 ensurepip +fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/3.7.1 new/pyenv-1.2.9/plugins/python-build/share/python-build/3.7.1 --- old/pyenv-1.2.7/plugins/python-build/share/python-build/3.7.1 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/3.7.1 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,8 @@ +#require_gcc +install_package "openssl-1.0.2k" "https://www.openssl.org/source/openssl-1.0.2k.tar.gz#6b3977c61f2aedf0f96367d..." mac_openssl --if has_broken_mac_openssl +install_package "readline-6.3" "https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a7..." standard --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.7.1" "https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tar.xz#fa7e2b8e8c9402f1..." ldflags_dirs standard verify_py37 ensurepip +else + install_package "Python-3.7.1" "https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tgz#36c1b81ac29d0f8341f..." ldflags_dirs standard verify_py37 ensurepip +fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/3.7.2 new/pyenv-1.2.9/plugins/python-build/share/python-build/3.7.2 --- old/pyenv-1.2.7/plugins/python-build/share/python-build/3.7.2 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/3.7.2 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,8 @@ +#require_gcc +install_package "openssl-1.0.2k" "https://www.openssl.org/source/openssl-1.0.2k.tar.gz#6b3977c61f2aedf0f96367d..." mac_openssl --if has_broken_mac_openssl +install_package "readline-6.3" "https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz#56ba6071b9462f980c5a7..." standard --if has_broken_mac_readline +if has_tar_xz_support; then + install_package "Python-3.7.2" "https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz#d83fe8ce51b1bb48..." ldflags_dirs standard verify_py37 ensurepip +else + install_package "Python-3.7.2" "https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz#f09d83c773b9cc72421..." ldflags_dirs standard verify_py37 ensurepip +fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda2-2018.12 new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda2-2018.12 --- old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda2-2018.12 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda2-2018.12 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,19 @@ +case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-x86" ) + install_script "Anaconda2-2018.12-Linux-x86.sh" "https://repo.anaconda.com/archive/Anaconda2-2018.12-Linux-x86.sh#e086c041695..." "anaconda" verify_py27 + ;; +"Linux-x86_64" ) + install_script "Anaconda2-2018.12-Linux-x86_64.sh" "https://repo.anaconda.com/archive/Anaconda2-2018.12-Linux-x86_64.sh#1821d4b6..." "anaconda" verify_py27 + ;; +"MacOSX-x86_64" ) + install_script "Anaconda2-2018.12-MacOSX-x86_64.sh" "https://repo.anaconda.com/archive/Anaconda2-2018.12-MacOSX-x86_64.sh#5c590b1..." "anaconda" verify_py27 + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": The binary distribution of Anaconda2 is not available for $(anaconda_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda2-5.3.0 new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda2-5.3.0 --- old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda2-5.3.0 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda2-5.3.0 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,19 @@ +case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-x86" ) + install_script "Anaconda2-5.3.0-Linux-x86" "https://repo.continuum.io/archive/Anaconda2-5.3.0-Linux-x86.sh#58d4229ad7097..." "anaconda" verify_py27 + ;; +"Linux-x86_64" ) + install_script "Anaconda2-5.3.0-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda2-5.3.0-Linux-x86_64.sh#50eeaab24b..." "anaconda" verify_py27 + ;; +"MacOSX-x86_64" ) + install_script "Anaconda2-5.3.0-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda2-5.3.0-MacOSX-x86_64.sh#bea3eb766..." "anaconda" verify_py27 + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": The binary distribution of Anaconda2 is not available for $(anaconda_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda2-5.3.1 new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda2-5.3.1 --- old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda2-5.3.1 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda2-5.3.1 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,19 @@ +case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-x86" ) + install_script "Anaconda2-5.3.1-Linux-x86" "https://repo.continuum.io/archive/Anaconda2-5.3.1-Linux-x86.sh#a38017dfa5914..." "anaconda" verify_py27 + ;; +"Linux-x86_64" ) + install_script "Anaconda2-5.3.1-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda2-5.3.1-Linux-x86_64.sh#f0650ad2f9..." "anaconda" verify_py27 + ;; +"MacOSX-x86_64" ) + install_script "Anaconda2-5.3.1-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda2-5.3.1-MacOSX-x86_64.sh#df81e9d5d..." "anaconda" verify_py27 + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": The binary distribution of Anaconda2 is not available for $(anaconda_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda3-2018.12 new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda3-2018.12 --- old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda3-2018.12 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda3-2018.12 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,19 @@ +case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-x86" ) + install_script "Anaconda3-2018.12-Linux-x86.sh" "https://repo.anaconda.com/archive/Anaconda3-2018.12-Linux-x86.sh#78950528149..." "anaconda" verify_py37 + ;; +"Linux-x86_64" ) + install_script "Anaconda3-2018.12-Linux-x86_64.sh" "https://repo.anaconda.com/archive/Anaconda3-2018.12-Linux-x86_64.sh#1019d085..." "anaconda" verify_py37 + ;; +"MacOSX-x86_64" ) + install_script "Anaconda3-2018.12-MacOSX-x86_64.sh" "https://repo.anaconda.com/archive/Anaconda3-2018.12-MacOSX-x86_64.sh#4ccd394..." "anaconda" verify_py37 + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": The binary distribution of Anaconda3 is not available for $(anaconda_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda3-5.3.0 new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda3-5.3.0 --- old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda3-5.3.0 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda3-5.3.0 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,19 @@ +case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-x86" ) + install_script "Anaconda3-5.3.0-Linux-x86" "https://repo.continuum.io/archive/Anaconda3-5.3.0-Linux-x86.sh#c15ffac2ae351..." "anaconda" verify_py36 + ;; +"Linux-x86_64" ) + install_script "Anaconda3-5.3.0-Linux-x86_64" "https://repo.continuum.io/archive/Anaconda3-5.3.0-Linux-x86_64.sh#cfbf5fe70d..." "anaconda" verify_py36 + ;; +"MacOSX-x86_64" ) + install_script "Anaconda3-5.3.0-MacOSX-x86_64" "https://repo.continuum.io/archive/Anaconda3-5.3.0-MacOSX-x86_64.sh#bc073b6e6..." "anaconda" verify_py36 + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": The binary distribution of Anaconda3 is not available for $(anaconda_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda3-5.3.1 new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda3-5.3.1 --- old/pyenv-1.2.7/plugins/python-build/share/python-build/anaconda3-5.3.1 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/anaconda3-5.3.1 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,19 @@ +case "$(anaconda_architecture 2>/dev/null || true)" in +"Linux-x86" ) + install_script "Anaconda3-5.3.1-Linux-x86.sh" "https://repo.continuum.io/archive/Anaconda3-5.3.1-Linux-x86.sh#5dab8b2c95595..." "anaconda" verify_py36 + ;; +"Linux-x86_64" ) + install_script "Anaconda3-5.3.1-Linux-x86_64.sh" "https://repo.continuum.io/archive/Anaconda3-5.3.1-Linux-x86_64.sh#d4c4256a8f..." "anaconda" verify_py36 + ;; +"MacOSX-x86_64" ) + install_script "Anaconda3-5.3.1-MacOSX-x86_64.sh" "https://repo.continuum.io/archive/Anaconda3-5.3.1-MacOSX-x86_64.sh#23c373abc..." "anaconda" verify_py36 + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": The binary distribution of Anaconda3 is not available for $(anaconda_architecture 2>/dev/null || true)." + echo + } >&2 + exit 1 + ;; +esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/ironpython-dev new/pyenv-1.2.9/plugins/python-build/share/python-build/ironpython-dev --- old/pyenv-1.2.7/plugins/python-build/share/python-build/ironpython-dev 2018-08-11 20:41:04.000000000 +0200 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/ironpython-dev 2019-01-10 14:19:47.000000000 +0100 @@ -1,2 +1,2 @@ -install_git "ironpython-dev" "https://github.com/IronLanguages/main.git" master ironpython_builder +install_git "ironpython-dev" "https://github.com/IronLanguages/ironpython2.git" master ironpython_builder # FIXME: have not confirmed to install setuptools into IronPython yet diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-1.2.7/plugins/python-build/share/python-build/patches/3.3.7/Python-3.3.7/010_ssl_no_ssl3.patch new/pyenv-1.2.9/plugins/python-build/share/python-build/patches/3.3.7/Python-3.3.7/010_ssl_no_ssl3.patch --- old/pyenv-1.2.7/plugins/python-build/share/python-build/patches/3.3.7/Python-3.3.7/010_ssl_no_ssl3.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-1.2.9/plugins/python-build/share/python-build/patches/3.3.7/Python-3.3.7/010_ssl_no_ssl3.patch 2019-01-10 14:19:47.000000000 +0100 @@ -0,0 +1,102 @@ +diff -r -u ../Python-3.3.6.orig/Lib/ssl.py ./Lib/ssl.py +--- ../Python-3.3.6.orig/Lib/ssl.py 2014-10-12 07:03:53.000000000 +0000 ++++ ./Lib/ssl.py 2015-12-20 06:43:59.175134734 +0000 +@@ -66,47 +66,32 @@ + SSLSyscallError, SSLEOFError, + ) + from _ssl import CERT_NONE, CERT_OPTIONAL, CERT_REQUIRED +-from _ssl import ( +- OP_ALL, OP_NO_SSLv2, OP_NO_SSLv3, OP_NO_TLSv1, +- OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE +- ) +-try: +- from _ssl import OP_NO_COMPRESSION +-except ImportError: +- pass ++from _ssl import RAND_status, RAND_add, RAND_bytes, RAND_pseudo_bytes + try: +- from _ssl import OP_SINGLE_ECDH_USE ++ from _ssl import RAND_egd + except ImportError: ++ # LibreSSL does not provide RAND_egd + pass +-from _ssl import RAND_status, RAND_egd, RAND_add, RAND_bytes, RAND_pseudo_bytes +-from _ssl import ( +- SSL_ERROR_ZERO_RETURN, +- SSL_ERROR_WANT_READ, +- SSL_ERROR_WANT_WRITE, +- SSL_ERROR_WANT_X509_LOOKUP, +- SSL_ERROR_SYSCALL, +- SSL_ERROR_SSL, +- SSL_ERROR_WANT_CONNECT, +- SSL_ERROR_EOF, +- SSL_ERROR_INVALID_ERROR_CODE, +- ) ++ ++def _import_symbols(prefix): ++ for n in dir(_ssl): ++ if n.startswith(prefix): ++ globals()[n] = getattr(_ssl, n) ++ ++_import_symbols('OP_') ++_import_symbols('SSL_ERROR_') ++_import_symbols('PROTOCOL_') ++ + from _ssl import HAS_SNI, HAS_ECDH, HAS_NPN +-from _ssl import (PROTOCOL_SSLv3, PROTOCOL_SSLv23, +- PROTOCOL_TLSv1) ++ + from _ssl import _OPENSSL_API_VERSION + +-_PROTOCOL_NAMES = { +- PROTOCOL_TLSv1: "TLSv1", +- PROTOCOL_SSLv23: "SSLv23", +- PROTOCOL_SSLv3: "SSLv3", +-} ++_PROTOCOL_NAMES = {value: name for name, value in globals().items() if name.startswith('PROTOCOL_')} ++ + try: +- from _ssl import PROTOCOL_SSLv2 + _SSLv2_IF_EXISTS = PROTOCOL_SSLv2 +-except ImportError: ++except NameError: + _SSLv2_IF_EXISTS = None +-else: +- _PROTOCOL_NAMES[PROTOCOL_SSLv2] = "SSLv2" + + from socket import getnameinfo as _getnameinfo + from socket import error as socket_error +@@ -664,7 +649,7 @@ + d = pem_cert_string.strip()[len(PEM_HEADER):-len(PEM_FOOTER)] + return base64.decodebytes(d.encode('ASCII', 'strict')) + +-def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None): ++def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None): + """Retrieve the certificate from the server at the specified address, + and return it as a PEM-encoded string. + If 'ca_certs' is specified, validate the server cert against it. +diff -r -u ../Python-3.3.6.orig/Modules/_ssl.c ./Modules/_ssl.c +--- ../Python-3.3.6.orig/Modules/_ssl.c 2014-10-12 07:03:53.000000000 +0000 ++++ ./Modules/_ssl.c 2015-12-20 06:42:45.773667904 +0000 +@@ -1746,8 +1746,10 @@ + PySSL_BEGIN_ALLOW_THREADS + if (proto_version == PY_SSL_VERSION_TLS1) + ctx = SSL_CTX_new(TLSv1_method()); ++#ifndef OPENSSL_NO_SSL3 + else if (proto_version == PY_SSL_VERSION_SSL3) + ctx = SSL_CTX_new(SSLv3_method()); ++#endif + #ifndef OPENSSL_NO_SSL2 + else if (proto_version == PY_SSL_VERSION_SSL2) + ctx = SSL_CTX_new(SSLv2_method()); +@@ -2842,8 +2844,10 @@ + PyModule_AddIntConstant(m, "PROTOCOL_SSLv2", + PY_SSL_VERSION_SSL2); + #endif ++#ifndef OPENSSL_NO_SSL3 + PyModule_AddIntConstant(m, "PROTOCOL_SSLv3", + PY_SSL_VERSION_SSL3); ++#endif + PyModule_AddIntConstant(m, "PROTOCOL_SSLv23", + PY_SSL_VERSION_SSL23); + PyModule_AddIntConstant(m, "PROTOCOL_TLSv1",