Makefile 758 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.2 2016/11/02 19:27:54 danj Exp $
  2. COMMENT = manipulation and analysis of planar geometric objects
  3. MODPY_EGG_VERSION = 1.5.17
  4. GH_TAGNAME = ${MODPY_EGG_VERSION}
  5. GH_ACCOUNT = Toblerity
  6. GH_PROJECT = Shapely
  7. DISTNAME = py-shapely-${MODPY_EGG_VERSION}
  8. CATEGORIES = geo
  9. HOMEPAGE = https://github.com/Toblerity/Shapely
  10. # BSD
  11. PERMIT_PACKAGE_CDROM = Yes
  12. MODULES = lang/python
  13. # cython and numpy needed to build _vectorized.so
  14. BUILD_DEPENDS +=${RUN_DEPENDS} \
  15. math/py-numpy \
  16. lang/cython
  17. LIB_DEPENDS = geo/geos
  18. WANTLIB = geos_c pthread ${MODPY_WANTLIB}
  19. TEST_DEPENDS = devel/py-test
  20. do-test:
  21. # gross
  22. cp ${WRKSRC}/lib*/shapely/vectorized/_vectorized.so ${WRKSRC}/shapely/vectorized/
  23. py.test ${WRKSRC}/tests
  24. .include <bsd.port.mk>