openbsd-ports/sysutils/py-augeas/Makefile

36 lines
660 B
Makefile

# $OpenBSD: Makefile,v 1.10 2019/11/03 14:07:45 jasper Exp $
COMMENT = Python bindings for Augeas
MODPY_EGG_VERSION = 1.0.3
DISTNAME = python-augeas-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/python-/py-/}
REVISION = 1
CATEGORIES = sysutils
# LGPLv2+
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR? =
BUILD_DEPENDS = devel/py-cffi${MODPY_FLAVOR} \
sysutils/augeas
RUN_DEPENDS = devel/py-cffi${MODPY_FLAVOR}
# dlopen()s libaugeas
RUN_DEPENDS += sysutils/augeas
TEST_DEPENDS = ${BUILD_PKGPATH}
do-test:
cd ${WRKSRC}/test; ${MODPY_BIN} test_augeas.py
.include <bsd.port.mk>