aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-07 17:46:58 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-07 18:10:52 +0000
commit5d805bddeaf471555cab2cba50da157975f1e05d (patch)
tree9d1c1424641961e90d494464c2d7fe0f05b31b3f
parent9f2a4e0fc9613b53ed48f9e254add382688ed9b1 (diff)
science/py-asdf-standard: Add py-asdf-standard 1.0.1
ASDF standard This document describes the Advanced Scientific Data Format (ASDF), pronounced AZ-diff. WWW: https://github.com/asdf-format/asdf-standard
-rw-r--r--science/Makefile1
-rw-r--r--science/py-asdf-standard/Makefile29
-rw-r--r--science/py-asdf-standard/distinfo3
-rw-r--r--science/py-asdf-standard/pkg-descr6
4 files changed, 39 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index ca86bf1d234c..1fda6bc5fc13 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -250,6 +250,7 @@
SUBDIR += py-abipy
SUBDIR += py-access
SUBDIR += py-asdf
+ SUBDIR += py-asdf-standard
SUBDIR += py-ase
SUBDIR += py-avogadrolibs
SUBDIR += py-cdo
diff --git a/science/py-asdf-standard/Makefile b/science/py-asdf-standard/Makefile
new file mode 100644
index 000000000000..50a74c246748
--- /dev/null
+++ b/science/py-asdf-standard/Makefile
@@ -0,0 +1,29 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= asdf-standard
+PORTVERSION= 1.0.1
+CATEGORIES= science python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= asdf_standard-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= ASDF Standard schemas
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+#BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=3:devel/py-importlib-resources@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/science/py-asdf-standard/distinfo b/science/py-asdf-standard/distinfo
new file mode 100644
index 000000000000..fb66d681aa22
--- /dev/null
+++ b/science/py-asdf-standard/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1646057858
+SHA256 (asdf_standard-1.0.1.tar.gz) = 1caf0671e126f4aec3113ade1b5063858369a769255cfbbbbcd2d67dacc5b592
+SIZE (asdf_standard-1.0.1.tar.gz) = 109999
diff --git a/science/py-asdf-standard/pkg-descr b/science/py-asdf-standard/pkg-descr
new file mode 100644
index 000000000000..28f5c56922a6
--- /dev/null
+++ b/science/py-asdf-standard/pkg-descr
@@ -0,0 +1,6 @@
+ASDF standard
+
+This document describes the Advanced Scientific Data Format (ASDF), pronounced
+AZ-diff.
+
+WWW: https://github.com/asdf-format/asdf-standard