archivers/py-borgbackup12: Allow build with py-msgpack 1.1.2
- Bump PORTREVISION for package change
Reference: e7d8fba1df
This commit is contained in:
parent
fea7db1283
commit
f470101ac0
@ -1,6 +1,6 @@
|
|||||||
PORTNAME= borgbackup
|
PORTNAME= borgbackup
|
||||||
DISTVERSION= 1.2.9
|
DISTVERSION= 1.2.9
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= archivers python
|
CATEGORIES= archivers python
|
||||||
MASTER_SITES= https://github.com/borgbackup/borg/releases/download/${DISTVERSION}/ \
|
MASTER_SITES= https://github.com/borgbackup/borg/releases/download/${DISTVERSION}/ \
|
||||||
PYPI # note the .asc signature to accompany the tarball isn't available on PYPI
|
PYPI # note the .asc signature to accompany the tarball isn't available on PYPI
|
||||||
@ -18,7 +18,7 @@ LICENSE= BSD3CLAUSE
|
|||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
# note that borgbackup pins the msgpack version range per patchlevel version!
|
# note that borgbackup pins the msgpack version range per patchlevel version!
|
||||||
_BB_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.2<1.1.2:devel/py-msgpack@${PY_FLAVOR}
|
_BB_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.2<1.1.2_99:devel/py-msgpack@${PY_FLAVOR}
|
||||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=1.7:devel/py-setuptools-scm@${PY_FLAVOR} \
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=1.7:devel/py-setuptools-scm@${PY_FLAVOR} \
|
||||||
${_BB_DEPENDS}
|
${_BB_DEPENDS}
|
||||||
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
|
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
|
||||||
|
|||||||
26
archivers/py-borgbackup12/files/patch-msgpack
Normal file
26
archivers/py-borgbackup12/files/patch-msgpack
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
Reference: https://github.com/borgbackup/borg/commit/e7d8fba1df8409f5aa71faa16f97935aea802171
|
||||||
|
|
||||||
|
--- setup.py.orig 2025-08-04 21:56:09 UTC
|
||||||
|
+++ setup.py
|
||||||
|
@@ -75,7 +75,7 @@ install_requires = [
|
||||||
|
# Please note:
|
||||||
|
# using any other msgpack version is not supported by borg development and
|
||||||
|
# any feedback related to issues caused by this will be ignored.
|
||||||
|
- 'msgpack >=0.5.6, <=1.1.1, !=1.0.1',
|
||||||
|
+ 'msgpack >=0.5.6, <=1.1.2, !=1.0.1',
|
||||||
|
'packaging',
|
||||||
|
]
|
||||||
|
|
||||||
|
Obtained from: https://github.com/borgbackup/borg/commit/e7d8fba1df8409f5aa71faa16f97935aea802171
|
||||||
|
|
||||||
|
--- src/borg/helpers/msgpack.py.orig 2025-08-04 21:56:09 UTC
|
||||||
|
+++ src/borg/helpers/msgpack.py
|
||||||
|
@@ -182,7 +182,7 @@ def is_supported_msgpack():
|
||||||
|
def is_supported_msgpack():
|
||||||
|
# DO NOT CHANGE OR REMOVE! See also requirements and comments in setup.py.
|
||||||
|
import msgpack
|
||||||
|
- return (0, 5, 6) <= msgpack.version[:3] <= (1, 1, 1) and \
|
||||||
|
+ return (0, 5, 6) <= msgpack.version[:3] <= (1, 1, 2) and \
|
||||||
|
msgpack.version not in [(1, 0, 1), ] # < add bad releases here to deny list
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user