aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-14 19:47:34 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-11-14 19:47:34 +0000
commit2225f873e5382d44afc7b0cf398a621bf8585010 (patch)
tree11056b7e03d9b889de78bc96211d49401345a262
parent730aeb9939b1a7efe6cfcae75398ad774c865477 (diff)
devel/py-pycnite: Add py-pycnite 2023.10.11
pycnite is a collection of utilities for working with compiled Python bytecode. This library adds pure Python, versioned parsers for the .pyc format, allowing tools that work with bytecode to have different host and target Python versions.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pycnite/Makefile22
-rw-r--r--devel/py-pycnite/distinfo3
-rw-r--r--devel/py-pycnite/pkg-descr4
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6c2baf224353..dfd997d70d71 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5243,6 +5243,7 @@
SUBDIR += py-pycapsicum
SUBDIR += py-pycerberus
SUBDIR += py-pycmd
+ SUBDIR += py-pycnite
SUBDIR += py-pycocotools
SUBDIR += py-pycodeexport
SUBDIR += py-pycodestyle
diff --git a/devel/py-pycnite/Makefile b/devel/py-pycnite/Makefile
new file mode 100644
index 000000000000..ed3c2c3f8c3e
--- /dev/null
+++ b/devel/py-pycnite/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= pycnite
+PORTVERSION= 2023.10.11
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python bytecode utilities
+WWW= https://github.com/google/pycnite
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pycnite/distinfo b/devel/py-pycnite/distinfo
new file mode 100644
index 000000000000..607af2e2e748
--- /dev/null
+++ b/devel/py-pycnite/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1699774456
+SHA256 (pycnite-2023.10.11.tar.gz) = ad8616982beecc39f2090999aa8fe0b044b1f6733ec39484cb5e0900b3c88aa1
+SIZE (pycnite-2023.10.11.tar.gz) = 21717
diff --git a/devel/py-pycnite/pkg-descr b/devel/py-pycnite/pkg-descr
new file mode 100644
index 000000000000..9e61eb887558
--- /dev/null
+++ b/devel/py-pycnite/pkg-descr
@@ -0,0 +1,4 @@
+pycnite is a collection of utilities for working with compiled Python bytecode.
+
+This library adds pure Python, versioned parsers for the .pyc format, allowing
+tools that work with bytecode to have different host and target Python versions.