git: 7755c8efeb77 - main - textproc/py-agate-excel: fix incorrect dependency, add testing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 May 2024 13:35:02 UTC
The branch main has been updated by matthew:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7755c8efeb77bb1fc048702b1180ac896337e692
commit 7755c8efeb77bb1fc048702b1180ac896337e692
Author: Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2024-05-06 13:26:55 +0000
Commit: Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2024-05-06 13:35:00 +0000
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.
---
textproc/py-agate-excel/Makefile | 9 ++++++---
1 file 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