git: 5d805bddeaf4 - main - science/py-asdf-standard: Add py-asdf-standard 1.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 07 Mar 2022 18:16:03 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d805bddeaf471555cab2cba50da157975f1e05d

commit 5d805bddeaf471555cab2cba50da157975f1e05d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 17:46:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:10:52 +0000

    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
---
 science/Makefile                   |  1 +
 science/py-asdf-standard/Makefile  | 29 +++++++++++++++++++++++++++++
 science/py-asdf-standard/distinfo  |  3 +++
 science/py-asdf-standard/pkg-descr |  6 ++++++
 4 files changed, 39 insertions(+)

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