Makefile 750 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.5 2017/06/06 08:52:02 ajacoutot Exp $
  2. COMMENT = Python bindings for Augeas
  3. MODPY_EGG_VERSION = 1.0.2
  4. DISTNAME = python-augeas-${MODPY_EGG_VERSION}
  5. PKGNAME = ${DISTNAME:S/python-/py-/}
  6. REVISION = 0
  7. CATEGORIES = sysutils
  8. MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
  9. # LGPLv2+
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MODULES = lang/python
  12. MODPY_PI = Yes
  13. MODPY_SETUPTOOLS = Yes
  14. FLAVORS = python3
  15. FLAVOR? =
  16. BUILD_DEPENDS = devel/py-cffi${MODPY_FLAVOR} \
  17. sysutils/augeas
  18. RUN_DEPENDS = devel/py-cffi${MODPY_FLAVOR}
  19. # dlopen()s libaugeas
  20. RUN_DEPENDS += sysutils/augeas
  21. TEST_DEPENDS = ${BUILD_PKGPATH} \
  22. ${RUN_DEPENDS}
  23. do-test:
  24. cd ${WRKSRC}/test; ${MODPY_BIN} test_augeas.py
  25. .include <bsd.port.mk>