diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2018-04-25 03:47:26 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2018-04-25 03:47:26 +0800 |
commit | 8410370e1363c3a0f16f1e164e850bab50adb458 (patch) | |
tree | 65d4210b1fa592bae372f60fd151a8a2765c446c /archivers/py-borgbackup | |
parent | 13a6af260cf7b3196f2024d8f57dfc4da375222e (diff) | |
download | freebsd-ports-gnome-8410370e1363c3a0f16f1e164e850bab50adb458.tar.gz freebsd-ports-gnome-8410370e1363c3a0f16f1e164e850bab50adb458.tar.zst freebsd-ports-gnome-8410370e1363c3a0f16f1e164e850bab50adb458.zip |
Fix msgpack dependency
- Update RUN_DEPENDS
- Bump PORTREVISION for package change
Bump msgpack requirement to 0.5.6 which is the only acceptable 0.5.x version [1].
PR: 227717
Reported by: <iron.udjin@gmail.com>
Submitted by: sunpoet (myself)
Approved by: Jose Garcia Juanino <jjuanino@gmail.com>
Reference: https://github.com/borgbackup/borg/issues/3753 [1]
Diffstat (limited to 'archivers/py-borgbackup')
-rw-r--r-- | archivers/py-borgbackup/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/archivers/py-borgbackup/Makefile b/archivers/py-borgbackup/Makefile index 4f6a70416dca..6f0bbe1bac4e 100644 --- a/archivers/py-borgbackup/Makefile +++ b/archivers/py-borgbackup/Makefile @@ -3,7 +3,7 @@ PORTNAME= borgbackup DISTVERSION= 1.1.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:devel/py-setuptools_scm@${PY_FLAVOR} LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libzstd.so:archivers/zstd -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.4.6:devel/py-msgpack@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.5.6:devel/py-msgpack@${PY_FLAVOR} OPTIONS_DEFINE= FUSE FUSE_DESC= Support to mount locally borg backup files @@ -28,6 +28,9 @@ FUSE_RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/llfuse.so:devel/py-llfuse@${PY_FLAV USES= python:3.4+ ssl USE_PYTHON= autoplist distutils +post-patch: + @${REINPLACE_CMD} -i '' -e 's|msgpack-python>=0.4.6,<0.5.0|msgpack>=0.5.6|' ${WRKSRC}/setup.py ${WRKSRC}/src/borgbackup.egg-info/requires.txt + post-install: @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/borg/ -name "*.so" \ -exec ${STRIP_CMD} {} \; |