archivers/rpm4: fix python bindings

Fix regression introduced in 468b96c:
- Reenable python bindings which are still available in this package
- Remove dependency on py-python-rpm-packaging as it's not related to
  the bindings and is not required for this port operation

PR:		262173
Approved by:	portmgr blanket (regression)
This commit is contained in:
Dmitry Marakasov 2022-02-24 20:27:24 +03:00
parent a26f9e6f1b
commit 371aef9619
2 changed files with 7 additions and 3 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= rpm
PORTVERSION= 4.17.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= http://ftp.rpm.org/releases/rpm-4.17.x/
PKGNAMESUFFIX= 4
@ -59,12 +59,13 @@ OPTIONS_DEFINE= PYTHON PLUGINS NLS DOCS
OPTIONS_DEFAULT=PYTHON
OPTIONS_SUB= yes
PYTHON_CONFIGURE_ENABLE=python
PYTHON_USES= python
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
NLS_LIBS= -lintl
PYTHON_RUN_DEPENDS= ${LOCALBASE}/lib/rpm/pythondistdeps.py:archivers/py-python-rpm-packaging
PLUGINS_CONFIGURE_ENABLE=plugins
PLUGINS_LIB_DEPENDS= libdbus-1.so:devel/dbus

View File

@ -59,6 +59,9 @@ lib/librpmio.so.9.2.0
lib/librpmsign.so
lib/librpmsign.so.9
lib/librpmsign.so.9.2.0
%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/__init__.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/_rpm.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/transaction.py
%%PLUGINS%%lib/rpm-plugins/dbus_announce.so
%%PLUGINS%%lib/rpm-plugins/prioreset.so
%%PLUGINS%%lib/rpm-plugins/syslog.so