openbsd-ports/sysutils/duplicity/Makefile

54 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.51 2019/07/12 20:49:42 sthen Exp $
# optional dependencies
# py-pyrax
COMMENT = encrypted backup using rsync algorithm
MODPY_EGG_VERSION = 0.7.19
DISTNAME = duplicity-${MODPY_EGG_VERSION}
CATEGORIES = sysutils
HOMEPAGE = http://www.nongnu.org/duplicity/
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=duplicity/}
# GPLv2
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
WANTLIB += pthread rsync ${MODPY_WANTLIB}
LIB_DEPENDS += net/librsync \
${MODPY_LIB_DEPENDS}
RUN_DEPENDS += devel/py-fasteners \
devel/py-pexpect \
net/ncftp \
net/py-boto \
gnupg-<2:security/gnupg \
sysutils/py-lockfile
TEST_DEPENDS = archivers/gtar \
archivers/par2cmdline \
devel/py-mock \
devel/py-monotonic \
devel/py-pexpect \
sysutils/py-lockfile
MAKE_ENV += LIBRSYNC_DIR=${LOCALBASE}
MODPY_ADJ_FILES = bin/duplicity bin/rdiffdir \
testing/manual/backendtest \
testing/overrides/bin/hsi \
testing/overrides/bin/lftp \
testing/overrides/bin/ncftpget \
testing/overrides/bin/ncftpls \
testing/overrides/bin/ncftpput \
testing/overrides/bin/tahoe
.include <bsd.port.mk>