diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2022-02-24 17:27:24 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2022-02-28 13:18:52 +0000 |
commit | 371aef9619e152a131b77b25b1bbb5859d474932 (patch) | |
tree | 37d981d3532e53a865693444bdbbb88dd77d4d41 | |
parent | a26f9e6f1b7125db6a51a8aab3e26f425e35576f (diff) | |
download | ports-371aef9619e152a131b77b25b1bbb5859d474932.tar.gz ports-371aef9619e152a131b77b25b1bbb5859d474932.zip |
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)
-rw-r--r-- | archivers/rpm4/Makefile | 7 | ||||
-rw-r--r-- | archivers/rpm4/pkg-plist | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/archivers/rpm4/Makefile b/archivers/rpm4/Makefile index 3fb61d729fad..38c677173b77 100644 --- a/archivers/rpm4/Makefile +++ b/archivers/rpm4/Makefile @@ -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 diff --git a/archivers/rpm4/pkg-plist b/archivers/rpm4/pkg-plist index 04f7b1405a09..4222cee5a1cd 100644 --- a/archivers/rpm4/pkg-plist +++ b/archivers/rpm4/pkg-plist @@ -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 |