Tue Nov 30 05:31:56 2021 UTC ()
bup now supports Python 3

sysutils/py-fuse-bindings was the only dependency that required Python
2, which is now ported to Python 3.


(pho)
diff -r1.56 -r1.57 pkgsrc/sysutils/bup/Makefile

cvs diff -r1.56 -r1.57 pkgsrc/sysutils/bup/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/bup/Makefile 2021/10/26 00:19:27 1.56
+++ pkgsrc/sysutils/bup/Makefile 2021/11/30 05:31:56 1.57
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.56 2021/10/26 00:19:27 gdt Exp $ 1# $NetBSD: Makefile,v 1.57 2021/11/30 05:31:56 pho Exp $
2 2
3DISTNAME= bup-0.32 3DISTNAME= bup-0.32
4PKGREVISION= 2 4PKGREVISION= 3
5CATEGORIES= sysutils 5CATEGORIES= sysutils
6MASTER_SITES= ${MASTER_SITE_GITHUB:=bup/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=bup/}
7# bup has two problems that make packaging difficult. One is that 7# bup has two problems that make packaging difficult. One is that
8# building man pages requires non-portable tools (pandoc). The other 8# building man pages requires non-portable tools (pandoc). The other
9# is that it is hosted on github, which makes hosting tarballs 9# is that it is hosted on github, which makes hosting tarballs
10# difficult. The combination of this leads to having a branch "man" 10# difficult. The combination of this leads to having a branch "man"
11# in bup's git which has autogenerated man pages. The third problem 11# in bup's git which has autogenerated man pages. The third problem
12# is that github.mk assumes that there is one distfile. 12# is that github.mk assumes that there is one distfile.
13 13
14# (Note to future updating self) We would like to fetch the following files, e.g.: 14# (Note to future updating self) We would like to fetch the following files, e.g.:
15# https://github.com/bup/bup/archive/0.30.tar.gz 15# https://github.com/bup/bup/archive/0.30.tar.gz
16# https://github.com/bup/bup/archive/28876cde4a3dac518e773860aa7969c106f5390d.tar.gz 16# https://github.com/bup/bup/archive/28876cde4a3dac518e773860aa7969c106f5390d.tar.gz
17 17
@@ -36,28 +36,26 @@ HAS_CONFIGURE= yes @@ -36,28 +36,26 @@ HAS_CONFIGURE= yes
36 36
37# On macOS 10.13, building bup fails with defaults but builds with 37# On macOS 10.13, building bup fails with defaults but builds with
38# USE_CWRAPPERS=no. The error is 38# USE_CWRAPPERS=no. The error is
39# Looking for cpp (/path/to/pkgsrc/sysutils/bup/work/.cwrapper/bin/cpp) (can't run cpp as a pipeline) 39# Looking for cpp (/path/to/pkgsrc/sysutils/bup/work/.cwrapper/bin/cpp) (can't run cpp as a pipeline)
40 40
41DEPENDS+= par2-[0-9]*:../../archivers/par2 41DEPENDS+= par2-[0-9]*:../../archivers/par2
42DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado 42DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
43DEPENDS+= git-base-[0-9]*:../../devel/git-base 43DEPENDS+= git-base-[0-9]*:../../devel/git-base
44 44
45# TEST_DEPENDS 45# TEST_DEPENDS
46BUILD_DEPENDS+= rsync-[0-9]*:../../net/rsync 46BUILD_DEPENDS+= rsync-[0-9]*:../../net/rsync
47PYTHON_VERSIONED_DEPENDENCIES= test 47PYTHON_VERSIONED_DEPENDENCIES= test
48 48
49PYTHON_VERSIONS_ACCEPTED= 27 # py-fuse-bindings 
50 
51DOCDIR= ${WRKDIR}/${MAN_UNPACK} 49DOCDIR= ${WRKDIR}/${MAN_UNPACK}
52 50
53# Note that tests 1) will fail on a fs mounted noatime and 2) need a 51# Note that tests 1) will fail on a fs mounted noatime and 2) need a
54# lot of space, perhaps 1 GB. 52# lot of space, perhaps 1 GB.
55TEST_TARGET= test 53TEST_TARGET= test
56 54
57MAKE_FLAGS+= PREFIX=${PREFIX} 55MAKE_FLAGS+= PREFIX=${PREFIX}
58MAKE_FLAGS+= PYTHON=${PYTHONBIN} 56MAKE_FLAGS+= PYTHON=${PYTHONBIN}
59MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR} 57MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
60 58
61# Even if converters/pandoc is installed, pretend as if it weren't. 59# Even if converters/pandoc is installed, pretend as if it weren't.
62MAKE_FLAGS+= PANDOC= 60MAKE_FLAGS+= PANDOC=
63 61