Ignore environment markers in pythonbundles.py

Use packaging.requirements instead of a naïve split on ==.
This commit is contained in:
Miro Hrončok 2023-03-07 17:35:06 +01:00
commit 079b71a567
5 changed files with 14 additions and 2 deletions

View file

@ -3,3 +3,4 @@ Provides: bundled(python3dist(ordered-set)) = 3.1.1
Provides: bundled(python3dist(packaging)) = 16.8
Provides: bundled(python3dist(pyparsing)) = 2.2.1
Provides: bundled(python3dist(six)) = 1.10
Provides: bundled(python3dist(tomli)) = 1.2.3

View file

@ -1,3 +1,4 @@
packaging==16.8
pyparsing==2.2.1
ordered-set==3.1.1
tomli==1.2.3;python_version<"3.11"

View file

@ -1,3 +1,4 @@
Provides: bundled(python3dist(ordered-set)) = 3.1.1
Provides: bundled(python3dist(packaging)) = 16.8
Provides: bundled(python3dist(pyparsing)) = 2.2.1
Provides: bundled(python3dist(tomli)) = 1.2.3