From a880b368e6430cdf5014fbf039ecfde2fa78a49a Mon Sep 17 00:00:00 2001 From: Alastair Hogge Date: Sat, 29 Jul 2023 07:24:41 +0200 Subject: [PATCH] textproc/py-sphinx-sitemap: Sphinx extension for generating sitemaps for HTML A Sphinx extension to generate multiversion and multilanguage sitemaps.org protocol compliant sitemaps for Sphinx generated HTML documentation. WWW: https://github.com/jdillard/sphinx-sitemap PR: 272713 --- textproc/Makefile | 1 + textproc/py-sphinx-sitemap/Makefile | 23 +++++++++++++++++++++++ textproc/py-sphinx-sitemap/distinfo | 3 +++ textproc/py-sphinx-sitemap/pkg-descr | 3 +++ 4 files changed, 30 insertions(+) create mode 100644 textproc/py-sphinx-sitemap/Makefile create mode 100644 textproc/py-sphinx-sitemap/distinfo create mode 100644 textproc/py-sphinx-sitemap/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index 50431d94ed5aa..a44d7641f7884 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1549,6 +1549,7 @@ SUBDIR += py-sphinx-issues SUBDIR += py-sphinx-markdown-tables SUBDIR += py-sphinx-me + SUBDIR += py-sphinx-sitemap SUBDIR += py-sphinx-tabs SUBDIR += py-sphinx-theme-builder SUBDIR += py-sphinx_press_theme diff --git a/textproc/py-sphinx-sitemap/Makefile b/textproc/py-sphinx-sitemap/Makefile new file mode 100644 index 0000000000000..2031a65c7c69e --- /dev/null +++ b/textproc/py-sphinx-sitemap/Makefile @@ -0,0 +1,23 @@ +PORTNAME= sphinx-sitemap +DISTVERSION= 2.5.0 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= agh@riseup.net +COMMENT= Sphinx extension for generating sitemaps for HTML +WWW= https://github.com/jdillard/sphinx-sitemap + +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} + +USES= python +USE_PYTHON= autoplist concurrent flavors pep517 + +NO_ARCH= yes + +.include diff --git a/textproc/py-sphinx-sitemap/distinfo b/textproc/py-sphinx-sitemap/distinfo new file mode 100644 index 0000000000000..48b1b4ea51593 --- /dev/null +++ b/textproc/py-sphinx-sitemap/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1690274856 +SHA256 (sphinx-sitemap-2.5.0.tar.gz) = 95101f622d0d594161720cbe92a39d353efae9382f7f3563f06d150b1146fef6 +SIZE (sphinx-sitemap-2.5.0.tar.gz) = 7600 diff --git a/textproc/py-sphinx-sitemap/pkg-descr b/textproc/py-sphinx-sitemap/pkg-descr new file mode 100644 index 0000000000000..55a899a97c274 --- /dev/null +++ b/textproc/py-sphinx-sitemap/pkg-descr @@ -0,0 +1,3 @@ +A Sphinx extension to generate multi-version, and multi-language HTML sitemaps +for generated documentation. py-sphinx-sitemap is compliant with the +Sitemaps.org XML schema for declaring and generating HTML sitemaps.