forked from Lainports/freebsd-ports
archivers/py-pybcj: add new port
BCJ filter library PR: 282836
This commit is contained in:
parent
14b478d238
commit
009bb63906
4 changed files with 38 additions and 0 deletions
|
|
@ -202,6 +202,7 @@
|
||||||
SUBDIR += py-lzma
|
SUBDIR += py-lzma
|
||||||
SUBDIR += py-lzstring
|
SUBDIR += py-lzstring
|
||||||
SUBDIR += py-patool
|
SUBDIR += py-patool
|
||||||
|
SUBDIR += py-pybcj
|
||||||
SUBDIR += py-pyminizip
|
SUBDIR += py-pyminizip
|
||||||
SUBDIR += py-pyppmd
|
SUBDIR += py-pyppmd
|
||||||
SUBDIR += py-python-lhafile
|
SUBDIR += py-python-lhafile
|
||||||
|
|
|
||||||
29
archivers/py-pybcj/Makefile
Normal file
29
archivers/py-pybcj/Makefile
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
PORTNAME= pybcj
|
||||||
|
PORTVERSION= 1.0.2
|
||||||
|
CATEGORIES= archivers python
|
||||||
|
MASTER_SITES= PYPI
|
||||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
|
MAINTAINER= matthew@wener.org
|
||||||
|
COMMENT= BCJ filter library
|
||||||
|
WWW= https://codeberg.org/miurahr/pybcj
|
||||||
|
|
||||||
|
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}
|
||||||
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${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-pybcj/distinfo
Normal file
3
archivers/py-pybcj/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1724809518
|
||||||
|
SHA256 (pybcj-1.0.2.tar.gz) = c7f5bef7f47723c53420e377bc64d2553843bee8bcac5f0ad076ab1524780018
|
||||||
|
SIZE (pybcj-1.0.2.tar.gz) = 2111002
|
||||||
5
archivers/py-pybcj/pkg-descr
Normal file
5
archivers/py-pybcj/pkg-descr
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
In data compression, BCJ, short for Branch-Call-Jump, refers
|
||||||
|
to a technique that improves the compression of machine code of
|
||||||
|
executable binaries by replacing relative branch addresses with
|
||||||
|
absolute ones. This allows a LZMA compressor to identify duplicate
|
||||||
|
targets and archive higher compression rate.
|
||||||
Loading…
Add table
Reference in a new issue