summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-03-14 17:41:06 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-03-14 17:54:26 +0800
commit87f2141af00858026aa751974d6eae6f0865b436 (patch)
tree888af2e19e70f3d51b3d3ceeee96c7da8af4d36e
parenttextproc/py-sphinx-book-theme: Update to 1.1.4 (diff)
textproc/py-sphinxcontrib-towncrier: Update to 0.5.0a0
Changes: https://github.com/sphinx-contrib/sphinxcontrib-towncrier/releases https://github.com/sphinx-contrib/sphinxcontrib-towncrier/commits/master
-rw-r--r--textproc/py-sphinxcontrib-towncrier/Makefile13
-rw-r--r--textproc/py-sphinxcontrib-towncrier/distinfo6
-rw-r--r--textproc/py-sphinxcontrib-towncrier/files/patch-pyproject.toml11
3 files changed, 20 insertions, 10 deletions
diff --git a/textproc/py-sphinxcontrib-towncrier/Makefile b/textproc/py-sphinxcontrib-towncrier/Makefile
index d1626dfb96f3..3fbd1b9305de 100644
--- a/textproc/py-sphinxcontrib-towncrier/Makefile
+++ b/textproc/py-sphinxcontrib-towncrier/Makefile
@@ -1,10 +1,10 @@
PORTNAME= sphinxcontrib-towncrier
-PORTVERSION= 0.4.0a0
-PORTREVISION= 1
+PORTVERSION= 0.5.0a0
CATEGORIES= textproc python
MASTER_SITES= PYPI \
https://github.com/sphinx-contrib/sphinxcontrib-towncrier/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= sphinxcontrib_towncrier-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= RST directive for injecting a Towncrier-generated changelog draft
@@ -14,16 +14,15 @@ WWW= https://sphinxcontrib-towncrier.readthedocs.io/en/latest/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.0:devel/py-setuptools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.5:devel/py-setuptools-scm@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.1:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}towncrier23>=19.2:textproc/py-towncrier23@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}towncrier>=23:textproc/py-towncrier@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0,1:devel/py-pytest-xdist@${PY_FLAVOR}
-USES= python
+USES= python:3.9+
USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
diff --git a/textproc/py-sphinxcontrib-towncrier/distinfo b/textproc/py-sphinxcontrib-towncrier/distinfo
index 27525d93aecb..d5c8d33d11a6 100644
--- a/textproc/py-sphinxcontrib-towncrier/distinfo
+++ b/textproc/py-sphinxcontrib-towncrier/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722711257
-SHA256 (sphinxcontrib-towncrier-0.4.0a0.tar.gz) = d9b1513fc07781432dd3a0b2ca797cfe0e99e9b5bc5e5c8bf112d5d142afb6dc
-SIZE (sphinxcontrib-towncrier-0.4.0a0.tar.gz) = 49635
+TIMESTAMP = 1740836186
+SHA256 (sphinxcontrib_towncrier-0.5.0a0.tar.gz) = 294e69df6e275e7a86df7ea6a927cc7c28c2c370a884cd5c45de6ec989858f27
+SIZE (sphinxcontrib_towncrier-0.5.0a0.tar.gz) = 62453
diff --git a/textproc/py-sphinxcontrib-towncrier/files/patch-pyproject.toml b/textproc/py-sphinxcontrib-towncrier/files/patch-pyproject.toml
new file mode 100644
index 000000000000..225f31b8c204
--- /dev/null
+++ b/textproc/py-sphinxcontrib-towncrier/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2025-02-28 01:49:19 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
+ requires = [
+ # Essentials
+- "setuptools >= 64",
++ "setuptools >= 61",
+
+ # Plugins
+ "setuptools_scm[toml] >= 8", # version is required for "no-local-version" scheme + toml extra is needed for supporting config in this file