git: c81c05ce617b - main - textproc/py-sphinx-multiversion: add new port

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Tue, 10 Oct 2023 18:32:23 UTC
The branch main has been updated by driesm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c81c05ce617be8bba76c7a95828e0044bf8f535c

commit c81c05ce617be8bba76c7a95828e0044bf8f535c
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2023-10-10 18:04:24 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2023-10-10 18:32:01 +0000

    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.
---
 textproc/Makefile                         |  1 +
 textproc/py-sphinx-multiversion/Makefile  | 20 ++++++++++++++++++++
 textproc/py-sphinx-multiversion/distinfo  |  3 +++
 textproc/py-sphinx-multiversion/pkg-descr |  4 ++++
 4 files changed, 28 insertions(+)

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.