git: 063eecda9671 - main - textproc/py-sphinx-multiversion-zrepl: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Oct 2023 06:30:57 UTC
The branch main has been updated by driesm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=063eecda9671106caf0909867dcce92d4ca693a5
commit 063eecda9671106caf0909867dcce92d4ca693a5
Author: Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2023-10-10 18:43:25 +0000
Commit: Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2023-10-12 06:30:43 +0000
textproc/py-sphinx-multiversion-zrepl: add new port
Sphinx extension (zrepl fork) 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-zrepl/Makefile | 27 +++++++++++++++++++++++++
textproc/py-sphinx-multiversion-zrepl/distinfo | 3 +++
textproc/py-sphinx-multiversion-zrepl/pkg-descr | 4 ++++
textproc/py-sphinx-multiversion/Makefile | 3 +++
5 files changed, 38 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index aab4b41f6ad3..84a88103d5be 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1566,6 +1566,7 @@
SUBDIR += py-sphinx-material
SUBDIR += py-sphinx-me
SUBDIR += py-sphinx-multiversion
+ SUBDIR += py-sphinx-multiversion-zrepl
SUBDIR += py-sphinx-sitemap
SUBDIR += py-sphinx-tabs
SUBDIR += py-sphinx-theme-builder
diff --git a/textproc/py-sphinx-multiversion-zrepl/Makefile b/textproc/py-sphinx-multiversion-zrepl/Makefile
new file mode 100644
index 000000000000..309f79ffa308
--- /dev/null
+++ b/textproc/py-sphinx-multiversion-zrepl/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= sphinx-multiversion
+DISTVERSION= g20230909
+CATEGORIES= textproc python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= -zrepl
+
+MAINTAINER= driesm@FreeBSD.org
+COMMENT= Sphinx extension for building self-hosted versioned docs (zrepl fork)
+WWW= https://github.com/zrepl/sphinx-multiversion
+
+LICENSE= BSD2CLAUSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=2.1:textproc/py-sphinx@${PY_FLAVOR}
+
+USES= python
+
+USE_GITHUB= yes
+GH_ACCOUNT= zrepl
+GH_TAGNAME= 52c915d
+
+USE_PYTHON= autoplist concurrent distutils
+
+CONFLICTS_INSTALL= sphinx-multiversion
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sphinx-multiversion-zrepl/distinfo b/textproc/py-sphinx-multiversion-zrepl/distinfo
new file mode 100644
index 000000000000..9e10e1127bb2
--- /dev/null
+++ b/textproc/py-sphinx-multiversion-zrepl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1696963235
+SHA256 (zrepl-sphinx-multiversion-g20230909-52c915d_GH0.tar.gz) = b5a583dd06e3a8ac0e665f619637052b5d1f3632a80e0d275d317fbcf5d5b54f
+SIZE (zrepl-sphinx-multiversion-g20230909-52c915d_GH0.tar.gz) = 20711
diff --git a/textproc/py-sphinx-multiversion-zrepl/pkg-descr b/textproc/py-sphinx-multiversion-zrepl/pkg-descr
new file mode 100644
index 000000000000..1c5a3daaf613
--- /dev/null
+++ b/textproc/py-sphinx-multiversion-zrepl/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.
diff --git a/textproc/py-sphinx-multiversion/Makefile b/textproc/py-sphinx-multiversion/Makefile
index c3cd31e40fe7..945a007a9fec 100644
--- a/textproc/py-sphinx-multiversion/Makefile
+++ b/textproc/py-sphinx-multiversion/Makefile
@@ -1,5 +1,6 @@
PORTNAME= sphinx-multiversion
DISTVERSION= 0.2.4
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,6 +16,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=2.1:textproc/py-sphinx@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
+CONFLICTS_INSTALL= sphinx-multiversion-zrepl
+
NO_ARCH= yes
.include <bsd.port.mk>