python-rpm-vercmp
Port variant v15
Summary Pure Python implementation of rpmvercmp (3.15)
Package version 0.1.2
Homepage No known homepage
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 13 NOV 2026, 13:25:52 UTC
Port created 25 FEB 2026, 19:33:15 UTC
Subpackage Descriptions
single Pure Python implementation of rpmvercmp. The RPM Package Manager (http://rpm.org) has a version comparision algorithm, implemented in its C library, which performs the comparison in a certain way. In certain circumstances, where the C library is not installable (for example, on non-rpm based systems), or does not support the desired version of the python interpreter, the pure-python implementation may be useful. Source Code =========== https://github.com/sassoftware/python-rpm-vercmp Installation ============ $ pip install rpm_vercmp Usage ===== import rpm_vercmp assert rpm_vercmp.vercmp("1.0", "1.0") == 0 assert rpm_vercmp.vercmp("1.0", "1.1") == -1 Testing ======= The testsuite uses rpm's test file in m4 format. The file cat be fetched from: https://raw.githubusercontent.com/rpm-software-management/rpm/master/tests/rpmvercmp.at
Configuration Switches (platform-specific settings discarded)
PY314 OFF Build using Python 3.14 PY315 ON Build using Python 3.15
Package Dependencies by Type
Build (only) python315:dev:std
python-setuptools:single:v15
autoselect-python:single:std
Build and Runtime python-pbr:single:v15
python315:primary:std
Download groups
main mirror://PYPI/r/rpm-vercmp
Distribution File Information
73dd583f1ff7a798faff62d39659d8a3e5183099972b2fc028bfadd70a43eda8 8852 python-src/rpm_vercmp-0.1.2.tar.gz
Ports that require python-rpm-vercmp:v15
No other ports depend on this one.