git: 2225f873e538 - main - devel/py-pycnite: Add py-pycnite 2023.10.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Nov 2023 19:47:43 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2225f873e5382d44afc7b0cf398a621bf8585010
commit 2225f873e5382d44afc7b0cf398a621bf8585010
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 19:47:34 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 19:47:34 +0000
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.
---
devel/Makefile | 1 +
devel/py-pycnite/Makefile | 22 ++++++++++++++++++++++
devel/py-pycnite/distinfo | 3 +++
devel/py-pycnite/pkg-descr | 4 ++++
4 files changed, 30 insertions(+)
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.