aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-23 18:05:32 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-01-23 18:05:32 +0000
commitebe92d11ad2ec101b1486d0cc4134b241c4bb6c1 (patch)
tree2da31054775fb28f7ae8762051252374b2ace198
parent01dfb1deb05dbc59cfa700814db0fc2136acbcdf (diff)
textproc/py-sphinx-autobuild: Add py-sphinx-autobuild 2021.3.14
Rebuild Sphinx documentation on changes, with live-reload in the browser. WWW: https://github.com/executablebooks/sphinx-autobuild
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-sphinx-autobuild/Makefile24
-rw-r--r--textproc/py-sphinx-autobuild/distinfo3
-rw-r--r--textproc/py-sphinx-autobuild/pkg-descr3
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 7f299d070792..792ab3fa64d9 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1468,6 +1468,7 @@
SUBDIR += py-sphinx
SUBDIR += py-sphinx-argparse
SUBDIR += py-sphinx-autoapi
+ SUBDIR += py-sphinx-autobuild
SUBDIR += py-sphinx-autodoc-typehints
SUBDIR += py-sphinx-copybutton
SUBDIR += py-sphinx-inline-tabs
diff --git a/textproc/py-sphinx-autobuild/Makefile b/textproc/py-sphinx-autobuild/Makefile
new file mode 100644
index 000000000000..a9ba4c50518f
--- /dev/null
+++ b/textproc/py-sphinx-autobuild/Makefile
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= sphinx-autobuild
+PORTVERSION= 2021.3.14
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Rebuild Sphinx documentation on changes, with live-reload in the browser
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}livereload>=0:www/py-livereload@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sphinx-autobuild/distinfo b/textproc/py-sphinx-autobuild/distinfo
new file mode 100644
index 000000000000..227c7b424db4
--- /dev/null
+++ b/textproc/py-sphinx-autobuild/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1642102115
+SHA256 (sphinx-autobuild-2021.3.14.tar.gz) = de1ca3b66e271d2b5b5140c35034c89e47f263f2cd5db302c9217065f7443f05
+SIZE (sphinx-autobuild-2021.3.14.tar.gz) = 206402
diff --git a/textproc/py-sphinx-autobuild/pkg-descr b/textproc/py-sphinx-autobuild/pkg-descr
new file mode 100644
index 000000000000..3b47bb5bd397
--- /dev/null
+++ b/textproc/py-sphinx-autobuild/pkg-descr
@@ -0,0 +1,3 @@
+Rebuild Sphinx documentation on changes, with live-reload in the browser.
+
+WWW: https://github.com/executablebooks/sphinx-autobuild