commit 9ccf3ca2311af482827e8c48e9d857e404b5f5dc
Author: Jan Rękorajski <[email protected]>
Date:   Sun May 23 23:39:18 2021 +0200

    - strange virtualenv reqs daze and confuse rpm dep generator, bring some 
sanity there
    - rel 2

 python-tox.spec  |  4 +++-
 virtualenv.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/python-tox.spec b/python-tox.spec
index 58f0f10..daab44a 100644
--- a/python-tox.spec
+++ b/python-tox.spec
@@ -14,11 +14,12 @@ Summary:    Virtualenv-based automation of test activities
 Summary(pl.UTF-8):     Oparta na Virtualenv automatyka testów
 Name:          python-%{module}
 Version:       3.23.0
-Release:       1
+Release:       2
 License:       MIT
 Group:         Libraries/Python
 Source0:       
https://files.pythonhosted.org/packages/source/t/tox/tox-%{version}.tar.gz
 # Source0-md5: bd96f55bb0b50be9aec5bab6094a3eb1
+Patch0:                virtualenv.patch
 URL:           http://tox.testrun.org/
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
@@ -103,6 +104,7 @@ Dokumentacja API %{module}.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
diff --git a/virtualenv.patch b/virtualenv.patch
new file mode 100644
index 0000000..999e9a8
--- /dev/null
+++ b/virtualenv.patch
@@ -0,0 +1,11 @@
+--- tox-3.23.0/setup.cfg~      2021-03-03 13:38:30.000000000 +0100
++++ tox-3.23.0/setup.cfg       2021-05-23 23:38:20.589859796 +0200
+@@ -45,7 +45,7 @@
+       py>=1.4.17
+       six>=1.14.0 # required when virtualenv>=20
+       toml>=0.9.4
+-      
virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
++      virtualenv>=16.0.0
+       colorama>=0.4.1 ;platform_system=="Windows"
+       importlib-metadata>=0.12;python_version<"3.8"
+ python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-tox.git/commitdiff/9ccf3ca2311af482827e8c48e9d857e404b5f5dc

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to