archivers/py-bup: upgrade to 0.32

This release should work with Python-3.9.

Release notes at
	<https://github.com/bup/bup/blob/master/note/0.32-from-0.31.md>.

PR:		262303
Approved by:	maintainer’s time-out
This commit is contained in:
Thierry Thomas 2022-03-02 18:49:36 +01:00
parent 6804aa8f7c
commit 8a56a24e86
5 changed files with 22 additions and 23 deletions

View file

@ -1,7 +1,7 @@
# Created by: José García Juanino <jjuanino@gmail.com> # Created by: José García Juanino <jjuanino@gmail.com>
PORTNAME= bup PORTNAME= bup
PORTVERSION= 0.31 PORTVERSION= 0.32
CATEGORIES= archivers python CATEGORIES= archivers python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -17,9 +17,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylibacl>0:security/py-pylibacl@${PY_FLAVOR}
par2cmdline>0.4:archivers/par2cmdline par2cmdline>0.4:archivers/par2cmdline
BUILD_DEPENDS= bash:shells/bash \ BUILD_DEPENDS= bash:shells/bash \
git>1.5.6:devel/git git>1.5.6:devel/git
RUN_DEPENDS= bash:shells/bash
USES= python:3.6+ gmake USES= gmake python:3.6+ shebangfix
USE_PYTHON= autoplist USE_PYTHON= autoplist
SHEBANG_FILES= test/ext/test-sparse-files lib/cmd/import-rdiff-backup-cmd.sh
PLIST_SUB= MANDIR=${PREFIX}/share/man PLIST_SUB= MANDIR=${PREFIX}/share/man

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1608064432 TIMESTAMP = 1646238825
SHA256 (bup-bup-0.31_GH0.tar.gz) = 2f54351aed653b4b9567d3a534af598a5bc63b32efd7cc593bcecac3b89e16d1 SHA256 (bup-bup-0.32_GH0.tar.gz) = a894cfa96c44b9ef48003b2c2104dc5fa6361dd2f4d519261a93178984a51259
SIZE (bup-bup-0.31_GH0.tar.gz) = 454636 SIZE (bup-bup-0.32_GH0.tar.gz) = 448487

View file

@ -1,11 +1,11 @@
--- Makefile.orig 2020-12-15 12:37:40.871053000 -0800 --- Makefile.orig 2021-01-09 22:11:10 UTC
+++ Makefile 2020-12-15 12:38:46.984653000 -0800 +++ Makefile
@@ -28,7 +28,7 @@ @@ -28,7 +28,7 @@ current_sampledata := test/sampledata/var/rev/v$(sampl
os := $(shell ($(pf); uname | sed 's/[-_].*//') $(isok)) os := $(shell ($(pf); uname | sed 's/[-_].*//') $(isok))
os := $(call shout,$(os),Unable to determine OS) os := $(call shout,$(os),Unable to determine OS)
-CFLAGS := -Wall -Wformat=2 -O2 -Werror -Wno-unknown-pragmas $(CFLAGS) -CFLAGS := -O2 -Wall -Werror -Wformat=2 $(CFLAGS)
+CFLAGS := -Wall -O2 -Wno-unknown-pragmas $(PYINCLUDE) $(CFLAGS) +CFLAGS := -Wall $(CFLAGS)
CFLAGS := -Wno-unknown-pragmas -Wsign-compare $(CFLAGS)
CFLAGS := -D_FILE_OFFSET_BITS=64 $(PYINCLUDE) $(CFLAGS) CFLAGS := -D_FILE_OFFSET_BITS=64 $(PYINCLUDE) $(CFLAGS)
SOEXT:=.so SOEXT:=.so

View file

@ -1,13 +1,10 @@
--- config/configure.orig 2020-12-15 16:52:00.017999000 -0800 --- config/configure.orig 2021-01-09 22:11:10 UTC
+++ config/configure 2020-12-15 16:53:04.758080000 -0800 +++ config/configure
@@ -66,6 +66,10 @@ @@ -66,6 +66,7 @@ expr "$MAKE_VERSION" '>=' '3.81' || AC_FAIL "ERROR: $M
AC_SUB bup_make "$MAKE" AC_SUB bup_make "$MAKE"
bup_python="$(type -p "$PYTHON")" bup_python="$(type -p "$PYTHON")"
+test -z "$bup_python" && bup_python="$(bup_find_prog python3.9 '')" +test -z "$bup_python" && bup_python="$(bup_find_prog python3.9 '')"
+test -z "$bup_python" && bup_python="$(bup_find_prog python3.8 '')" test -z "$bup_python" && bup_python="$(bup_find_prog python3.8 '')"
+test -z "$bup_python" && bup_python="$(bup_find_prog python3.7 '')" test -z "$bup_python" && bup_python="$(bup_find_prog python3.7 '')"
+test -z "$bup_python" && bup_python="$(bup_find_prog python3.6 '')" test -z "$bup_python" && bup_python="$(bup_find_prog python3.6 '')"
test -z "$bup_python" && bup_python="$(bup_find_prog python2.7 '')"
test -z "$bup_python" && bup_python="$(bup_find_prog python2.6 '')"
test -z "$bup_python" && bup_python="$(bup_find_prog python2 '')"

View file

@ -1,6 +1,6 @@
--- t/test-sparse-files.sh.orig 2020-12-15 12:42:46.593767000 -0800 --- test/ext/test-sparse-files.orig 2021-01-09 22:11:10 UTC
+++ t/test-sparse-files.sh 2020-12-15 12:43:10.570419000 -0800 +++ test/ext/test-sparse-files
@@ -31,6 +31,12 @@ @@ -31,6 +31,12 @@ if [ "$probe_size" -ge "$((data_size / 1024))" ]; then
exit 0 exit 0
fi fi