rpm: add explicit python_version

This commit is contained in:
Andrew J. Hesford 2020-04-21 14:55:08 -04:00 committed by Toyam Cox
parent a7fc4f5d1a
commit 1e0bf850e9

View file

@ -16,6 +16,7 @@ homepage="https://rpm.org"
changelog="https://rpm.org/wiki/Releases/${version}.html"
distfiles="http://ftp.rpm.org/releases/rpm-4.15.x/rpm-${version}.tar.bz2"
checksum=ddef45f9601cd12042edfc9b6e37efcca32814e1e0f4bb8682d08144a3e2d230
python_version=2 #unverified
conflicts="rpmextract>=0" # Both provide rpm2cpio
CFLAGS="-I${XBPS_CROSS_BASE}${py3_inc}"
@ -49,7 +50,6 @@ librpm-devel_package() {
}
rpm-python3_package() {
pycompile_module="rpm"
depends="rpm"
short_desc+=" - python bindings"
pkg_install() {