summaryrefslogtreecommitdiff
path: root/math/py-numpy-stl
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-numpy-stl')
-rw-r--r--math/py-numpy-stl/Makefile26
-rw-r--r--math/py-numpy-stl/distinfo3
-rw-r--r--math/py-numpy-stl/pkg-descr7
3 files changed, 36 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>
diff --git a/math/py-numpy-stl/distinfo b/math/py-numpy-stl/distinfo
new file mode 100644
index 000000000000..31e9d1f63f8a
--- /dev/null
+++ b/math/py-numpy-stl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1600557817
+SHA256 (numpy-stl-2.11.2.tar.gz) = 192556df794b9ef0c1333fd5f034e4a3905d63f52345a0cc1e359045670e34b6
+SIZE (numpy-stl-2.11.2.tar.gz) = 484937
diff --git a/math/py-numpy-stl/pkg-descr b/math/py-numpy-stl/pkg-descr
new file mode 100644
index 000000000000..0aa4014f947e
--- /dev/null
+++ b/math/py-numpy-stl/pkg-descr
@@ -0,0 +1,7 @@
+Simple library to make working with STL files
+(and 3D objects in general) fast and easy.
+
+Due to all operations heavily relying on numpy this is one of the fastest
+STL editing libraries for Python available.
+
+WWW: https://github.com/WoLpH/numpy-stl