git: 47570d5b3c9b - main - devel/py-breathe: add NO_ARCH, misc' cleanups

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Wed, 20 Oct 2021 18:28:10 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=47570d5b3c9b646a2b17ef9b4a28e52e21e4c48c

commit 47570d5b3c9b646a2b17ef9b4a28e52e21e4c48c
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2021-10-20 18:22:11 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2021-10-20 18:27:57 +0000

    devel/py-breathe: add NO_ARCH, misc' cleanups
    
    - add NO_ARCH, no binary parts inside
    - make portlint clean
      - recode pkg-descr to pure 7-bit ASCII
      - revise COMMENT
    - rearrange and reformat Makefile with portclippy/portfmt
    - consequentially, bump PORTREVISION
---
 devel/py-breathe/Makefile  | 30 ++++++++++++++++--------------
 devel/py-breathe/pkg-descr |  2 +-
 2 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/devel/py-breathe/Makefile b/devel/py-breathe/Makefile
index f0dbbbb8d6b8..a49926af050a 100644
--- a/devel/py-breathe/Makefile
+++ b/devel/py-breathe/Makefile
@@ -1,28 +1,30 @@
 PORTNAME=	breathe
 PORTVERSION=	4.31.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	mandree@FreeBSD.org
-COMMENT=	an extension to reStructuredText and Sphinx to render Doxygen xml output
+COMMENT=	Extension to reStructuredText and Sphinx to render Doxygen xml output
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=		${RUN_DEPENDS}
-RUN_DEPENDS=		doxygen:devel/doxygen \
-			${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
-PDFDOCS_BUILD_DEPENDS=	pdflatex:print/tex-formats
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \
+		doxygen:devel/doxygen
 
 USES=		gmake python:3.6+
 USE_GITHUB=	yes
-USE_PYTHON=	distutils
 GH_TUPLE=	michaeljones:breathe:v${PORTVERSION}
+USE_PYTHON=	distutils
+NO_ARCH=	yes
 
-OPTIONS_DEFINE=	DOCS EXAMPLES PDFDOCS
-OPTIONS_SUB=	yes
-PDFDOCS_DESC=	Build PDF documentation (implies DOCS)
-PDFDOCS_IMPLIES=DOCS
+OPTIONS_DEFINE=		DOCS EXAMPLES PDFDOCS
+OPTIONS_SUB=		yes
+PDFDOCS_DESC=		Build PDF documentation (implies DOCS)
+PDFDOCS_IMPLIES=	DOCS
+PDFDOCS_BUILD_DEPENDS=	pdflatex:print/tex-formats
 
 post-patch:
 		${REINPLACE_CMD} "s/^git_tag = subprocess.*/git_tag = b'v${PORTVERSION}'/" \
@@ -46,15 +48,15 @@ post-install-DOCS-on:
 			${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR} && \
 			${RM} -r ${STAGEDIR}${DOCSDIR}/html/_sources
 
-post-install-PDFDOCS-on:
-		${MKDIR} ${STAGEDIR}${DOCSDIR}
-		${INSTALL_MAN} ${WRKSRC}/documentation/build/latex/*.pdf ${STAGEDIR}${DOCSDIR}
-
 post-install-EXAMPLES-on:
 		${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 		cd ${WRKSRC}/examples && \
 			${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
 
+post-install-PDFDOCS-on:
+		${MKDIR} ${STAGEDIR}${DOCSDIR}
+		${INSTALL_MAN} ${WRKSRC}/documentation/build/latex/*.pdf ${STAGEDIR}${DOCSDIR}
+
 do-test:
 		cd ${WRKSRC}/tests && \
 			PYTHONPATH=../:${STAGEDIR}${PYTHON_SITELIBDIR} \
diff --git a/devel/py-breathe/pkg-descr b/devel/py-breathe/pkg-descr
index 812d40b2abd5..23b731c9603f 100644
--- a/devel/py-breathe/pkg-descr
+++ b/devel/py-breathe/pkg-descr
@@ -3,6 +3,6 @@ Breathe provides a bridge between the Sphinx and Doxygen documentation systems.
 It is an easy way to include Doxygen information in a set of documentation
 generated by Sphinx. The aim is to produce an autodoc like support for people
 who enjoy using Sphinx but work with languages other than Python. The system
-relies on the Doxygen’s xml output.
+relies on the Doxygen's xml output.
 
 WWW: https://github.com/michaeljones/breathe