Skip to content

Commit

Permalink
devel/py-archspec: New port: Library to query system architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jun 20, 2023
1 parent 4dee2fc commit 6eede89
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -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
Expand Down
23 changes: 23 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
7 changes: 7 additions & 0 deletions 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.

0 comments on commit 6eede89

Please sign in to comment.