Makefile 778 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.8 2017/01/03 19:17:24 landry Exp $
  2. COMMENT = thin SQLite wrapper for Python
  3. MODPY_EGG_VERSION = 3.8.0.2
  4. REVISION = 3
  5. DISTNAME = apsw-${MODPY_EGG_VERSION}-r1
  6. EXTRACT_SUFX = .zip
  7. PKGNAME = py-apsw-${MODPY_EGG_VERSION}
  8. CATEGORIES = databases
  9. HOMEPAGE= https://rogerbinns.github.io/apsw/
  10. MASTER_SITES= ${MASTER_SITE_GOOGLECODE:=apsw/}
  11. PORTROACH= site:https://github.com/rogerbinns/apsw/releases
  12. # zlib
  13. PERMIT_PACKAGE_CDROM= Yes
  14. WANTLIB += ${MODPY_WANTLIB} pthread sqlite3
  15. LIB_DEPENDS = databases/sqlite3
  16. MODULES = lang/python
  17. FLAVORS = python3
  18. FLAVOR ?=
  19. MODPY_DISTUTILS_BUILDARGS = build_ext -I${LOCALBASE}/include
  20. do-test: fake
  21. @cd ${WRKSRC} && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
  22. ${MODPY_BIN} ./tests.py
  23. .include <bsd.port.mk>