archivers/py-extractcode: New port

A mostly universal archive extractor using 7zip, libarchive and
the Python standard library for reliable archive extraction.

WWW: https://github.com/aboutcode-org/extractcode
PR:		287496
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Tuukka Pasanen 2025-05-12 17:59:11 +03:00 committed by Muhammad Moinur Rahman
parent 57204d328c
commit 7175c53e1d
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91
4 changed files with 37 additions and 0 deletions

View File

@ -199,6 +199,7 @@
SUBDIR += py-comicapi
SUBDIR += py-compressed-rtf
SUBDIR += py-cramjam
SUBDIR += py-extractcode
SUBDIR += py-inflate64
SUBDIR += py-laszip
SUBDIR += py-libarchive-c

View File

@ -0,0 +1,30 @@
PORTNAME= extractcode
DISTVERSION= 31.0.0
CATEGORIES= archivers python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= tuukka.pasanen@ilmi.fi
COMMENT= Universal file extraction library and CLI tool to extract almost any archive
WWW= https://github.com/aboutcode-org/extractcode
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/apache-2.0.LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
libarchive>13:archivers/libarchive
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>18:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}commoncode>=30.2.0:devel/py-commoncode@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}plugincode>=21.1.21:devel/py-plugincode@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typecode>=21.1.21:devel/py-typecode@${PY_FLAVOR} \
libarchive>13:archivers/libarchive
USES= python
USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1747040872
SHA256 (extractcode-31.0.0.tar.gz) = 80819392e9bcf8129f74d8904fe8a98c0dfed2782356842737282c0283113d88
SIZE (extractcode-31.0.0.tar.gz) = 11305241

View File

@ -0,0 +1,3 @@
A python library to parse Debian deb822-style control and copyright files and
all related Debian, Ubuntu and Debian-derivative manifest and metadata files,
an alternative approach to python-debian.