aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-06-20 06:02:26 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-06-20 06:31:20 +0000
commit6eede898b9367403fa70f3891972680eee8d3f34 (patch)
treed7fb46d136f62d616cd737aedd7b8e62a645d4f6
parent4dee2fc4ba324f4181d456c4077ea15eb3354cd4 (diff)
devel/py-archspec: New port: Library to query system architecture
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-archspec/Makefile23
-rw-r--r--devel/py-archspec/distinfo3
-rw-r--r--devel/py-archspec/pkg-descr7
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a589983ef041..61cf65eb9f0f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4219,6 +4219,7 @@
SUBDIR += py-apptools
SUBDIR += py-apscheduler
SUBDIR += py-archinfo
+ SUBDIR += py-archspec
SUBDIR += py-argcomplete
SUBDIR += py-argh
SUBDIR += py-argparse
diff --git a/devel/py-archspec/Makefile b/devel/py-archspec/Makefile
new file mode 100644
index 000000000000..b265c2109252
--- /dev/null
+++ b/devel/py-archspec/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= archspec
+DISTVERSION= 0.2.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Library to query system architecture
+WWW= https://github.com/archspec/archspec
+
+LICENSE= APACHE20 MIT
+LICENSE_COMB= dual
+LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
+LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry>0:devel/py-poetry@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= pep517 autoplist pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-archspec/distinfo b/devel/py-archspec/distinfo
new file mode 100644
index 000000000000..b2b33c8606f9
--- /dev/null
+++ b/devel/py-archspec/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1687240757
+SHA256 (archspec-0.2.1.tar.gz) = 0974a8a95831d2d43cce906c5b79a35d5fd2bf9be478b0e3b7d83ccc51ac815e
+SIZE (archspec-0.2.1.tar.gz) = 37082
diff --git a/devel/py-archspec/pkg-descr b/devel/py-archspec/pkg-descr
new file mode 100644
index 000000000000..cbc85a1d5d11
--- /dev/null
+++ b/devel/py-archspec/pkg-descr
@@ -0,0 +1,7 @@
+Archspec aims at providing a standard set of human-understandable labels for
+various aspects of a system architecture like CPU, network fabrics, etc.
+and APIs to detect, query and compare them.
+
+This project grew out of Spack and is currently under active development. At
+present it supports APIs to detect and model compatibility relationships among
+different CPU microarchitectures.