git: 05c67b75e6ff - main - databases/py-duckdb: Fix tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 20:14:59 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=05c67b75e6fff13a55d27f4043bba974d397d3d2 commit 05c67b75e6fff13a55d27f4043bba974d397d3d2 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-06-21 19:53:13 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-06-21 20:14:56 +0000 databases/py-duckdb: Fix tests --- databases/py-duckdb/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/databases/py-duckdb/Makefile b/databases/py-duckdb/Makefile index 4ae90e07824d..a4075806eacf 100644 --- a/databases/py-duckdb/Makefile +++ b/databases/py-duckdb/Makefile @@ -14,11 +14,16 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@$ ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-cloud-storage>0:www/py-google-cloud-storage@${PY_FLAVOR} USES= python USE_PYTHON= distutils autoplist pytest # tests fail, see https://github.com/duckdb/duckdb/issues/3924 +TEST_WRKSRC= ${WRKDIR} # tests fail when run from the build directory due to a name collision with duckdb directory +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +# 2 tests are known to fail, see https://github.com/duckdb/duckdb/issues/3930 + post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/duckdb.cpython-${PYTHON_SUFFIX}.so