git: 5383d075cbfd - main - archivers/py-sozipfile: Add py-sozipfile 0.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Apr 2023 17:33:13 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5383d075cbfda5e0f3fa22b3ee76d0883c88dfce commit 5383d075cbfda5e0f3fa22b3ee76d0883c88dfce Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-05 17:07:21 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-05 17:29:38 +0000 archivers/py-sozipfile: Add py-sozipfile 0.2.0 sozipfile is a fork of Python zipfile module, from its implementation in CPython 3.11, which implements the SOZip optimization, when writing deflate compressed files whose size exceeds the chunk size (defaults to 32768 bytes). --- archivers/Makefile | 1 + archivers/py-sozipfile/Makefile | 22 ++++++++++++++++++++++ archivers/py-sozipfile/distinfo | 3 +++ archivers/py-sozipfile/pkg-descr | 3 +++ 4 files changed, 29 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index f4cfd4434faa..ae92d67f934b 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -196,6 +196,7 @@ SUBDIR += py-rarfile SUBDIR += py-rcssmin SUBDIR += py-rjsmin + SUBDIR += py-sozipfile SUBDIR += py-warctools SUBDIR += py-xopen SUBDIR += py-zopfli diff --git a/archivers/py-sozipfile/Makefile b/archivers/py-sozipfile/Makefile new file mode 100644 index 000000000000..a60e427d90b9 --- /dev/null +++ b/archivers/py-sozipfile/Makefile @@ -0,0 +1,22 @@ +PORTNAME= sozipfile +PORTVERSION= 0.2.0 +CATEGORIES= archivers python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Fork of Python zipfile module, adding generation of sozip optimization +WWW= https://github.com/sozip/sozipfile + +LICENSE= PSFL +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:3.8+ +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/archivers/py-sozipfile/distinfo b/archivers/py-sozipfile/distinfo new file mode 100644 index 000000000000..b6e375b7340e --- /dev/null +++ b/archivers/py-sozipfile/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1679498486 +SHA256 (sozipfile-0.2.0.tar.gz) = efa65a1a2872c03858a0df8a6694b1862803f99e09c4a4fe7f9284b2f6685623 +SIZE (sozipfile-0.2.0.tar.gz) = 30765 diff --git a/archivers/py-sozipfile/pkg-descr b/archivers/py-sozipfile/pkg-descr new file mode 100644 index 000000000000..edbc8c8fb15f --- /dev/null +++ b/archivers/py-sozipfile/pkg-descr @@ -0,0 +1,3 @@ +sozipfile is a fork of Python zipfile module, from its implementation in CPython +3.11, which implements the SOZip optimization, when writing deflate compressed +files whose size exceeds the chunk size (defaults to 32768 bytes).