diff --git a/devel/Makefile b/devel/Makefile index 6c2baf224353e..dfd997d70d718 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 0000000000000..ed3c2c3f8c3e6 --- /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 diff --git a/devel/py-pycnite/distinfo b/devel/py-pycnite/distinfo new file mode 100644 index 0000000000000..607af2e2e7481 --- /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 0000000000000..9e61eb887558c --- /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.