summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2024-05-06 14:26:55 +0100
committerMatthew Seaman <matthew@FreeBSD.org>2024-05-06 14:35:00 +0100
commit7755c8efeb77bb1fc048702b1180ac896337e692 (patch)
tree97cb0da4117423fdc2cebe888c1256dc3d97a51f
parentmultimedia/libva-nvidia-driver: update to 0.0.12 (diff)
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.
-rw-r--r--textproc/py-agate-excel/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/textproc/py-agate-excel/Makefile b/textproc/py-agate-excel/Makefile
index b559d17db323..cb9a63832213 100644
--- a/textproc/py-agate-excel/Makefile
+++ b/textproc/py-agate-excel/Makefile
@@ -1,5 +1,6 @@
PORTNAME= agate-excel
PORTVERSION= 0.4.1
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +12,14 @@ 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} \
- ${PYTHON_PKGNAMEPREFIX}six>=1.6.1:devel/py-six@${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
+USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes