forked from Lainports/freebsd-ports
archivers/py-pyppmd: add new port
PPMd compression and decompression library. PR: 282837
This commit is contained in:
parent
f99fa9aaa5
commit
113d03a2ff
4 changed files with 40 additions and 0 deletions
|
|
@ -203,6 +203,7 @@
|
||||||
SUBDIR += py-lzstring
|
SUBDIR += py-lzstring
|
||||||
SUBDIR += py-patool
|
SUBDIR += py-patool
|
||||||
SUBDIR += py-pyminizip
|
SUBDIR += py-pyminizip
|
||||||
|
SUBDIR += py-pyppmd
|
||||||
SUBDIR += py-python-lhafile
|
SUBDIR += py-python-lhafile
|
||||||
SUBDIR += py-python-lzo
|
SUBDIR += py-python-lzo
|
||||||
SUBDIR += py-python-rpm-packaging
|
SUBDIR += py-python-rpm-packaging
|
||||||
|
|
|
||||||
31
archivers/py-pyppmd/Makefile
Normal file
31
archivers/py-pyppmd/Makefile
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
PORTNAME= pyppmd
|
||||||
|
PORTVERSION= 1.1.0
|
||||||
|
CATEGORIES= archivers python
|
||||||
|
MASTER_SITES= PYPI
|
||||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
|
MAINTAINER= matthew@wener.org
|
||||||
|
COMMENT= PPMd compression/decompression library
|
||||||
|
WWW= https://pyppmd.readthedocs.io/en/latest/
|
||||||
|
|
||||||
|
LICENSE= LGPL21
|
||||||
|
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}
|
||||||
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${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-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR}
|
||||||
|
|
||||||
|
USES= python
|
||||||
|
USE_PYTHON= autoplist pep517 pytest
|
||||||
|
|
||||||
|
TEST_ENV= ${MAKE_ENV} \
|
||||||
|
PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||||
|
|
||||||
|
do-test:
|
||||||
|
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
||||||
3
archivers/py-pyppmd/distinfo
Normal file
3
archivers/py-pyppmd/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1724809518
|
||||||
|
SHA256 (pyppmd-1.1.0.tar.gz) = 1d38ce2e4b7eb84b53bc8a52380b94f66ba6c39328b8800b30c2b5bf31693973
|
||||||
|
SIZE (pyppmd-1.1.0.tar.gz) = 1348949
|
||||||
5
archivers/py-pyppmd/pkg-descr
Normal file
5
archivers/py-pyppmd/pkg-descr
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
pyppmd module provides classes and functions for compressing
|
||||||
|
and decompressing text data, using PPM (Prediction by partial
|
||||||
|
matching) compression algorithm which has several variations
|
||||||
|
of implementations. PPMd is the implementation by Dmitry
|
||||||
|
Shkarin. PyPPMD use Igor Pavlov's range coder introduced in 7-zip.
|
||||||
Loading…
Add table
Reference in a new issue