freebsd-ports/textproc/py-agate-excel/Makefile
Matthew Seaman 7755c8efeb textproc/py-agate-excel: fix incorrect dependency, add testing
The python module should have had a run-time dependency on py-olefile
for something like 3 years.  Only noticed when setting up testing on
py-csvkit.

While here, add testing too.
2024-05-06 14:35:00 +01:00

26 lines
745 B
Makefile

PORTNAME= agate-excel
PORTVERSION= 0.4.1
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= matthew@FreeBSD.org
COMMENT= Support reading Excel files for agate
WWW= https://agate-excel.rtfd.org/
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}agate>=1.5.0:textproc/py-agate@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}olefile>=0:devel/py-olefile@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xlrd>=0.9.4:textproc/py-xlrd@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}openpyxl>=2.3.0:textproc/py-openpyxl@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>