Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2020 23:20:02 +0000 (UTC)
From:      Diane Bruce <db@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549403 - in head/math: . py-numpy-stl
Message-ID:  <202009202320.08KNK2A9091652@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: db
Date: Sun Sep 20 23:20:01 2020
New Revision: 549403
URL: https://svnweb.freebsd.org/changeset/ports/549403

Log:
  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.
  
  Prerequisite for Cura update submitted by greg@unrelenting.technology
  With some changes. Rest of updates will come in separate commits.
  
  PR:		ports/249468
  Submitted by:	greg@unrelenting.technology

Added:
  head/math/py-numpy-stl/
  head/math/py-numpy-stl/Makefile   (contents, props changed)
  head/math/py-numpy-stl/distinfo   (contents, props changed)
  head/math/py-numpy-stl/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Sun Sep 20 22:47:33 2020	(r549402)
+++ head/math/Makefile	Sun Sep 20 23:20:01 2020	(r549403)
@@ -785,6 +785,7 @@
     SUBDIR += py-numexpr
     SUBDIR += py-numpoly
     SUBDIR += py-numpy
+    SUBDIR += py-numpy-stl
     SUBDIR += py-opt-einsum
     SUBDIR += py-or-tools
     SUBDIR += py-osqp

Added: head/math/py-numpy-stl/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-numpy-stl/Makefile	Sun Sep 20 23:20:01 2020	(r549403)
@@ -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>

Added: head/math/py-numpy-stl/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-numpy-stl/distinfo	Sun Sep 20 23:20:01 2020	(r549403)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1600557817
+SHA256 (numpy-stl-2.11.2.tar.gz) = 192556df794b9ef0c1333fd5f034e4a3905d63f52345a0cc1e359045670e34b6
+SIZE (numpy-stl-2.11.2.tar.gz) = 484937

Added: head/math/py-numpy-stl/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-numpy-stl/pkg-descr	Sun Sep 20 23:20:01 2020	(r549403)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009202320.08KNK2A9091652>