From nobody Sun Oct 08 12:02:33 2023 X-Original-To: dev-commits-ports-main@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 4S3LQ15bK8z4wRw3; Sun, 8 Oct 2023 12:02:33 +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 4S3LQ1590gz4DQT; Sun, 8 Oct 2023 12:02:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696766553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oD0aU4mnfCfjitwSS/OTbU7DJ8Q+RLsUDkdEzhbvKsI=; b=uxT6qWSvvwDUatX17R4w7s7fWmcsKTQHWDtofcx5AvjiMx4YxL05+U+hyob6QqCdBlU1Mt pvLYYdHRuTR70fkUH2EsQ9CHiHsAFupKTvP6Hb8M20Nx54I+89E5NaR3KM2C8KAz8982jj gG3NrW/vYn3srSDkrCg3WAdOpUk65yK+vLnrrrq43HjOVcaFLjn2wlRRLcT5rh9r83BDDE J1PYPLeVAV3AtRgYEwbgl13RUVicw6JqOB6+xfjnN0K7AfRynNAZTG4uoh6ucRlso0k7b7 Ml+hhpXfZwPvZcBsdVZVWCPuptYx8pblBJYBiX0XT0XZiV2F3yyPKXMMcUvCsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696766553; a=rsa-sha256; cv=none; b=HqdLQB3vJTVSF2PIrEFXjCRXOKqA4dDJRT2iHYhMtLpqZO+zsY2aNgyPWHiHPApK3jVQo9 gXVlvxrN7WbeP8KuqPrPlGXETyn4WbIZZux5Xi6Z8JYxjRLrn6iJL/0XM/TiO5uNYyrlwF aFyvIRIr9HfW9IRwjJkayA46vjPTMmy1tsfWh3oOYNbvsyckE8JXIcr2mAl8srrxyEFDsY /5B+c7YmBnhPJ2/pFn8OF76QAQr1I1UlI7xIERhNejFNKOLUcBzHygetn+q2smAvCwdGfg lyAmkds9IPw+nDNddOzyOgrMugshlLm+2M7j5YTIPQvq1wMQMs1TO0/miG2WMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696766553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oD0aU4mnfCfjitwSS/OTbU7DJ8Q+RLsUDkdEzhbvKsI=; b=k9ljYLaFDD48QVYFCP8Ieo7Nh+pTFmFZqYReQxoSIdYBDKWpSLJ0Vfa7//oQXkbZKAul/b UqydMXcKRYRR0ykEyRXvwWyC6S5sFQ4KbZLBg9U8XAgzwDF1IBGv9dpw324U/bJCqsSJtJ juYfztB6Yy7bnrPkyMHGPkkxcsQ/3gVctx1/siq/Y/bxA8t3451TA7ym3Oet2YI84D9lBE i1ThtSnQ7uGcBkWOcBkN7fMFsXZgXwp0mS1YRF5fawpz8CDd7kgeBtKSJRglktYFX0qtKc k86yTXU6OJYlEGm5v357Jzn/FQeSlFU2TvScegCfPRWguq6t8+BXSxP6qgTg7g== 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 4S3LQ146Zdz1BV1; Sun, 8 Oct 2023 12:02:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 398C2XsH053043; Sun, 8 Oct 2023 12:02:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 398C2X2i053041; Sun, 8 Oct 2023 12:02:33 GMT (envelope-from git) Date: Sun, 8 Oct 2023 12:02:33 GMT Message-Id: <202310081202.398C2X2i053041@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 5046c0c3a8a1 - main - textproc/py-sphinx-gallery: Add py-sphinx-gallery 0.14.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5046c0c3a8a18d6ee9c87477236cec2eb8bb5545 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5046c0c3a8a18d6ee9c87477236cec2eb8bb5545 commit 5046c0c3a8a18d6ee9c87477236cec2eb8bb5545 Author: Po-Chuan Hsieh AuthorDate: 2023-10-08 11:52:38 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-10-08 11:52:38 +0000 textproc/py-sphinx-gallery: Add py-sphinx-gallery 0.14.0 Sphinx-Gallery is a Sphinx extension that builds an HTML gallery of examples from any set of Python scripts. Features: - Create example galleries automatically by running pure Python example scripts while capturing outputs + figures, rendering them into reST files built into your documentation by Sphinx - Embed reST in your example Python files, allowing you to interweave narrative-like content with code that generates plots in your documentation. Sphinx-Gallery also automatically generates a Jupyter Notebook for each your example page. - Add mini-galleries for API documentation. Sphinx-Gallery can generate mini-galleries listing all examples that use a particular function/method/etc. - Add intersphinx links to your examples. Sphinx-Gallery can automatically add links to API documentation for functions/methods/classes that are used in your examples (for any Python module that uses intersphinx). - Manage multiple galleries to create and embed galleries for several folders of examples. --- textproc/Makefile | 1 + textproc/py-sphinx-gallery/Makefile | 22 ++++++++++++++++++++++ textproc/py-sphinx-gallery/distinfo | 3 +++ textproc/py-sphinx-gallery/pkg-descr | 18 ++++++++++++++++++ 4 files changed, 44 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 6abe99331807..96b51a69cffc 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1558,6 +1558,7 @@ SUBDIR += py-sphinx-copybutton SUBDIR += py-sphinx-design SUBDIR += py-sphinx-examples + SUBDIR += py-sphinx-gallery SUBDIR += py-sphinx-inline-tabs SUBDIR += py-sphinx-intl SUBDIR += py-sphinx-issues diff --git a/textproc/py-sphinx-gallery/Makefile b/textproc/py-sphinx-gallery/Makefile new file mode 100644 index 000000000000..14cb56fc63f2 --- /dev/null +++ b/textproc/py-sphinx-gallery/Makefile @@ -0,0 +1,22 @@ +PORTNAME= sphinx-gallery +PORTVERSION= 0.14.0 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Sphinx extension that builds an HTML gallery of examples from any set of Python scripts +WWW= https://sphinx-gallery.github.io/stable/ \ + https://github.com/sphinx-gallery/sphinx-gallery + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=4,1:textproc/py-sphinx@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-sphinx-gallery/distinfo b/textproc/py-sphinx-gallery/distinfo new file mode 100644 index 000000000000..2a4c24f0e89f --- /dev/null +++ b/textproc/py-sphinx-gallery/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696753604 +SHA256 (sphinx-gallery-0.14.0.tar.gz) = 2a4a0aaf032955508e1d0f3495199a3c7819ce420e71096bff0bca551a4043c2 +SIZE (sphinx-gallery-0.14.0.tar.gz) = 408734 diff --git a/textproc/py-sphinx-gallery/pkg-descr b/textproc/py-sphinx-gallery/pkg-descr new file mode 100644 index 000000000000..cd250d65da38 --- /dev/null +++ b/textproc/py-sphinx-gallery/pkg-descr @@ -0,0 +1,18 @@ +Sphinx-Gallery is a Sphinx extension that builds an HTML gallery of examples +from any set of Python scripts. + +Features: +- Create example galleries automatically by running pure Python example scripts + while capturing outputs + figures, rendering them into reST files built into + your documentation by Sphinx +- Embed reST in your example Python files, allowing you to interweave + narrative-like content with code that generates plots in your documentation. + Sphinx-Gallery also automatically generates a Jupyter Notebook for each your + example page. +- Add mini-galleries for API documentation. Sphinx-Gallery can generate + mini-galleries listing all examples that use a particular function/method/etc. +- Add intersphinx links to your examples. Sphinx-Gallery can automatically add + links to API documentation for functions/methods/classes that are used in your + examples (for any Python module that uses intersphinx). +- Manage multiple galleries to create and embed galleries for several folders of + examples.