git: b6b98810ceb0 - main - textproc/py-enrich: remove non-functional test code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Mar 2023 13:01:02 UTC
The branch main has been updated by matthew:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b6b98810ceb002786f3b3f17f24baa6eabee1331
commit b6b98810ceb002786f3b3f17f24baa6eabee1331
Author: Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2023-03-28 12:42:03 +0000
Commit: Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2023-03-28 12:42:03 +0000
textproc/py-enrich: remove non-functional test code
PyPI tarballs do not contain any of the test code. Attempting to
build against code from GitHub results in:
LookupError: setuptools-scm was unable to detect version for ...
since the GitHub tarballs are missing some other important metadata.
---
textproc/py-enrich/Makefile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/textproc/py-enrich/Makefile b/textproc/py-enrich/Makefile
index 0acbf5a651a9..0ae716e3ec5b 100644
--- a/textproc/py-enrich/Makefile
+++ b/textproc/py-enrich/Makefile
@@ -15,12 +15,8 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.5.0:devel/py-setuptools_
${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.1:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rich>=9.5.1:textproc/py-rich@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=3.0.5:devel/py-mock@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.7.1:devel/py-pytest-cov@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.29.0:devel/py-pytest-xdist@${PY_FLAVOR}
-USES= python:3.6+ pytest
+USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes