mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
system/borgbackup: Updated for version 1.1.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
df7ed73721
commit
e2d3ee11e1
3 changed files with 27 additions and 4 deletions
19
system/borgbackup/01-msgpack-python-renamed.patch
Normal file
19
system/borgbackup/01-msgpack-python-renamed.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- setup.py 2018-12-09 03:18:19.000000000 +0100
|
||||
+++ setup.py.new 2018-12-09 09:43:12.950202360 +0100
|
||||
@@ -39,7 +39,7 @@
|
||||
# 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 >=0.4.6, <=0.5.6, !=0.5.0, !=0.5.1, !=0.5.2, !=0.5.3, !=0.5.4, !=0.5.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
|
||||
--- src/borgbackup.egg-info/requires.txt 2018-12-09 03:37:50.000000000 +0100
|
||||
+++ src/borgbackup.egg-info/requires.txt.new 2018-12-09 09:47:08.958294779 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-msgpack-python!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6
|
||||
+msgpack!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,!=0.5.4,!=0.5.5,<=0.5.6,>=0.4.6
|
||||
|
||||
[fuse]
|
||||
llfuse<2.0
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=borgbackup
|
||||
VERSION=${VERSION:-1.1.7}
|
||||
VERSION=${VERSION:-1.1.8}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -69,6 +69,10 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix msgpack-python => msgpack package rename.
|
||||
# Thanks to Audrius Kažukauskas.
|
||||
patch -p0 < $CWD/01-msgpack-python-renamed.patch
|
||||
|
||||
python3 setup.py install --root=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="borgbackup"
|
||||
VERSION="1.1.7"
|
||||
VERSION="1.1.8"
|
||||
HOMEPAGE="https://borgbackup.readthedocs.io/"
|
||||
DOWNLOAD="https://github.com/borgbackup/borg/releases/download/1.1.7/borgbackup-1.1.7.tar.gz"
|
||||
MD5SUM="b45ac57fbf5566811e5a37e61d3a9d7c"
|
||||
DOWNLOAD="https://github.com/borgbackup/borg/releases/download/1.1.8/borgbackup-1.1.8.tar.gz"
|
||||
MD5SUM="bad2c745d6f683e552cee3b48ee8f1ce"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="libb2 lz4 msgpack-python python3 setuptools-scm zstd"
|
||||
|
|
Loading…
Reference in a new issue