summaryrefslogtreecommitdiff
path: root/sysutils/py-borgbackup
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-05 15:40:56 +0000
committerwiz <wiz@pkgsrc.org>2022-01-05 15:40:56 +0000
commitd19f073cf98e1f2653a8d55bc4ae03f713437692 (patch)
treee9aefdaf8aa062e73299809ec4ac25bfcfb8a1a8 /sysutils/py-borgbackup
parent43a3377b786e75dc9288884a4be636135f02feae (diff)
downloadpkgsrc-d19f073cf98e1f2653a8d55bc4ae03f713437692.tar.gz
python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
Diffstat (limited to 'sysutils/py-borgbackup')
-rw-r--r--sysutils/py-borgbackup/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/py-borgbackup/Makefile b/sysutils/py-borgbackup/Makefile
index 00c785dfe7e..4c00516bc78 100644
--- a/sysutils/py-borgbackup/Makefile
+++ b/sysutils/py-borgbackup/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2022/01/04 20:54:47 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2022/01/05 15:41:21 wiz Exp $
DISTNAME= borgbackup-1.1.17
-PKGREVISION= 2
+PKGREVISION= 3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/borgbackup/}
@@ -17,6 +17,8 @@ DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
MAKE_ENV+= BORG_OPENSSL_PREFIX=${SSLBASE:Q}
MAKE_ENV+= BORG_LZ4_PREFIX=${BUILDLINK_PREFIX.lz4}
MAKE_ENV+= BORG_LIBZSTD_PREFIX=${BUILDLINK_PREFIX.zstd}