python-rpm-generators/tests
Miro Hrončok 43b2eea5d4 Generate purl(pkg:pypi/...) Provides
- Fixes: rhbz#2514458
- https://fedoraproject.org/wiki/Changes/Adopt_PURL_Metadata

Alongside the existing python*dist() Provides, generate Package URL
(purl) Provides like purl(pkg:pypi/setuptools@41.6.0) for identifying
Python packages in a ecosystem-independent way.

The purl name is normalized per the purl spec for PyPI (lowercase,
underscores replaced with dashes, dots preserved, unlike PEP 503).
The version is canonicalized per PEP 440 with trailing zeros preserved.

Enabled by default via the %__purl_provides_pypi macro.
Packagers can %undefine it for packages not actually on PyPI.
Extras subpackages do not get purl Provides.

Assisted-By: Claude Opus 4.6
2026-08-26 12:36:44 +00:00
..
data Generate purl(pkg:pypi/...) Provides 2026-08-26 12:36:44 +00:00
console_script.sh Do not generate setuptools requirement for console_scripts on Python 3.10+ 2021-03-31 11:56:16 +02:00
download_data_and_run_pytest.sh Add centpkg to use in CentOS Stream 2024-11-06 12:31:35 +01:00
isort.spec Do not generate setuptools requirement for console_scripts on Python 3.10+ 2021-03-31 11:56:16 +02:00
pythonabi.sh Generate python(abi) Requires for any files in pythonX.Y directory 2026-08-15 10:49:05 +00:00
pythonabi.spec Generate python(abi) Requires for any files in pythonX.Y directory 2026-08-15 10:49:05 +00:00
pythondist.sh Generate purl(pkg:pypi/...) Provides 2026-08-26 12:36:44 +00:00
pythondist.spec CI: Adapt pythondist.spec for Python 3.10 being the main Python version 2021-06-18 19:20:16 +02:00
pythonname.sh CI: Adjust a test script to work on Fedora ELN 2026-03-10 13:55:10 +01:00
pythonname.spec Adapt tests for the pythonXY -> pythonX.Y renaming 2020-05-07 17:59:18 +02:00
test_scripts_pythonbundles.py Support multiple vendor files in pythonbundles.py 2021-06-22 18:28:43 +00:00
test_scripts_pythondistdeps.py CI: Replace deprecated pkg_resources with packaging 2026-03-11 21:07:05 +01:00