aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-06-16 06:28:20 +0800
committeryuri <yuri@FreeBSD.org>2018-06-16 06:28:20 +0800
commitcb7fb1116b642adfb383ca4a3bf50177dec50db8 (patch)
treec297d2fa590a74e5c7f9dd8352763377b6efa1f6 /science
parent2511420c643ff0ad9e940dac0d1f8d7ebe1bb10d (diff)
downloadfreebsd-ports-gnome-cb7fb1116b642adfb383ca4a3bf50177dec50db8.tar.gz
freebsd-ports-gnome-cb7fb1116b642adfb383ca4a3bf50177dec50db8.tar.zst
freebsd-ports-gnome-cb7fb1116b642adfb383ca4a3bf50177dec50db8.zip
New port: science/py-spglib: Library for finding and handling crystal symmetries
Diffstat (limited to 'science')
-rw-r--r--science/Makefile1
-rw-r--r--science/py-spglib/Makefile20
-rw-r--r--science/py-spglib/distinfo3
-rw-r--r--science/py-spglib/pkg-descr6
4 files changed, 30 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 000b3baa66c6..c71f260530fa 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -194,6 +194,7 @@
SUBDIR += py-scimath
SUBDIR += py-scipy
SUBDIR += py-scoria
+ SUBDIR += py-spglib
SUBDIR += py-tensorflow
SUBDIR += py-veusz
SUBDIR += py-ws2300
diff --git a/science/py-spglib/Makefile b/science/py-spglib/Makefile
new file mode 100644
index 000000000000..ffaba0fd6e3b
--- /dev/null
+++ b/science/py-spglib/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= spglib
+DISTVERSION= 1.10.3.65
+CATEGORIES= science python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Library for finding and handling crystal symmetries
+
+LICENSE= BSD3CLAUSE
+
+BUILD_DEPENDS= ${PYNUMPY}
+RUN_DEPENDS= ${PYNUMPY}
+
+USES= python shebangfix
+USE_PYTHON= distutils autoplist
+
+.include <bsd.port.mk>
diff --git a/science/py-spglib/distinfo b/science/py-spglib/distinfo
new file mode 100644
index 000000000000..30eb7d1b8e2c
--- /dev/null
+++ b/science/py-spglib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529085223
+SHA256 (spglib-1.10.3.65.tar.gz) = 55b49227835396b2bcd6afe724e9f37202ad0f61e273bedebd5bf740bad2e8e3
+SIZE (spglib-1.10.3.65.tar.gz) = 671154
diff --git a/science/py-spglib/pkg-descr b/science/py-spglib/pkg-descr
new file mode 100644
index 000000000000..e9a9f682258b
--- /dev/null
+++ b/science/py-spglib/pkg-descr
@@ -0,0 +1,6 @@
+Python library for finding and handling crystal symmetries.
+
+Spglib for python wraps the same C code that exists
+in the port science/spglib.
+
+WWW: http://atztogo.github.io/spglib/