1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

archivers/py-borgbackup: fix up incomplete 0b4a732cb0

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
This commit is contained in:
Matthias Andree 2022-08-14 13:32:03 +02:00
parent 0313e6adc3
commit 5521ed80c2

View File

@ -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} {} \;