aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-05-21 17:48:02 +0800
committeryuri <yuri@FreeBSD.org>2018-05-21 17:48:02 +0800
commit41e8265ed4d018229f05f55586949092eb9cc786 (patch)
tree558b6f8897a3be28736189d442caaf06ac21ad05 /math
parent7b0894e3b7f49d62e675bbb4494a89e45341825d (diff)
downloadfreebsd-ports-gnome-41e8265ed4d018229f05f55586949092eb9cc786.tar.gz
freebsd-ports-gnome-41e8265ed4d018229f05f55586949092eb9cc786.tar.zst
freebsd-ports-gnome-41e8265ed4d018229f05f55586949092eb9cc786.zip
New port: math/py-igakit: Low-level routines for manipulations of NURBS geometries
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/py-igakit/Makefile32
-rw-r--r--math/py-igakit/distinfo3
-rw-r--r--math/py-igakit/pkg-descr5
4 files changed, 41 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index ca49df5f5907..1f119d2ed111 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -669,6 +669,7 @@
SUBDIR += py-gmpy2
SUBDIR += py-gnuplot
SUBDIR += py-graphillion
+ SUBDIR += py-igakit
SUBDIR += py-igraph
SUBDIR += py-intspan
SUBDIR += py-keras
diff --git a/math/py-igakit/Makefile b/math/py-igakit/Makefile
new file mode 100644
index 000000000000..2c4fb82c45c6
--- /dev/null
+++ b/math/py-igakit/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= igakit
+DISTVERSION= g20180107
+CATEGORIES= math python
+MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Low-level routines for manipulations of NURBS geometries
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+
+BUILD_DEPENDS= ${PYNUMPY}
+RUN_DEPENDS= ${PYNUMPY}
+
+BB_ACCOUNT= dalcinl
+BB_PROJECT= ${PORTNAME}
+BB_COMMIT= 9890376115e3
+
+WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
+
+USES= fortran python
+USE_PYTHON= distutils autoplist
+
+LDFLAGS+= -shared # https://bitbucket.org/dalcinl/igakit/issues/3
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/igakit/igalib.so
+
+.include <bsd.port.mk>
diff --git a/math/py-igakit/distinfo b/math/py-igakit/distinfo
new file mode 100644
index 000000000000..93441c939a1e
--- /dev/null
+++ b/math/py-igakit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526894416
+SHA256 (igakit-g20180107.tar.gz) = 926fcd31688e9b42ff0ca556c8b4e08c86a164636a229974bcf00e0fb1530a43
+SIZE (igakit-g20180107.tar.gz) = 55685
diff --git a/math/py-igakit/pkg-descr b/math/py-igakit/pkg-descr
new file mode 100644
index 000000000000..8d7d7e99c90d
--- /dev/null
+++ b/math/py-igakit/pkg-descr
@@ -0,0 +1,5 @@
+An interface into many low-level routines which are needed to manipulate knot
+vectors or control point grids as well as a high level interface to simplify
+the creation of NURBS geometries by hand.
+
+WWW: https://bitbucket.org/dalcinl/igakit