77d68471ad
PR: 267994 Differential revision: D37518 Approved by: bapt
27 lines
675 B
Makefile
27 lines
675 B
Makefile
PORTNAME= libarchive-c
|
|
PORTVERSION= 4.0
|
|
CATEGORIES= archivers python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Python interface to libarchive
|
|
WWW= https://github.com/Changaco/python-libarchive-c
|
|
|
|
LICENSE= LGPL20+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
|
|
|
|
USES= python:3.7+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && TZ=UTC LC_ALL=en_US.UTF-8 ${PYTHON_CMD} -m pytest -vv
|
|
|
|
.include <bsd.port.mk>
|