The python-rpm-generators rpms
  • Python 82.7%
  • Shell 17.3%
Find a file
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
.fmf Drop STI and use tmt instead 2025-08-15 17:33:08 +02:00
tests Generate purl(pkg:pypi/...) Provides 2026-08-26 12:36:44 +00:00
.gitignore Update the test data sources 2023-01-05 09:39:19 +01:00
changelog Convert to %autorelease and %autochangelog 2026-05-14 20:26:45 +02:00
COPYING Fork upstream generators 2018-02-11 00:50:54 +01:00
macros.python-rpm-generators Generate purl(pkg:pypi/...) Provides 2026-08-26 12:36:44 +00:00
plan.fmf CI: Replace deprecated pkg_resources with packaging 2026-03-11 21:07:05 +01:00
python-rpm-generators.spec Generate purl(pkg:pypi/...) Provides 2026-08-26 12:36:44 +00:00
python.attr Generate python(abi) Requires for any files in pythonX.Y directory 2026-08-15 10:49:05 +00:00
pythonbundles.py License: Clarify pythonbundles.py license 2023-05-05 14:01:14 +02:00
pythondist.attr Generate purl(pkg:pypi/...) Provides 2026-08-26 12:36:44 +00:00
pythondistdeps.py Generate purl(pkg:pypi/...) Provides 2026-08-26 12:36:44 +00:00
pythonname.attr Remove a no longer needed workaround for RPM <= 4.16 warning 2023-10-06 11:59:15 +02:00
rpminspect.yaml Add rpminspect file 2022-02-02 15:24:19 +00:00
sources Update the test data sources 2023-01-05 09:39:19 +01:00
update-test-sources.sh pythondistdeps.py: Compare extras as lowercase 2021-03-11 13:41:25 +01:00