Date: Sat, 29 Apr 2023 23:44:55 GMT From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bacdef05a8dd - main - archivers/py-pyunpack: New port: unpack archive files in Python Message-ID: <202304292344.33TNithc061639@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=bacdef05a8dd44886cc915cccdd02a01be8938f1 commit bacdef05a8dd44886cc915cccdd02a01be8938f1 Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> AuthorDate: 2023-04-29 23:42:10 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2023-04-29 23:44:43 +0000 archivers/py-pyunpack: New port: unpack archive files in Python unpack archive files in Python Features: - unpack archive files - support passwords - very simple interface - command line interface and library back-ends: - zipfile: included in Python - patool: It relies on helper applications to handle those archive formats (for example bzip2 for BZIP2 archives). Supported formats: 7z (.7z), ACE (.ace), ALZIP (.alz), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), compress (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), GZIP (.gz), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar), RZIP (.rz), TAR (.tar), XZ (.xz), ZIP (.zip, .jar) and ZOO (.zoo) --- archivers/Makefile | 1 + archivers/py-pyunpack/Makefile | 21 +++++++++++++++++++++ archivers/py-pyunpack/distinfo | 3 +++ archivers/py-pyunpack/pkg-descr | 18 ++++++++++++++++++ 4 files changed, 43 insertions(+) diff --git a/archivers/Makefile b/archivers/Makefile index ef2e719950ba..37852e243017 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -196,6 +196,7 @@ SUBDIR += py-python-lzo SUBDIR += py-python-rpm-packaging SUBDIR += py-python-snappy + SUBDIR += py-pyunpack SUBDIR += py-rarfile SUBDIR += py-rcssmin SUBDIR += py-rjsmin diff --git a/archivers/py-pyunpack/Makefile b/archivers/py-pyunpack/Makefile new file mode 100644 index 000000000000..c1f2aff69194 --- /dev/null +++ b/archivers/py-pyunpack/Makefile @@ -0,0 +1,21 @@ +PORTNAME= pyunpack +PORTVERSION= 0.3 +CATEGORIES= archivers python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= acm@FreeBSD.org +COMMENT= unpack archive files in Python +WWW= https://github.com/ponty/pyunpack + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}entrypoint2>0:devel/py-entrypoint2@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/archivers/py-pyunpack/distinfo b/archivers/py-pyunpack/distinfo new file mode 100644 index 000000000000..5ab778d2e7a4 --- /dev/null +++ b/archivers/py-pyunpack/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680277713 +SHA256 (pyunpack-0.3.tar.gz) = b9192665c3aa28eaeb2b01198a2f2f985d9a3ecce55f266a657b31cd337d3f12 +SIZE (pyunpack-0.3.tar.gz) = 6420 diff --git a/archivers/py-pyunpack/pkg-descr b/archivers/py-pyunpack/pkg-descr new file mode 100644 index 000000000000..cceeb96bca0f --- /dev/null +++ b/archivers/py-pyunpack/pkg-descr @@ -0,0 +1,18 @@ +unpack archive files in Python + +Features: + +- unpack archive files +- support passwords +- very simple interface +- command line interface and library + +back-ends: + +- zipfile: included in Python +- patool: It relies on helper applications to handle those archive formats (for + example bzip2 for BZIP2 archives). Supported formats: 7z (.7z), ACE (.ace), + ALZIP (.alz), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), + compress (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), GZIP (.gz), LRZIP (.lrz), + LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), + RAR (.rar), RZIP (.rz), TAR (.tar), XZ (.xz), ZIP (.zip, .jar) and ZOO (.zoo)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304292344.33TNithc061639>