bup: update to 0.32, switch to python3.

Also fix xbps-src check.

Co-authored-by: Enno Boland <gottox@voidlinux.org>
This commit is contained in:
Érico Rolim 2021-02-20 01:12:36 -03:00 committed by Érico Nogueira Rolim
parent fc19f276d9
commit 529b5f37a4
2 changed files with 17 additions and 11 deletions

View file

@ -1,13 +1,14 @@
--- Makefile.orig 2016-05-25 16:57:27.966465927 +0200 --- Makefile.orig 2016-05-25 16:57:27.966465927 +0200
+++ Makefile 2016-05-25 16:57:32.091465618 +0200 +++ Makefile 2016-05-25 16:57:32.091465618 +0200
@@ -39,8 +39,8 @@ else @@ -39,8 +39,8 @@ else
test_tmp := $(CURDIR)/t/tmp test_tmp := $(CURDIR)/test/tmp
endif endif
-initial_setup := $(shell ./configure-version --update $(isok)) -initial_setup := $(shell dev/update-checkout-info lib/bup/checkout_info.py $(isok))
-initial_setup := $(call shout,$(initial_setup),Version configuration failed)) -initial_setup := $(call shout,$(initial_setup),update-checkout-info failed))
+#initial_setup := $(shell ./configure-version --update $(isok)) +#initial_setup := $(shell dev/update-checkout-info lib/bup/checkout_info.py $(isok))
+#initial_setup := $(call shout,$(initial_setup),Version configuration failed)) +#initial_setup := $(call shout,$(initial_setup),update-checkout-info failed))
config/config.vars: configure config/configure config/configure.inc \ config/config.vars: \
configure config/configure config/configure.inc \
$(wildcard config/*.in) $(wildcard config/*.in)

View file

@ -1,19 +1,24 @@
# Template file for 'bup' # Template file for 'bup'
pkgname=bup pkgname=bup
version=0.30 version=0.32
revision=1 revision=1
build_style=configure build_style=configure
hostmakedepends="python perl git" hostmakedepends="python3 perl git"
makedepends="python-devel" makedepends="python3-devel"
checkdepends="python3-pytest tar rsync"
short_desc="Backup system based on the git packfile format" short_desc="Backup system based on the git packfile format"
maintainer="Enno Boland <gottox@voidlinux.org>" maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.0-only" license="LGPL-2.0-only"
homepage="https://github.com/bup/bup" homepage="https://github.com/bup/bup"
distfiles="https://github.com/bup/bup/archive/${version}.tar.gz" distfiles="https://github.com/bup/bup/archive/${version}.tar.gz"
checksum=5238f045c220278a165fff528ea32288f2752db2e1ac15704e849b71cddda0b2 checksum=a894cfa96c44b9ef48003b2c2104dc5fa6361dd2f4d519261a93178984a51259
python_version=2 #unverified python_version=3
nocross=yes nocross=yes
pre_configure() { pre_configure() {
sed -i 's#^PREFIX=.*#PREFIX=/usr#' Makefile sed -i 's#^PREFIX=.*#PREFIX=/usr#' Makefile
} }
do_check() {
./pytest -x --ignore-glob='test/ext/test-ls*'
}