Date: Mon, 28 Feb 2022 13:19:17 GMT From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 371aef9619e1 - main - archivers/rpm4: fix python bindings Message-ID: <202202281319.21SDJHE0097074@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=371aef9619e152a131b77b25b1bbb5859d474932 commit 371aef9619e152a131b77b25b1bbb5859d474932 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-02-24 17:27:24 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-02-28 13:18:52 +0000 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) --- archivers/rpm4/Makefile | 7 ++++--- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202281319.21SDJHE0097074>