Makefile 745 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.35 2017/04/28 15:04:32 ajacoutot Exp $
  2. # no libGL (toolchain issue)
  3. NOT_FOR_ARCHS= m88k
  4. COMMENT= cairo bindings for Python
  5. MODPY_EGG_VERSION= 1.12.0
  6. GH_ACCOUNT= pygobject
  7. GH_PROJECT= pycairo
  8. GH_TAGNAME= v${MODPY_EGG_VERSION}
  9. PKGNAME= py-cairo-${MODPY_EGG_VERSION}
  10. CATEGORIES= graphics
  11. HOMEPAGE= https://pycairo.readthedocs.io
  12. MAINTAINER= Eric Faurot <eric@openbsd.org>
  13. # LGPLv2.1 / MPL 1.1
  14. PERMIT_PACKAGE_CDROM= Yes
  15. WANTLIB += ${MODPY_WANTLIB} cairo pthread
  16. MODULES= lang/python
  17. FLAVORS= python3
  18. FLAVOR ?=
  19. LIB_DEPENDS= ${MODPY_LIB_DEPENDS} \
  20. graphics/cairo
  21. TEST_DEPENDS= devel/py-test${MODPY_FLAVOR}
  22. do-test: install
  23. cd ${WRKSRC}/tests && ${MODPY_BIN} ./test_api.py
  24. .include <bsd.port.mk>