freebsd-ports/archivers/py-zstd/Makefile
Yuri Victorovich f432a2f35c archivers/py-zstd: Update 1.5.2.5 -> 1.5.2.6
Reported by:	portscout
2022-09-17 23:11:34 -07:00

27 lines
668 B
Makefile

PORTNAME= zstd
DISTVERSION= 1.5.2.6
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python binding for Zstandard compression library
WWW= https://github.com/sergey-dryabzhinsky/python-zstd
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libzstd.so:archivers/zstd
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+ localbase
USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= --external
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/zstd*.so
do-test: install
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
.include <bsd.port.mk>