git: 0f9b28813992 - main - textproc/py-readthedocs-sphinx-ext: Read the Docs Sphinx Extensions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Jan 2024 18:34:53 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0f9b28813992b2b6f14b478d40888285ab4c0780
commit 0f9b28813992b2b6f14b478d40888285ab4c0780
Author: Alastair Hogge <agh@riseup.net>
AuthorDate: 2024-01-18 18:25:51 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-18 18:34:30 +0000
textproc/py-readthedocs-sphinx-ext: Read the Docs Sphinx Extensions
Currently packaged extensions include:
* An extension for building documentation like readthedocs.io. fame
* template-meta, allows users to specify template overrides in per-page
context.
Differential Revision: https://reviews.freebsd.org/D43489
---
textproc/Makefile | 1 +
textproc/py-readthedocs-sphinx-ext/Makefile | 29 ++++++++++++++++++++++++++++
textproc/py-readthedocs-sphinx-ext/distinfo | 3 +++
textproc/py-readthedocs-sphinx-ext/pkg-descr | 10 ++++++++++
4 files changed, 43 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index a16475d470d2..a14a48e96a9d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1529,6 +1529,7 @@
SUBDIR += py-qrcode
SUBDIR += py-rdflib
SUBDIR += py-readchar
+ SUBDIR += py-readthedocs-sphinx-ext
SUBDIR += py-readtime
SUBDIR += py-recommonmark
SUBDIR += py-regex
diff --git a/textproc/py-readthedocs-sphinx-ext/Makefile b/textproc/py-readthedocs-sphinx-ext/Makefile
new file mode 100644
index 000000000000..02d306d8fb62
--- /dev/null
+++ b/textproc/py-readthedocs-sphinx-ext/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= readthedocs-sphinx-ext
+DISTVERSION= 2.2.5
+CATEGORIES= textproc python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= agh@riseup.net
+COMMENT= Sphinx extension for Read the Docs overrides
+WWW= https://pypi.org/project/readthedocs-sphinx-ext
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}prospector>0:devel/py-prospector@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} \
+ pylint${PYTHON_PKGNAMESUFFIX}>0:devel/pylint
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= readthedocs
+USE_PYTHON= autoplist pep517 pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-readthedocs-sphinx-ext/distinfo b/textproc/py-readthedocs-sphinx-ext/distinfo
new file mode 100644
index 000000000000..314509098a51
--- /dev/null
+++ b/textproc/py-readthedocs-sphinx-ext/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1705552809
+SHA256 (readthedocs-readthedocs-sphinx-ext-2.2.5_GH0.tar.gz) = 440570ad16900674931dd4a24843a4af8476ccffae460823be5e8efcb423774d
+SIZE (readthedocs-readthedocs-sphinx-ext-2.2.5_GH0.tar.gz) = 11483
diff --git a/textproc/py-readthedocs-sphinx-ext/pkg-descr b/textproc/py-readthedocs-sphinx-ext/pkg-descr
new file mode 100644
index 000000000000..068f98d81ed2
--- /dev/null
+++ b/textproc/py-readthedocs-sphinx-ext/pkg-descr
@@ -0,0 +1,10 @@
+Read the Docs Sphinx Extensions
+
+The Sphinx extension that make Sphinx easier to use. Some extensions require
+Read the Docs features, others are just extensions that and enabled during
+builds of Read the Docs.
+
+Currently packaged extensions include:
+ * An extension for building documentation like readthedocs.io. fame
+ * template-meta, allows users to specify template overrides in per-page
+ context.