aboutsummaryrefslogtreecommitdiffstats
path: root/community/borgbackup/msgpack-fix.patch
diff options
context:
space:
mode:
authorAdam Ruzicka <a.ruzicka@outlook.com>2019-02-03 19:46:32 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-02-05 15:22:29 +0000
commit3a0a741747a76ff24c7751c2aae27482bb9a0d35 (patch)
tree13ea1c16943635d79bc2e068ed718fd5126061be /community/borgbackup/msgpack-fix.patch
parent7bdf7842ba511b2cb7182ebb5c4ae4b0a060cc42 (diff)
downloadaports-3a0a741747a76ff24c7751c2aae27482bb9a0d35.tar.bz2
aports-3a0a741747a76ff24c7751c2aae27482bb9a0d35.tar.xz
community/borgbackup: backport patch to make borg work again
Diffstat (limited to 'community/borgbackup/msgpack-fix.patch')
-rw-r--r--community/borgbackup/msgpack-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/borgbackup/msgpack-fix.patch b/community/borgbackup/msgpack-fix.patch
new file mode 100644
index 0000000000..102492abcc
--- /dev/null
+++ b/community/borgbackup/msgpack-fix.patch
@@ -0,0 +1,13 @@
+--- borgbackup-1.1.7/setup.py.original
++++ borgbackup-1.1.7/setup.py
+@@ -39,7 +39,9 @@
+ # we are rather picky about msgpack versions, because a good working msgpack is
+ # very important for borg, see https://github.com/borgbackup/borg/issues/3753
+ # best versions seem to be 0.4.6, 0.4.7, 0.4.8 and 0.5.6:
+- 'msgpack-python >=0.4.6, <=0.5.6, !=0.5.0, !=0.5.1, !=0.5.2, !=0.5.3, !=0.5.4, !=0.5.5',
++ 'msgpack-python >=0.4.6, <=0.5.6, !=0.5.0, !=0.5.1, !=0.5.2, !=0.5.3, !=0.5.4, !=0.5.5;python_version <"3.4"',
++ 'msgpack-python >=0.4.6, <0.5;python_version=="3.4"',
++ 'msgpack >=0.5.6;python_version >="3.5"',
+ # if you can't satisfy the above requirement, these are versions that might
+ # also work ok, IF you make sure to use the COMPILED version of msgpack-python,
+ # NOT the PURE PYTHON fallback implementation: ==0.5.1, ==0.5.4