scripts/pythondistdeps: Modify handling of dev versions

This commit is contained in:
Tomas Orsava 2020-04-23 20:41:13 +02:00
parent 972beac29a
commit 79790d12af
4 changed files with 30 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class RpmVersion():
if self.pre:
rpm_suffix = '~{}'.format(''.join(str(x) for x in self.pre))
elif self.dev:
rpm_suffix = '~{}'.format(''.join(str(x) for x in self.dev))
rpm_suffix = '~~{}'.format(''.join(str(x) for x in self.dev))
elif self.post:
rpm_suffix = '^post{}'.format(self.post[1])
else:

View File

@ -93,3 +93,10 @@ babel>=1.3,!=2.0
# Tests for breakages in Fedora
fedora-python-nb2plots==0+unknown
# Other tests
hugo1==1.0.0.dev7
hugo2<=8a4
hugo3!=11.1.1b14
hugo4>11rc0
hugo5===11.1.0.post3

View File

@ -89,8 +89,19 @@
python3.9dist(foobar86) > 2.4.8^post1
python3.9dist(foobar87) > 2^post1
(python3.9dist(foobar9) >= 2.4.8^post1 with python3.9dist(foobar9) < 2.5)
python3.9dist(hugo1) = 1~~dev7
python3.9dist(hugo2) <= 8~a4
(python3.9dist(hugo3) < 11.1.1~b14 or python3.9dist(hugo3) > 11.1.1~b14)
python3.9dist(hugo4) > 11~rc0
python3.9dist(hugo5) = 11.1^post3
python3.9dist(pyparsing0)
((python3.9dist(pyparsing1) < 2.0.4 or python3.9dist(pyparsing1) > 2.0.4) with (python3.9dist(pyparsing1) < 2.1.2 or python3.9dist(pyparsing1) > 2.1.2) with (python3.9dist(pyparsing1) < 2.1.6 or python3.9dist(pyparsing1) > 2.1.6) with python3.9dist(pyparsing1) >= 2.0.1)
usr/lib/python3.9/site-packages/taskotron_python_versions-0.1.dev6.dist-info:
provides: python3.9dist(taskotron-python-versions) = 0.1~~dev6
requires: |-
python(abi) = 3.9
python3.9dist(libarchive-c)
python3.9dist(python-bugzilla)
--provides --majorver-provides:
usr/lib/python2.7/site-packages/attrs-19.1.0-py2.7.egg-info:
provides: |-
@ -331,6 +342,14 @@
python3.9dist(six) = 1.12
python3dist(six) = 1.12
requires: python(abi) = 3.9
usr/lib/python3.9/site-packages/taskotron_python_versions-0.1.dev6.dist-info:
provides: |-
python3.9dist(taskotron-python-versions) = 0.1~~dev6
python3dist(taskotron-python-versions) = 0.1~~dev6
requires: |-
python(abi) = 3.9
python3.9dist(libarchive-c)
python3.9dist(python-bugzilla)
usr/lib/python3.9/site-packages/tox-3.14.0.dist-info:
provides: |-
python3.9dist(tox) = 3.14

View File

@ -92,3 +92,6 @@ kubernetes:
fsleyes:
wheel:
'0.32.3': ['3.9']
taskotron-python-versions:
wheel:
'0.1.dev6': ['3.9']