From 5521ed80c2b20ef53fa15df7109af569d1c9fdf5 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 14 Aug 2022 13:32:03 +0200 Subject: [PATCH] archivers/py-borgbackup: fix up incomplete 0b4a732cb0ac which was incomplete because accidentally the parts I am committing here had slipped into the main branch's "version bump" commit, which had to be re-created for 2022Q3. Make up for the lost bits. PR: 265060 --- archivers/py-borgbackup/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/archivers/py-borgbackup/Makefile b/archivers/py-borgbackup/Makefile index 3b80068b12bb..f427a08ee324 100644 --- a/archivers/py-borgbackup/Makefile +++ b/archivers/py-borgbackup/Makefile @@ -2,6 +2,7 @@ PORTNAME= borgbackup DISTVERSION= 1.1.18 +PORTREVISION= 1 CATEGORIES= archivers python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,7 +19,7 @@ LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libxxhash.so:devel/xxhash RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=19.0:devel/py-packaging@${PY_FLAVOR} -USES= python:3.5+ ssl +USES= python ssl USE_PYTHON= autoplist distutils OPTIONS_DEFINE= FUSE @@ -28,6 +29,7 @@ FUSE_DESC= Support to mount locally borg backup files FUSE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llfuse>0:devel/py-llfuse@${PY_FLAVOR} post-install: + ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${STAGEDIR}${PREFIX}/bin/borg -V @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/borg/ -name "*.so" \ -exec ${STRIP_CMD} {} \;