summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2026-01-18 11:30:09 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2026-01-18 11:32:25 +0000
commit9c5742ce6aed0ba2607d5b959ccaa95f8f15d2b2 (patch)
treeda34d828d967c3e1f6a672e9899330ec04c46cee
parent1de65576641082be958d0198d675a6af5f5e55de (diff)
textproc/py-agate: fix build; switch to pep517
Address pkg-fallout reports of build failures. Switch to pep517 build. Add BUILD_DEPENDS accordingly. While here, add pytest and TEST_DEPENDS. Reported by: pkg-fallout
-rw-r--r--textproc/py-agate/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/textproc/py-agate/Makefile b/textproc/py-agate/Makefile
index b87c640d20d5..7536f98d7126 100644
--- a/textproc/py-agate/Makefile
+++ b/textproc/py-agate/Makefile
@@ -10,16 +10,25 @@ WWW= https://agate.rtfd.org/
LICENSE= MIT
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytimeparse>=1.1.5:devel/py-pytimeparse@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Babel>=2.0:devel/py-babel@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}parsedatetime>=2.1:devel/py-parsedatetime@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}parsedatetime>=2.6:devel/py-parsedatetime@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}isodate>=0.5.4:devel/py-isodate@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-slugify>=1.2.1:textproc/py-python-slugify@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}leather>=0.3.2:graphics/py-leather@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyicu>=2.4.2:devel/py-pyicu@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=3.7.1:devel/py-coverage@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}cssselect>=0.9.1:www/py-cssselect@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=3.6.0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyicu>=2.4.2:devel/py-pyicu@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
+
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist pep517 pytest
NO_ARCH= yes