mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
archivers/py-py7zr: add new port
Pure python 7-zip library. PR: 282838
This commit is contained in:
parent
2c3a0c3e1a
commit
24298a939e
@ -204,6 +204,7 @@
|
||||
SUBDIR += py-lzstring
|
||||
SUBDIR += py-multivolumefile
|
||||
SUBDIR += py-patool
|
||||
SUBDIR += py-py7zr
|
||||
SUBDIR += py-pybcj
|
||||
SUBDIR += py-pyminizip
|
||||
SUBDIR += py-pyppmd
|
||||
|
44
archivers/py-py7zr/Makefile
Normal file
44
archivers/py-py7zr/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
PORTNAME= py7zr
|
||||
PORTVERSION= 0.22.0
|
||||
CATEGORIES= archivers python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= matthew@wener.org
|
||||
COMMENT= Pure python 7-zip library
|
||||
WWW= https://py7zr.readthedocs.io/
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/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}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}brotlicffi>=0:archivers/py-brotlicffi@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}inflate64>=0:archivers/py-inflate64@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}multivolumefile>=0:archivers/py-multivolumefile@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pybcj>=0:archivers/py-pybcj@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pycryptodomex>=0:security/py-pycryptodomex@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyppmd>=0:archivers/py-pyppmd@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyzstd>=0:archivers/py-pyzstd@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}texttable>=0:textproc/py-texttable@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py-cpuinfo>=0:sysutils/py-py-cpuinfo@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=0:devel/py-pytest-benchmark@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-remotedata>=0:devel/py-pytest-remotedata@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist pep517 pytest
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} \
|
||||
PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v
|
||||
|
||||
.include <bsd.port.mk>
|
3
archivers/py-py7zr/distinfo
Normal file
3
archivers/py-py7zr/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1724809518
|
||||
SHA256 (py7zr-0.22.0.tar.gz) = c6c7aea5913535184003b73938490f9a4d8418598e533f9ca991d3b8e45a139e
|
||||
SIZE (py7zr-0.22.0.tar.gz) = 4992926
|
3
archivers/py-py7zr/pkg-descr
Normal file
3
archivers/py-py7zr/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
py7zr is a library and utility to support 7zip archive
|
||||
compression, decompression, encryption and decryption
|
||||
written by Python programming language.
|
Loading…
Reference in New Issue
Block a user