Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2021 05:54:19 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564764 - in head/textproc: . py-sphinxcontrib-autoprogram
Message-ID:  <202102090554.1195sJxE059200@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Tue Feb  9 05:54:19 2021
New Revision: 564764
URL: https://svnweb.freebsd.org/changeset/ports/564764

Log:
  Add textproc/py-sphinxcontrib-autoprogram: Sphinx Autoprogram Extension
  
  Submitted by:	Derek Schrock dereks@lifeofadishwasher.com >
  MFC after:	2 weeks
  Sponsored by:	The FreeBSD Foundation

Added:
  head/textproc/py-sphinxcontrib-autoprogram/
  head/textproc/py-sphinxcontrib-autoprogram/Makefile   (contents, props changed)
  head/textproc/py-sphinxcontrib-autoprogram/distinfo   (contents, props changed)
  head/textproc/py-sphinxcontrib-autoprogram/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Tue Feb  9 05:52:19 2021	(r564763)
+++ head/textproc/Makefile	Tue Feb  9 05:54:19 2021	(r564764)
@@ -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

Added: head/textproc/py-sphinxcontrib-autoprogram/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-sphinxcontrib-autoprogram/Makefile	Tue Feb  9 05:54:19 2021	(r564764)
@@ -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>

Added: head/textproc/py-sphinxcontrib-autoprogram/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-sphinxcontrib-autoprogram/distinfo	Tue Feb  9 05:54:19 2021	(r564764)
@@ -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

Added: head/textproc/py-sphinxcontrib-autoprogram/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-sphinxcontrib-autoprogram/pkg-descr	Tue Feb  9 05:54:19 2021	(r564764)
@@ -0,0 +1,3 @@
+This extension provides an automated way to document CLI programs.
+
+WWW: https://github.com/sphinx-contrib/autoprogram



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102090554.1195sJxE059200>