FreeBSD Bugzilla – Attachment 222285 Details for
Bug 253332
[new port] textproc/py-sphinxcontrib-autoprogram: extension to automate the documentation of CLI programs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Selected the wrong patch from update 2.
0001-textproc-py-sphinxcontrib-autoprogram-New-port-0.1.5.patch (text/plain), 3.47 KB, created by
Derek Schrock
on 2021-02-09 02:10:29 UTC
(
hide
)
Description:
Selected the wrong patch from update 2.
Filename:
MIME Type:
Creator:
Derek Schrock
Created:
2021-02-09 02:10:29 UTC
Size:
3.47 KB
patch
obsolete
>From 7f635322525b08fc4e3f58c90927b39c6d79f3cc Mon Sep 17 00:00:00 2001 >From: Derek Schrock <dereks@lifeofadishwasher.com> >Date: Sun, 7 Feb 2021 18:45:50 -0500 >Subject: [PATCH] textproc/py-sphinxcontrib-autoprogram: New port 0.1.5 > >New port textproc/py-sphinxcontrib-autoprogram Sphinx extenison to >automate the documentation of CLI programs. > >USE_GITHUB until sdist has doc/ for DOC and unittests > >Reported here https://github.com/sphinx-contrib/autoprogram/pull/27 >--- > textproc/Makefile | 1 + > .../py-sphinxcontrib-autoprogram/Makefile | 40 +++++++++++++++++++ > .../py-sphinxcontrib-autoprogram/distinfo | 3 ++ > .../py-sphinxcontrib-autoprogram/pkg-descr | 3 ++ > 4 files changed, 47 insertions(+) > create mode 100644 textproc/py-sphinxcontrib-autoprogram/Makefile > create mode 100644 textproc/py-sphinxcontrib-autoprogram/distinfo > create mode 100644 textproc/py-sphinxcontrib-autoprogram/pkg-descr > >diff --git a/textproc/Makefile b/textproc/Makefile >index 26f0bed736..76ba83363f 100644 >--- a/textproc/Makefile >+++ b/textproc/Makefile >@@ -1407,6 +1407,7 @@ > SUBDIR += py-sphinx_wikipedia > SUBDIR += py-sphinxcontrib-adadomain > SUBDIR += py-sphinxcontrib-applehelp >+ SUBDIR += py-sphinxcontrib-autoprogram > SUBDIR += py-sphinxcontrib-bitbucket > SUBDIR += py-sphinxcontrib-devhelp > SUBDIR += py-sphinxcontrib-fulltoc >diff --git a/textproc/py-sphinxcontrib-autoprogram/Makefile b/textproc/py-sphinxcontrib-autoprogram/Makefile >new file mode 100644 >index 0000000000..85da44bf0d >--- /dev/null >+++ b/textproc/py-sphinxcontrib-autoprogram/Makefile >@@ -0,0 +1,40 @@ >+# $FreeBSD$ >+ >+PORTNAME= sphinxcontrib-autoprogram >+PORTVERSION= 0.1.5 >+CATEGORIES= textproc >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= dereks@lifeofadishwasher.com >+COMMENT= Sphinx Autoprogram Extension >+ >+LICENSE= BSD2CLAUSE >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR} >+ >+USES= python >+USE_PYTHON= autoplist distutils >+USE_GITHUB= yes >+GH_ACCOUNT= sphinx-contrib >+GH_PROJECT= autoprogram >+ >+NO_ARCH= yes >+ >+OPTIONS_DEFINE= DOCS >+OPTIONS_DEFAULT= DOCS >+ >+DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR} >+DOCS_PORTDOCS= * >+DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \ >+ PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env" >+ >+post-install-DOCS-on: >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ (cd ${WRKSRC}/build/sphinx/html && \ >+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv") >+ >+do-test: >+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test >+ >+.include <bsd.port.mk> >diff --git a/textproc/py-sphinxcontrib-autoprogram/distinfo b/textproc/py-sphinxcontrib-autoprogram/distinfo >new file mode 100644 >index 0000000000..ea0f394491 >--- /dev/null >+++ b/textproc/py-sphinxcontrib-autoprogram/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1612833893 >+SHA256 (sphinx-contrib-autoprogram-0.1.5_GH0.tar.gz) = 7bf0135cf7400e29982d61caf3b0a750e63c8b9e31ffb682a28a2e370e092951 >+SIZE (sphinx-contrib-autoprogram-0.1.5_GH0.tar.gz) = 16091 >diff --git a/textproc/py-sphinxcontrib-autoprogram/pkg-descr b/textproc/py-sphinxcontrib-autoprogram/pkg-descr >new file mode 100644 >index 0000000000..a47e0da2e4 >--- /dev/null >+++ b/textproc/py-sphinxcontrib-autoprogram/pkg-descr >@@ -0,0 +1,3 @@ >+This extension provides an automated way to document CLI programs. >+ >+WWW: https://github.com/sphinx-contrib/autoprogram >-- >2.30.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dereks
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 253332
:
222253
|
222284
| 222285