summaryrefslogtreecommitdiff
path: root/math/py-numpy-stl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-numpy-stl/Makefile')
-rw-r--r--math/py-numpy-stl/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/math/py-numpy-stl/Makefile b/math/py-numpy-stl/Makefile
new file mode 100644
index 000000000000..fe500445e02a
--- /dev/null
+++ b/math/py-numpy-stl/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= numpy-stl
+DISTVERSION= 2.11.2
+CATEGORIES= math python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= db@FreeBSD.org
+COMMENT= Simple library to make working with STL files fast and easy
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYNUMPY}
+
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}python-utils>=2.3.0:misc/py-python-utils@${PY_FLAVOR}
+
+USES= python:3.4+
+USE_PYTHON= cython distutils autoplist
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/stl/_speedups.so
+
+.include <bsd.port.mk>