f836820133
Python REST client for Apache Tika server
30 lines
875 B
Makefile
30 lines
875 B
Makefile
PORTNAME= tika-client
|
|
PORTVERSION= 0.5.0
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
|
|
|
|
MAINTAINER= grembo@FreeBSD.org
|
|
COMMENT= Python REST client for Apache Tika server
|
|
WWW= https://github.com/stumpylog/tika-client
|
|
|
|
LICENSE= MPL20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0.26:www/py-httpx@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest-httpx>=0:devel/py-pytest-httpx@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist pep517
|
|
|
|
TEST_ENV= PYTHONPATH=${WRKSRC}/src
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
|
|
|
|
.include <bsd.port.mk>
|