git: d009675bbc4a - main - devel/py-standard-chunk: Add py-standard-chunk 3.13.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 29 Sep 2026 19:27:24 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d009675bbc4a62ad8700d75f1c8b64a9f020f7a9
commit d009675bbc4a62ad8700d75f1c8b64a9f020f7a9
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:54:58 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:17:27 +0000
devel/py-standard-chunk: Add py-standard-chunk 3.13.0
The chunk module from the Python standard library, redistributed as a standalone
package.
It provides support for reading and writing IFF-style chunked data and was
removed from the Python standard library as part of PEP 594.
---
devel/Makefile | 1 +
devel/py-standard-chunk/Makefile | 24 ++++++++++++++++++++++
devel/py-standard-chunk/distinfo | 3 +++
devel/py-standard-chunk/files/patch-pyproject.toml | 9 ++++++++
devel/py-standard-chunk/pkg-descr | 5 +++++
5 files changed, 42 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 0b1844f83f71..9ca42290bb96 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6283,6 +6283,7 @@
SUBDIR += py-sre-yield
SUBDIR += py-srsly
SUBDIR += py-stack-data
+ SUBDIR += py-standard-chunk
SUBDIR += py-standard-imghdr
SUBDIR += py-statgrab
SUBDIR += py-statsd
diff --git a/devel/py-standard-chunk/Makefile b/devel/py-standard-chunk/Makefile
new file mode 100644
index 000000000000..f1cc8a1ae2b4
--- /dev/null
+++ b/devel/py-standard-chunk/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= standard-chunk
+PORTVERSION= 3.13.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= standard_chunk-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Standard library chunk redistribution
+WWW= https://github.com/youknowone/python-deadlib/tree/main/chunk \
+ https://github.com/youknowone/python-deadlib
+
+LICENSE= PSFL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61: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-standard-chunk/distinfo b/devel/py-standard-chunk/distinfo
new file mode 100644
index 000000000000..69b0294edee6
--- /dev/null
+++ b/devel/py-standard-chunk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1790435622
+SHA256 (standard_chunk-3.13.0.tar.gz) = 4ac345d37d7e686d2755e01836b8d98eda0d1a3ee90375e597ae43aaf064d654
+SIZE (standard_chunk-3.13.0.tar.gz) = 4672
diff --git a/devel/py-standard-chunk/files/patch-pyproject.toml b/devel/py-standard-chunk/files/patch-pyproject.toml
new file mode 100644
index 000000000000..af8ec9a9d0a0
--- /dev/null
+++ b/devel/py-standard-chunk/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig 2024-10-30 16:04:50 UTC
++++ pyproject.toml
+@@ -21,5 +21,5 @@ find = {include = ["chunk*"]}
+ "Homepage" = "https://github.com/youknowone/python-deadlib"
+
+ [build-system]
+-requires = ["setuptools>=75.0"]
++requires = ["setuptools>=61"]
+ build-backend = "setuptools.build_meta"
diff --git a/devel/py-standard-chunk/pkg-descr b/devel/py-standard-chunk/pkg-descr
new file mode 100644
index 000000000000..b16ac9be96a1
--- /dev/null
+++ b/devel/py-standard-chunk/pkg-descr
@@ -0,0 +1,5 @@
+The chunk module from the Python standard library, redistributed as a standalone
+package.
+
+It provides support for reading and writing IFF-style chunked data and was
+removed from the Python standard library as part of PEP 594.