From nobody Mon Nov 01 17:03:50 2021 X-Original-To: dev-commits-ports-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5D24C182F997; Mon, 1 Nov 2021 17:03:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HjfWV2Bc9z4QtT; Mon, 1 Nov 2021 17:03:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2B50E1561B; Mon, 1 Nov 2021 17:03:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A1H3otP024002; Mon, 1 Nov 2021 17:03:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A1H3oUf024001; Mon, 1 Nov 2021 17:03:50 GMT (envelope-from git) Date: Mon, 1 Nov 2021 17:03:50 GMT Message-Id: <202111011703.1A1H3oUf024001@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Matthias Andree Subject: git: 0c52e0e373e8 - 2021Q4 - devel/py-breathe: RST&Sphinx bridge to Doxygen [backport] List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mandree X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q4 X-Git-Reftype: branch X-Git-Commit: 0c52e0e373e804a48d47854902b7fdb61634c12a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2021Q4 has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=0c52e0e373e804a48d47854902b7fdb61634c12a commit 0c52e0e373e804a48d47854902b7fdb61634c12a Author: Matthias Andree AuthorDate: 2021-10-18 15:01:03 +0000 Commit: Matthias Andree CommitDate: 2021-11-01 17:02:52 +0000 devel/py-breathe: RST&Sphinx bridge to Doxygen [backport] This combines three commits to avoid the bulk of larger files. 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. WWW: https://github.com/michaeljones/breathe (cherry picked from commit 7fc9eb511a9de8d22aadc855b2812208e04f7b35) (cherry picked from commit 47570d5b3c9b646a2b17ef9b4a28e52e21e4c48c) (cherry picked from commit 7c2762b3f43341c1f9822c3ee3634f5ddf5a4d8d) --- devel/Makefile | 1 + devel/py-breathe/Makefile | 70 ++++++++++++++++++++++++++++++++++++++++++++++ devel/py-breathe/distinfo | 3 ++ devel/py-breathe/pkg-descr | 8 ++++++ 4 files changed, 82 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 6671bc68ec53..d3ff5d15f4c6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4268,6 +4268,7 @@ SUBDIR += py-boolean.py SUBDIR += py-boto SUBDIR += py-botocore + SUBDIR += py-breathe SUBDIR += py-bsd SUBDIR += py-btest SUBDIR += py-build diff --git a/devel/py-breathe/Makefile b/devel/py-breathe/Makefile new file mode 100644 index 000000000000..7c676689b191 --- /dev/null +++ b/devel/py-breathe/Makefile @@ -0,0 +1,70 @@ +PORTNAME= breathe +PORTVERSION= 4.31.0 +PORTREVISION= 1 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= mandree@FreeBSD.org +COMMENT= Extension to reStructuredText and Sphinx to render Doxygen xml output + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +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 +GH_TUPLE= michaeljones:breathe:v${PORTVERSION} +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +BINARY_ALIAS= sphinx-build=sphinx-build-${PYTHON_VER} + +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 + +PORTDOCS= * +PORTEXAMPLES= * + +post-patch: + ${REINPLACE_CMD} "s/^git_tag = subprocess.*/git_tag = b'v${PORTVERSION}'/" \ + ${WRKSRC}/documentation/source/conf.py + +post-build-DOCS-on: + cd ${WRKSRC} && \ + ${SETENV} PYTHONPATH=${WRKSRC}/ \ + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \ + ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS:N${DESTDIRNAME}=*} html diff --git a/devel/py-breathe/distinfo b/devel/py-breathe/distinfo new file mode 100644 index 000000000000..7dced5253fc2 --- /dev/null +++ b/devel/py-breathe/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634549716 +SHA256 (michaeljones-breathe-4.31.0-v4.31.0_GH0.tar.gz) = 63edd18240b7aeb155c6b3d7de13c1322dd7c150f2ad2e9742e95e51b0dc48a8 +SIZE (michaeljones-breathe-4.31.0-v4.31.0_GH0.tar.gz) = 193629 diff --git a/devel/py-breathe/pkg-descr b/devel/py-breathe/pkg-descr new file mode 100644 index 000000000000..23b731c9603f --- /dev/null +++ b/devel/py-breathe/pkg-descr @@ -0,0 +1,8 @@ +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. + +WWW: https://github.com/michaeljones/breathe