textproc/py-towncrier23: Add py-towncrier23 23.11.0

towncrier is a utility to produce useful, summarized news files (also known as
changelogs) for your project.

Rather than reading the Git history, or having one single file which developers
all write to and produce merge conflicts, towncrier reads "news fragments" which
contain information useful to end users.

Used by Twisted, pytest, pip, BuildBot, and attrs, among others.

While the command line tool towncrier requires Python to run, as long as you
don't use any Python-specific affordances (like auto-detection of the project
version), it is usable with any project type on any platform.
This commit is contained in:
Po-Chuan Hsieh 2024-08-05 05:13:48 +08:00
parent e56cb1f7a2
commit c7f064bb66
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
5 changed files with 63 additions and 0 deletions

View file

@ -1652,6 +1652,7 @@
SUBDIR += py-tomlkit
SUBDIR += py-toronado
SUBDIR += py-towncrier
SUBDIR += py-towncrier23
SUBDIR += py-trans
SUBDIR += py-translationstring
SUBDIR += py-transpopy

View file

@ -0,0 +1,35 @@
PORTNAME= towncrier
PORTVERSION= 23.11.0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 23
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Building newsfiles for your project
WWW= https://towncrier.readthedocs.io/en/stable/ \
https://github.com/twisted/towncrier
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.17.1:devel/py-hatchling@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}importlib-resources>=5:devel/py-importlib-resources@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
${PY_TOMLI}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}towncrier
# This is a temporary fix for building documents before py-towncrier is compatible.
# See PR 280570 for details.
PORTSCOUT= ignore:1
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1722798765
SHA256 (towncrier-23.11.0.tar.gz) = 13937c247e3f8ae20ac44d895cf5f96a60ad46cfdcc1671759530d7837d9ee5d
SIZE (towncrier-23.11.0.tar.gz) = 51483

View file

@ -0,0 +1,12 @@
--- pyproject.toml.orig 2020-02-02 00:00:00 UTC
+++ pyproject.toml
@@ -1,7 +1,7 @@ requires = [
[build-system]
requires = [
- "hatchling ~= 1.17.1",
- "incremental == 22.10.0",
+ "hatchling >= 1.17.1",
+ "incremental",
]
build-backend = "hatchling.build"

View file

@ -0,0 +1,12 @@
towncrier is a utility to produce useful, summarized news files (also known as
changelogs) for your project.
Rather than reading the Git history, or having one single file which developers
all write to and produce merge conflicts, towncrier reads "news fragments" which
contain information useful to end users.
Used by Twisted, pytest, pip, BuildBot, and attrs, among others.
While the command line tool towncrier requires Python to run, as long as you
don't use any Python-specific affordances (like auto-detection of the project
version), it is usable with any project type on any platform.