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
2024Q2
Alastair Hogge 2024-01-18 21:25:51 +03:00 committed by Gleb Popov
parent ec1eae548f
commit 0f9b288139
4 changed files with 43 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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.