From ee3b2585026e24ad55ebc6a8d090c71443e4f041bc5f7984ebacacc2042a5e94 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Feb 2019 16:59:32 +0000 Subject: [PATCH 1/4] Accepting request 672297 from home:nicolasbock:branches:devel:languages:python - Version bump to 16.1.0 - Removed patch - pypa-virtualenv-1189.patch OBS-URL: https://build.opensuse.org/request/show/672297 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=65 --- pypa-virtualenv-1189.patch | 26 -------------------------- python-virtualenv.changes | 7 +++++++ python-virtualenv.spec | 9 ++++----- virtualenv-15.1.0.tar.gz | 3 --- virtualenv-16.1.0.tar.gz | 3 +++ 5 files changed, 14 insertions(+), 34 deletions(-) delete mode 100644 pypa-virtualenv-1189.patch delete mode 100644 virtualenv-15.1.0.tar.gz create mode 100644 virtualenv-16.1.0.tar.gz diff --git a/pypa-virtualenv-1189.patch b/pypa-virtualenv-1189.patch deleted file mode 100644 index b022337..0000000 --- a/pypa-virtualenv-1189.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 786675a83f494202cb9522d57a98e5ddc0d7405e Mon Sep 17 00:00:00 2001 -From: Ashley Whetter -Date: Tue, 3 Jul 2018 10:48:19 -0700 -Subject: [PATCH] Fixed failure to copy on platforms that use lib64 - -The current behaviour attempts to copy a "lib" folder from the current directory, -instead of copying the "lib" folder inside the virtualenv. Therefore the copying would fail. -This fixes that by always copying the "lib" folder from the virtualenv. - ---- - virtualenv.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/virtualenv.py b/virtualenv.py -index c008a395..34c2f6a1 100755 ---- a/virtualenv.py -+++ b/virtualenv.py -@@ -1559,7 +1559,7 @@ def fix_lib64(lib_dir, symlink=True): - if symlink: - os.symlink('lib', lib64_link) - else: -- copyfile('lib', lib64_link) -+ copyfile(lib_dir, lib64_link) - - def resolve_interpreter(exe): - """ diff --git a/python-virtualenv.changes b/python-virtualenv.changes index fcefc12..4f2273d 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 5 20:45:40 UTC 2019 - Nicolas Bock + +- Version bump to 16.1.0 +- Removed patch + - pypa-virtualenv-1189.patch + ------------------------------------------------------------------- Sat Aug 4 14:42:16 UTC 2018 - matwey.kornilov@gmail.com diff --git a/python-virtualenv.spec b/python-virtualenv.spec index d6de980..755e736 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -1,7 +1,7 @@ # # spec file for package python-virtualenv # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,20 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-virtualenv -Version: 15.1.0 +Version: 16.1.0 Release: 0 Summary: Virtual Python Environment builder License: MIT Group: Development/Languages/Python URL: http://www.virtualenv.org/ Source: https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz -Patch01: pypa-virtualenv-1189.patch BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -61,7 +60,6 @@ libraries either). %prep %setup -q -n virtualenv-%{version} -%patch01 -p1 %build %python_build @@ -71,6 +69,7 @@ libraries either). %python_clone -a %{buildroot}%{_bindir}/virtualenv %check +export PYTHONPATH=src # test broken upstream https://github.com/pypa/virtualenv/issues/530 %python_expand py.test-%{$python_bin_suffix} -k 'not test_always_copy_option' -vv diff --git a/virtualenv-15.1.0.tar.gz b/virtualenv-15.1.0.tar.gz deleted file mode 100644 index 35ee949..0000000 --- a/virtualenv-15.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a -size 1863951 diff --git a/virtualenv-16.1.0.tar.gz b/virtualenv-16.1.0.tar.gz new file mode 100644 index 0000000..456a84e --- /dev/null +++ b/virtualenv-16.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b906ef15b98227bfdacb73179932ee9640902f4721b53503e8e4cb1cf054cf4c +size 1976230 From 752faa8e4f44471bfe115720149ebeecc6f67bab10a5df6d7d7357f99d6de34f Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 1 Mar 2019 07:49:01 +0000 Subject: [PATCH 2/4] - Add requires: python-setuptools (bsc#1127328) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=66 --- python-virtualenv.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-virtualenv.changes b/python-virtualenv.changes index 4f2273d..6c12a40 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -8,7 +8,7 @@ Tue Feb 5 20:45:40 UTC 2019 - Nicolas Bock ------------------------------------------------------------------- Sat Aug 4 14:42:16 UTC 2018 - matwey.kornilov@gmail.com -- Add requires: python-setuptools +- Add requires: python-setuptools (bsc#1127328) > virtualenv-3.6 --help Traceback (most recent call last): From 796a4543e6882692a42cfe9fb80fbe2f5a11868005a8eb24bea628a8f8fe4960 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 1 Mar 2019 07:52:32 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=67 --- virtualenv-16.1.0.tar.gz | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtualenv-16.1.0.tar.gz b/virtualenv-16.1.0.tar.gz index 456a84e..8249e9a 100644 --- a/virtualenv-16.1.0.tar.gz +++ b/virtualenv-16.1.0.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b906ef15b98227bfdacb73179932ee9640902f4721b53503e8e4cb1cf054cf4c -size 1976230 +oid sha256:f899fafcd92e1150f40c8215328be38ff24b519cd95357fa6e78e006c7638208 +size 1977229 From 196b4bfa19bdac81924808820de019e50460d8d769dbd2eee79214139e277d22 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 1 Mar 2019 15:30:04 +0000 Subject: [PATCH 4/4] - Version bump to 16.1.0: * Fixed documentation to use pypi.org and correct curl options; :issue:`1042` * bug fix: ensure prefix is absolute when creating a new virtual environment :issue:`1208` * upgrade setuptools from ``39.1.0`` to ``40.5.0`` * upgrade wheel from ``0.31.1`` to ``0.32.2`` * upgrade pip from ``10.0.1`` to ``18.1`` * ``activate.csh`` does not use basename and handles newlines :issue:`1200` * fix failure to copy on platforms that use lib64 :issue:`1189` * enable tab-completion in the interactive interpreter by default, thanks to a new ``sys.__interactivehook__`` on Python 3 :issue:`967` * suppress warning of usage of the deprecated ``imp`` module :issue:`1238` * Drop support for Python 2.6. * Upgrade pip to 10.0.1. * Upgrade setuptools to 39.1.0. * Upgrade wheel to 0.31.1. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=68 --- python-virtualenv.changes | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/python-virtualenv.changes b/python-virtualenv.changes index 6c12a40..fd82ffc 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -1,7 +1,22 @@ ------------------------------------------------------------------- Tue Feb 5 20:45:40 UTC 2019 - Nicolas Bock -- Version bump to 16.1.0 +- Version bump to 16.1.0: + * Fixed documentation to use pypi.org and correct curl options; :issue:`1042` + * bug fix: ensure prefix is absolute when creating a new virtual + environment :issue:`1208` + * upgrade setuptools from ``39.1.0`` to ``40.5.0`` + * upgrade wheel from ``0.31.1`` to ``0.32.2`` + * upgrade pip from ``10.0.1`` to ``18.1`` + * ``activate.csh`` does not use basename and handles newlines :issue:`1200` + * fix failure to copy on platforms that use lib64 :issue:`1189` + * enable tab-completion in the interactive interpreter by default, + thanks to a new ``sys.__interactivehook__`` on Python 3 :issue:`967` + * suppress warning of usage of the deprecated ``imp`` module :issue:`1238` + * Drop support for Python 2.6. + * Upgrade pip to 10.0.1. + * Upgrade setuptools to 39.1.0. + * Upgrade wheel to 0.31.1. - Removed patch - pypa-virtualenv-1189.patch