Page MenuHomeFreeBSD

D28527.diff
No OneTemporary

D28527.diff

Index: textproc/Makefile
===================================================================
--- textproc/Makefile
+++ 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
Index: textproc/py-sphinxcontrib-autoprogram/Makefile
===================================================================
--- /dev/null
+++ 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>
Index: textproc/py-sphinxcontrib-autoprogram/distinfo
===================================================================
--- /dev/null
+++ 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
Index: textproc/py-sphinxcontrib-autoprogram/pkg-descr
===================================================================
--- /dev/null
+++ 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

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 19, 6:28 AM (19 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23914055
Default Alt Text
D28527.diff (2 KB)

Event Timeline