aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-04 16:30:58 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-04 17:16:06 +0000
commit9b01d7f0f853addfe10f82849020dbba30e59766 (patch)
treea3f4276ca4cbb39721fd6b79f8a86e9ba997b136
parent57cb2ae155aec80ee9af50a26da5000d36a2d13f (diff)
downloadports-9b01d7f0f853addfe10f82849020dbba30e59766.tar.gz
ports-9b01d7f0f853addfe10f82849020dbba30e59766.zip
science/py-periodictable: New port: Extensible periodic table of the elements pre-populated with data
-rw-r--r--science/Makefile1
-rw-r--r--science/py-periodictable/Makefile22
-rw-r--r--science/py-periodictable/distinfo3
-rw-r--r--science/py-periodictable/pkg-descr2
4 files changed, 28 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 3fc8ac08b67d..0455d6c14621 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -383,6 +383,7 @@
SUBDIR += py-paida
SUBDIR += py-paramz
SUBDIR += py-penaltymodel
+ SUBDIR += py-periodictable
SUBDIR += py-phono3py
SUBDIR += py-phonopy
SUBDIR += py-pupynere
diff --git a/science/py-periodictable/Makefile b/science/py-periodictable/Makefile
new file mode 100644
index 000000000000..457fd07e33e7
--- /dev/null
+++ b/science/py-periodictable/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= periodictable
+DISTVERSION= 1.7.0
+CATEGORIES= science python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Extensible periodic table of the elements pre-populated with data
+WWW= https://periodictable.readthedocs.io/en/latest/
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/science/py-periodictable/distinfo b/science/py-periodictable/distinfo
new file mode 100644
index 000000000000..24a297f2245b
--- /dev/null
+++ b/science/py-periodictable/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1714797378
+SHA256 (periodictable-1.7.0.tar.gz) = 420e57c2b19d6a521b1c0b5e387da590a31a8456e4cc1c00bca5ce2dc5f05ea9
+SIZE (periodictable-1.7.0.tar.gz) = 1003080
diff --git a/science/py-periodictable/pkg-descr b/science/py-periodictable/pkg-descr
new file mode 100644
index 000000000000..14e907d997b4
--- /dev/null
+++ b/science/py-periodictable/pkg-descr
@@ -0,0 +1,2 @@
+The periodictable package provides a periodic table of the elements with support
+for mass, density and xray/neutron scattering information.