38 lines
733 B
Makefile
Raw Normal View History

2017-08-23 07:48:43 +00:00
# $OpenBSD: Makefile,v 1.6 2017/08/23 07:48:43 jasper Exp $
2017-06-05 08:01:39 +00:00
COMMENT = Python bindings for Augeas
2017-08-23 07:48:43 +00:00
MODPY_EGG_VERSION = 1.0.3
2017-06-05 08:01:39 +00:00
DISTNAME = python-augeas-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/python-/py-/}
2017-06-05 08:01:39 +00:00
CATEGORIES = sysutils
2017-06-05 08:01:39 +00:00
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
# LGPLv2+
2017-06-05 08:01:39 +00:00
PERMIT_PACKAGE_CDROM = Yes
2017-06-05 08:01:39 +00:00
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
2017-06-05 08:01:39 +00:00
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
2017-06-05 08:01:39 +00:00
TEST_DEPENDS = ${BUILD_PKGPATH} \
${RUN_DEPENDS}
do-test:
cd ${WRKSRC}/test; ${MODPY_BIN} test_augeas.py
.include <bsd.port.mk>