git: e33736689d8d - main - devel/py-breathe: update build infrastructure
Date: Sun, 05 Jan 2025 20:07:32 UTC
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e33736689d8dc4bf830277579165896b78cedf15
commit e33736689d8dc4bf830277579165896b78cedf15
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-01-05 19:28:47 +0000
Commit: Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-01-05 20:02:00 +0000
devel/py-breathe: update build infrastructure
..from distutils/setuptools to pep517
..to avoid running git archive on entire ports tree
..to add pytest support
---
devel/py-breathe/Makefile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/devel/py-breathe/Makefile b/devel/py-breathe/Makefile
index eff3b074ab47..2d336a4ccbe0 100644
--- a/devel/py-breathe/Makefile
+++ b/devel/py-breathe/Makefile
@@ -1,6 +1,6 @@
PORTNAME= breathe
PORTVERSION= 4.35.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,8 @@ WWW= https://github.com/michaeljones/breathe
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>=0:textproc/py-furo@${PY_FLAVOR} \
graphviz>=0:graphics/graphviz \
${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \
@@ -21,7 +22,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>=0:textproc/py-furo@${PY_FLAVOR} \
USES= gmake python
USE_GITHUB= yes
GH_TUPLE= michaeljones:breathe:v${PORTVERSION}
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist pep517 pytest
+MAKE_ENV+= GIT_DIR=.
+
NO_ARCH= yes
BINARY_ALIAS= sphinx-build=sphinx-build-${PYTHON_VER}