From 3d04db7f3276ab24b96c82cebfd0b41bd5ed8887 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sun, 29 Jun 2025 19:37:15 +0800 Subject: [PATCH] textproc/py-sphinx-sitemap: Update to 2.7.2 - Update WWW - Remove superfluous USE_PYTHON=flavors - Update pkg-descr - Take maintainership Changes: https://github.com/jdillard/sphinx-sitemap/releases --- textproc/py-sphinx-sitemap/Makefile | 18 ++++++++++-------- textproc/py-sphinx-sitemap/distinfo | 6 +++--- .../files/patch-pyproject.toml | 12 ++++++++++++ textproc/py-sphinx-sitemap/pkg-descr | 6 +++--- 4 files changed, 28 insertions(+), 14 deletions(-) create mode 100644 textproc/py-sphinx-sitemap/files/patch-pyproject.toml diff --git a/textproc/py-sphinx-sitemap/Makefile b/textproc/py-sphinx-sitemap/Makefile index 31e3e7bea27c..76c3ae293905 100644 --- a/textproc/py-sphinx-sitemap/Makefile +++ b/textproc/py-sphinx-sitemap/Makefile @@ -1,22 +1,24 @@ PORTNAME= sphinx-sitemap -DISTVERSION= 2.5.1 +PORTVERSION= 2.7.2 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= sphinx_sitemap-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= Sphinx extension for generating sitemaps for HTML -WWW= https://github.com/jdillard/sphinx-sitemap +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Sitemap generator for Sphinx +WWW= https://sphinx-sitemap.readthedocs.io/en/latest/ \ + 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} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx-last-updated-by-git>=0:textproc/py-sphinx-last-updated-by-git@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent flavors pep517 +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/textproc/py-sphinx-sitemap/distinfo b/textproc/py-sphinx-sitemap/distinfo index 390bbd689eb1..d82ec39753e8 100644 --- a/textproc/py-sphinx-sitemap/distinfo +++ b/textproc/py-sphinx-sitemap/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1692578960 -SHA256 (sphinx-sitemap-2.5.1.tar.gz) = 984bef068bbdbc26cfae209a8b61392e9681abc9191b477cd30da406e3a60ee5 -SIZE (sphinx-sitemap-2.5.1.tar.gz) = 5790 +TIMESTAMP = 1750954246 +SHA256 (sphinx_sitemap-2.7.2.tar.gz) = 819e028e27579b47efa0e2f863b87136b711c45f13e84730610e80316f6883da +SIZE (sphinx_sitemap-2.7.2.tar.gz) = 6387 diff --git a/textproc/py-sphinx-sitemap/files/patch-pyproject.toml b/textproc/py-sphinx-sitemap/files/patch-pyproject.toml new file mode 100644 index 000000000000..aadc7d6aeee1 --- /dev/null +++ b/textproc/py-sphinx-sitemap/files/patch-pyproject.toml @@ -0,0 +1,12 @@ +--- pyproject.toml.orig 2025-06-27 00:31:35 UTC ++++ pyproject.toml +@@ -20,8 +20,7 @@ classifiers = [ + "Programming Language :: Python :: 3.11", + "Topic :: Documentation :: Sphinx", + ] +-license = "MIT" +-license-files = ["LICENSE"] ++license = {text = "MIT"} + readme = "README.rst" + dependencies = [ + "sphinx-last-updated-by-git", diff --git a/textproc/py-sphinx-sitemap/pkg-descr b/textproc/py-sphinx-sitemap/pkg-descr index 55a899a97c27..97149553e204 100644 --- a/textproc/py-sphinx-sitemap/pkg-descr +++ b/textproc/py-sphinx-sitemap/pkg-descr @@ -1,3 +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. +Sphinx Sitemap Generator Extension is a Sphinx extension to generate +multiversion and multilanguage sitemaps.org compliant sitemaps for the HTML +version of your Sphinx documentation.