git: ea670c95b673 - main - devel/py-pytest-regressions: Add DATAFRAME, IMAGE and NUM options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 23:56:39 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ea670c95b67331db44cd6bf3242584fa1142ad95
commit ea670c95b67331db44cd6bf3242584fa1142ad95
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 23:53:16 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 23:53:35 +0000
devel/py-pytest-regressions: Add DATAFRAME, IMAGE and NUM options
---
devel/py-pytest-regressions/Makefile | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/devel/py-pytest-regressions/Makefile b/devel/py-pytest-regressions/Makefile
index db2c9394a896..6c865f521291 100644
--- a/devel/py-pytest-regressions/Makefile
+++ b/devel/py-pytest-regressions/Makefile
@@ -25,4 +25,16 @@ USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
+OPTIONS_DEFINE= DATAFRAME IMAGE NUM
+DATAFRAME_DESC= Pandas dataframe regression
+IMAGE_DESC= Image objects regression
+NUM_DESC= Numeric data regression
+
+DATAFRAME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR}
+IMAGE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR}
+NUM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR}
+
.include <bsd.port.mk>