Added
Link Here
|
1 |
PORTNAME= pyzstd |
2 |
PORTVERSION= 0.16.2 |
3 |
CATEGORIES= archivers python |
4 |
MASTER_SITES= PYPI |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
|
7 |
MAINTAINER= matthew@wener.org |
8 |
COMMENT= Python bindings to Zstandard (zstd) compression library |
9 |
WWW= https://github.com/Rogdham/pyzstd |
10 |
|
11 |
LICENSE= BSD3CLAUSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
14 |
BUILD_DEPENDS= ${PY_SETUPTOOLS} \ |
15 |
${PYTHON_PKGNAMEPREFIX}wheel>=:devel/py-wheel@${PY_FLAVOR} |
16 |
|
17 |
USES= python |
18 |
USE_PYTHON= autoplist pep517 pytest |
19 |
|
20 |
TEST_ENV= ${MAKE_ENV} \ |
21 |
PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} |
22 |
|
23 |
post-install: |
24 |
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyzstd/c/_zstd.cpython-311.so |
25 |
|
26 |
do-test: |
27 |
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v |
28 |
|
29 |
.include <bsd.port.mk> |