aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2026-05-07 13:38:34 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2026-05-07 17:47:54 +0000
commit48edbc374149ada6cd5e83f32b47d9a13e6292ff (patch)
treea1258a0d51f3d1eecd58b0cfdc8a8677f819e878
parent55642915dc1816763f0930951dec832a6de9aaa0 (diff)
devel/py-setuptools-changelog-shortener: New port
Setuptools plugin to shorten changelog for long_description.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-setuptools-changelog-shortener/Makefile25
-rw-r--r--devel/py-setuptools-changelog-shortener/distinfo3
-rw-r--r--devel/py-setuptools-changelog-shortener/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 430f9a8e6ef1..a80048f2325e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6072,6 +6072,7 @@
SUBDIR += py-setproctitle
SUBDIR += py-setupmeta
SUBDIR += py-setuptools
+ SUBDIR += py-setuptools-changelog-shortener
SUBDIR += py-setuptools-declarative-requirements
SUBDIR += py-setuptools-dso
SUBDIR += py-setuptools-gettext
diff --git a/devel/py-setuptools-changelog-shortener/Makefile b/devel/py-setuptools-changelog-shortener/Makefile
new file mode 100644
index 000000000000..0035cce1b92e
--- /dev/null
+++ b/devel/py-setuptools-changelog-shortener/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= setuptools-changelog-shortener
+PORTVERSION= 0.2.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Setuptools plugin to shorten changelog for long_description
+WWW= https://github.com/fschulze/setuptools_changelog_shortener
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tomli>=1.0:textproc/py-tomli@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tomli>=1.0:textproc/py-tomli@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-setuptools-changelog-shortener/distinfo b/devel/py-setuptools-changelog-shortener/distinfo
new file mode 100644
index 000000000000..4bc988dded83
--- /dev/null
+++ b/devel/py-setuptools-changelog-shortener/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1778159272
+SHA256 (setuptools-changelog-shortener-0.2.0.tar.gz) = ff93517a3771836b8e407f3eb52459053ebdb95564f1ed5e6d4ad9c49e369775
+SIZE (setuptools-changelog-shortener-0.2.0.tar.gz) = 3535
diff --git a/devel/py-setuptools-changelog-shortener/pkg-descr b/devel/py-setuptools-changelog-shortener/pkg-descr
new file mode 100644
index 000000000000..c996a5a33077
--- /dev/null
+++ b/devel/py-setuptools-changelog-shortener/pkg-descr
@@ -0,0 +1,4 @@
+Setuptools plugin to shorten the number of changelog entries used for the
+long_description metadata in Python packages. Useful for projects that
+keep a long CHANGELOG file but want only the most recent entries shown
+on PyPI.