aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Michiels <driesm@FreeBSD.org>2023-10-10 18:04:24 +0000
committerDries Michiels <driesm@FreeBSD.org>2023-10-10 18:32:01 +0000
commitc81c05ce617be8bba76c7a95828e0044bf8f535c (patch)
tree99a98030289fd59d5d9348c44f9f9712a8544d2b
parentda42697af50c0b1b982d2d62bd54c79c03bd1cf4 (diff)
downloadports-c81c05ce617be8bba76c7a95828e0044bf8f535c.tar.gz
ports-c81c05ce617be8bba76c7a95828e0044bf8f535c.zip
textproc/py-sphinx-multiversion: add new port
Sphinx extension for building self-hosted versioned docs. This extension aims to provide a clean implementation that tries to avoid messing with Sphinx internals as much as possible.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-sphinx-multiversion/Makefile20
-rw-r--r--textproc/py-sphinx-multiversion/distinfo3
-rw-r--r--textproc/py-sphinx-multiversion/pkg-descr4
4 files changed, 28 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 6e30c3a27da8..aab4b41f6ad3 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1565,6 +1565,7 @@
SUBDIR += py-sphinx-markdown-tables
SUBDIR += py-sphinx-material
SUBDIR += py-sphinx-me
+ SUBDIR += py-sphinx-multiversion
SUBDIR += py-sphinx-sitemap
SUBDIR += py-sphinx-tabs
SUBDIR += py-sphinx-theme-builder
diff --git a/textproc/py-sphinx-multiversion/Makefile b/textproc/py-sphinx-multiversion/Makefile
new file mode 100644
index 000000000000..c3cd31e40fe7
--- /dev/null
+++ b/textproc/py-sphinx-multiversion/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= sphinx-multiversion
+DISTVERSION= 0.2.4
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= driesm@FreeBSD.org
+COMMENT= Sphinx extension for building self-hosted versioned docs
+WWW= https://github.com/Holzhaus/sphinx-multiversion
+
+LICENSE= BSD2CLAUSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=2.1:textproc/py-sphinx@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sphinx-multiversion/distinfo b/textproc/py-sphinx-multiversion/distinfo
new file mode 100644
index 000000000000..ecb6f0fefe1d
--- /dev/null
+++ b/textproc/py-sphinx-multiversion/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1696961017
+SHA256 (sphinx-multiversion-0.2.4.tar.gz) = 5cd1ca9ecb5eed63cb8d6ce5e9c438ca13af4fa98e7eb6f376be541dd4990bcb
+SIZE (sphinx-multiversion-0.2.4.tar.gz) = 7024
diff --git a/textproc/py-sphinx-multiversion/pkg-descr b/textproc/py-sphinx-multiversion/pkg-descr
new file mode 100644
index 000000000000..1c5a3daaf613
--- /dev/null
+++ b/textproc/py-sphinx-multiversion/pkg-descr
@@ -0,0 +1,4 @@
+Sphinx extension for building self-hosted versioned docs.
+
+This extension aims to provide a clean implementation that tries
+to avoid messing with Sphinx internals as much as possible.