aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Hogge <agh@riseup.net>2023-07-29 05:24:41 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-07-30 22:59:07 +0000
commita880b368e6430cdf5014fbf039ecfde2fa78a49a (patch)
tree5b72edcbfef0e3fa7230077654775517c5eedb8a
parentffe69f8fb133280e4e6accdf53ede32123152059 (diff)
downloadports-a880b368e6430cdf5014fbf039ecfde2fa78a49a.tar.gz
ports-a880b368e6430cdf5014fbf039ecfde2fa78a49a.zip
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
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-sphinx-sitemap/Makefile23
-rw-r--r--textproc/py-sphinx-sitemap/distinfo3
-rw-r--r--textproc/py-sphinx-sitemap/pkg-descr3
4 files changed, 30 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 50431d94ed5a..a44d7641f788 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 000000000000..2031a65c7c69
--- /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 <bsd.port.mk>
diff --git a/textproc/py-sphinx-sitemap/distinfo b/textproc/py-sphinx-sitemap/distinfo
new file mode 100644
index 000000000000..48b1b4ea5159
--- /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 000000000000..55a899a97c27
--- /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.