sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

36 lines
897 B
Makefile

# $OpenBSD: Makefile,v 1.17 2019/04/28 20:51:53 sthen Exp $
COMMENT = wrapper for Borg to create and prune backups
MODPY_EGG_VERSION = 1.3.0
DISTNAME = borgmatic-${MODPY_EGG_VERSION}
REVISION = 0
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
HOMEPAGE = https://torsion.org/borgmatic/
CATEGORIES = sysutils
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS = devel/py-docopt${MODPY_FLAVOR} \
sysutils/borgbackup \
textproc/py-pykwalify${MODPY_FLAVOR} \
textproc/py-ruamel.yaml${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-flexmock${MODPY_FLAVOR} \
devel/py-test${MODPY_FLAVOR}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/borgmatic/
${INSTALL_DATA} ${FILESDIR}/config.yaml.dist \
${PREFIX}/share/examples/borgmatic/
.include <bsd.port.mk>