summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2021-05-23 21:39:18 (GMT)
committerJan Rękorajski2021-05-23 21:39:18 (GMT)
commit9ccf3ca2311af482827e8c48e9d857e404b5f5dc (patch)
treea03acfa639d2d7bde6a480f04f23cfaf067d5ae9
parentec3b4bc6b1caf7a8a618b5884c64be5523588198 (diff)
downloadpython-tox-9ccf3ca2311af482827e8c48e9d857e404b5f5dc.zip
python-tox-9ccf3ca2311af482827e8c48e9d857e404b5f5dc.tar.gz
- strange virtualenv reqs daze and confuse rpm dep generator, bring some sanity thereauto/th/python-tox-3.23.0-2
- rel 2
-rw-r--r--python-tox.spec4
-rw-r--r--virtualenv.patch11
2 files changed, 14 insertions, 1 deletions
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.*