git: 9c5742ce6aed - main - textproc/py-agate: fix build; switch to pep517

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Sun, 18 Jan 2026 11:32:36 UTC
The branch main has been updated by matthew:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c5742ce6aed0ba2607d5b959ccaa95f8f15d2b2

commit 9c5742ce6aed0ba2607d5b959ccaa95f8f15d2b2
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2026-01-18 11:30:09 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2026-01-18 11:32:25 +0000

    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
---
 textproc/py-agate/Makefile | 13 +++++++++++--
 1 file 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