Accepting request 794520 from devel:languages:python
- Update to 20.0.17: * minor fixes * update of embedded modules - Update to 20.0.11: - Allow the test suite to pass even when called with the system Python - to help repackaging of the tool for Linux distributions - by :user:`gaborbernat`. (`#1721 <https://github.com/pypa/virtualenv/issues/1721>`_) - Other minor fixes - Update to 20.0.10: * Complete rewrite and redesign of the virtualenv package OBS-URL: https://build.opensuse.org/request/show/794520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-virtualenv?expand=0&rev=38
This commit is contained in:
commit
4771b8d955
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 16 08:31:23 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 20.0.17:
|
||||||
|
* minor fixes
|
||||||
|
* update of embedded modules
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 19 06:59:10 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 20.0.11:
|
||||||
|
- Allow the test suite to pass even when called with the system Python - to help repackaging of the tool for Linux
|
||||||
|
distributions - by :user:`gaborbernat`. (`#1721 <https://github.com/pypa/virtualenv/issues/1721>`_)
|
||||||
|
- Other minor fixes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 13 11:27:16 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 20.0.10:
|
||||||
|
* Complete rewrite and redesign of the virtualenv package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 6 17:34:41 UTC 2020 - Tomáš Čech <sleep_walker@opensuse.org>
|
Fri Mar 6 17:34:41 UTC 2020 - Tomáš Čech <sleep_walker@opensuse.org>
|
||||||
|
|
||||||
|
@ -26,39 +26,50 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-virtualenv%{psuffix}
|
Name: python-virtualenv%{psuffix}
|
||||||
Version: 16.7.10
|
Version: 20.0.17
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Virtual Python Environment builder
|
Summary: Virtual Python Environment builder
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: http://www.virtualenv.org/
|
URL: http://www.virtualenv.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
||||||
%if %{with test}
|
BuildRequires: %{python_module setuptools >= 41.0.0}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module setuptools_scm >= 2}
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module pypiserver}
|
|
||||||
BuildRequires: %{python_module pytest-localserver}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module virtualenv >= %{version}}
|
|
||||||
%endif
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-appdirs >= 1.4.3
|
||||||
|
Requires: python-distlib >= 0.3.0
|
||||||
|
Requires: python-filelock >= 3.0.0
|
||||||
|
Requires: python-importlib-metadata >= 0.12
|
||||||
|
Requires: python-importlib_resources >= 1.0
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
|
Requires: python-six >= 1.9.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%ifpython2
|
||||||
|
Requires: python-contextlib2 >= 0.6.0
|
||||||
|
Requires: python-pathlib2 >= 2.3.3
|
||||||
|
%endif
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module coverage >= 4.5.1}
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module packaging >= 20.0}
|
||||||
|
BuildRequires: %{python_module pytest >= 4.0.0}
|
||||||
|
BuildRequires: %{python_module pytest-env >= 0.6.2}
|
||||||
|
BuildRequires: %{python_module pytest-mock >= 2.0.0}
|
||||||
|
BuildRequires: %{python_module pytest-timeout >= 1.3.4}
|
||||||
|
BuildRequires: %{python_module virtualenv >= %{version}}
|
||||||
|
BuildRequires: fish
|
||||||
|
BuildRequires: python3-xonsh >= 0.9.13
|
||||||
|
BuildRequires: tcsh
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
virtualenv is a tool to create isolated Python environments.
|
virtualenv is a tool to create isolated Python environments.
|
||||||
The basic problem being addressed is one of dependencies and versions, and
|
The basic problem being addressed is one of dependencies and versions, and
|
||||||
indirectly permissions. Imagine you have an application that needs version 1
|
indirectly permissions. Imagine you have an application that needs version 1
|
||||||
of LibFoo, but another application requires version 2. How can you use both
|
of LibFoo, but another application requires version 2.
|
||||||
these applications? If you install everything into
|
|
||||||
%{_libexecdir}/python2.4/site-packages (or whatever your platforms standard location
|
|
||||||
is), its easy to end up in a situation where you unintentionally upgrade an
|
|
||||||
application that shouldnt be upgraded.
|
|
||||||
|
|
||||||
Or more generally, what if you want to install an application and leave it be?
|
Or more generally, what if you want to install an application and leave it be?
|
||||||
If an application works, any change in its libraries or the versions of those
|
If an application works, any change in its libraries or the versions of those
|
||||||
@ -81,16 +92,14 @@ libraries either).
|
|||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%python_clone -a %{buildroot}%{_bindir}/virtualenv
|
%python_clone -a %{buildroot}%{_bindir}/virtualenv
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
# test_bootstrap is tied to python2 command calls, skip it
|
export LANG="en_US.UTF8"
|
||||||
# test_always_copy_option does not handle system install dirs in /usr/lib64
|
%pytest
|
||||||
# test_wheel_invocation_dash_p or test_use_from_wheel or test_wheel_contains or test_wheel_basic_invocation; online tests
|
|
||||||
%pytest -k 'not (test_always_copy_option or test_bootstrap or test_use_from_wheel or test_wheel_contains or test_wheel_basic_invocation or test_wheel_invocation_dash_p)'
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
@ -101,11 +110,10 @@ libraries either).
|
|||||||
%python_uninstall_alternative virtualenv
|
%python_uninstall_alternative virtualenv
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.md docs/changelog.rst
|
||||||
%{python_sitelib}/virtualenv*
|
%{python_sitelib}/virtualenv*
|
||||||
%python_alternative %{_bindir}/virtualenv
|
%python_alternative %{_bindir}/virtualenv
|
||||||
%pycache_only %{python_sitelib}/__pycache__
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e88fdcb08b0ecb11da97868f463dd06275923f50d87f4b9c8b2fc0994eec40f4
|
|
||||||
size 5121882
|
|
3
virtualenv-20.0.17.tar.gz
Normal file
3
virtualenv-20.0.17.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c8364ec469084046c779c9a11ae6340094e8a0bf1d844330fc55c1cefe67c172
|
||||||
|
size 7991942
|
Loading…
Reference in New Issue
Block a user