From nobody Sun Aug 04 21:18:37 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WcXVj6HFqz5T32s; Sun, 04 Aug 2024 21:18:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcXVj5j5Jz4l6K; Sun, 4 Aug 2024 21:18:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722806317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FwV/y6ZjhpGyx67q+7YFNvMV+hr8i8OW4Nvdtg0/G3Y=; b=I6CeOKm7Eem9GENUOKjrp+uRCwTvYieNd0dl09K2DAzb4lmNcK0FJDBL04Ybsbn7t8ojlq 1kRQtuP5kuqWEsL1efi+IgBQeZXV6S/Xm1z2zXWx/kcNaOU+U2kC/NeunCKoX28dEfp2qQ e2V7ud7Ve2I3TeFfAEIxPGNjwcx5bOvTHTmb1s1B/vj/6TzHzIed1KlTABYWUv6J6XiJFz GHZy+wvwnH2cCu6gcJ7UjS2bKNIayR5ZU6zIpyu/4sQaRxQDdrdSCSjgmwHxFRhq/aH5/r Fxein/44ldjGEwNmxk16Da49EZgN/GoSi3QI2lRnle+SO663k8ucrIc/VuIgZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722806317; a=rsa-sha256; cv=none; b=xCcDRfwVXh5O90x6IkRsxqRVJcXqhKCBOs6802M2BCmsm3UAiX70s9TwGX8yjFuawkUK3P m+AdZyqf7835xCi3lOAt/7VaC9kJ+G9m+Qcj1/gINEUQhAUtI/gSH7SvPhsgoSI1A0ywPo MiAyY88YDWeEK0hJuokWBILOMJaGnac4fjpMK9++a136LXyDWeHVGaKjlhlRgLV3mu8xNk irPR2Qij9sQ48Lx+/lWAurn5ltcnFqE5GouYaES1rxa5vz4gnMC5Xz5dfM/YhvNCn6l/ho tXCrIl2/GGXS0ssjTOYpyJ4QCFk4f6QA3Fqdw5Z6kOJo40rIT07TBX7zwxK8eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722806317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FwV/y6ZjhpGyx67q+7YFNvMV+hr8i8OW4Nvdtg0/G3Y=; b=ieiAZdf7kNOzefj78UG6ixoMoGgArx58WiHuj3IpRrA+a/HdABuIq7VEbBfBI4YExhDTtW OUDBZgyGg9Bctq/+CPJ3Ygkvn232IcTRdBtqcMxJ7jgQGVcF+oR052pCVO65oqBhRH7QSN Rx+s9EWa4Q6V8ImCXXiSWnn7+Z7dfYmUZjiCWIpwSm3776fMgPBoQX+/NKQI1VcEhpnOfz OvbBD6hDPpmWKrlIe6ihjm5IftC9PMSPPOxZvemejDzswClAT0pjEahFtBhsQw56BOR80V silPxkNHv34jdWn/4DxRfQlllXc3gPTV4lN3QHsMMPek0OGz8OaWfK5AuiZO/Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WcXVj5HTFz1B9H; Sun, 4 Aug 2024 21:18:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474LIbYU062608; Sun, 4 Aug 2024 21:18:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474LIbmc062605; Sun, 4 Aug 2024 21:18:37 GMT (envelope-from git) Date: Sun, 4 Aug 2024 21:18:37 GMT Message-Id: <202408042118.474LIbmc062605@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: c7f064bb6698 - main - textproc/py-towncrier23: Add py-towncrier23 23.11.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c7f064bb6698d20725a8ca8ce07a1c86bdbc453b Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c7f064bb6698d20725a8ca8ce07a1c86bdbc453b commit c7f064bb6698d20725a8ca8ce07a1c86bdbc453b Author: Po-Chuan Hsieh AuthorDate: 2024-08-04 21:13:48 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-08-04 21:13:48 +0000 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. --- textproc/Makefile | 1 + textproc/py-towncrier23/Makefile | 35 ++++++++++++++++++++++ textproc/py-towncrier23/distinfo | 3 ++ textproc/py-towncrier23/files/patch-pyproject.toml | 12 ++++++++ textproc/py-towncrier23/pkg-descr | 12 ++++++++ 5 files changed, 63 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 02e238486977..15b67f597bd7 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/py-towncrier23/Makefile b/textproc/py-towncrier23/Makefile new file mode 100644 index 000000000000..3319df3ef852 --- /dev/null +++ b/textproc/py-towncrier23/Makefile @@ -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 diff --git a/textproc/py-towncrier23/distinfo b/textproc/py-towncrier23/distinfo new file mode 100644 index 000000000000..837f52c89cac --- /dev/null +++ b/textproc/py-towncrier23/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722798765 +SHA256 (towncrier-23.11.0.tar.gz) = 13937c247e3f8ae20ac44d895cf5f96a60ad46cfdcc1671759530d7837d9ee5d +SIZE (towncrier-23.11.0.tar.gz) = 51483 diff --git a/textproc/py-towncrier23/files/patch-pyproject.toml b/textproc/py-towncrier23/files/patch-pyproject.toml new file mode 100644 index 000000000000..b526fb03cf2a --- /dev/null +++ b/textproc/py-towncrier23/files/patch-pyproject.toml @@ -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" + diff --git a/textproc/py-towncrier23/pkg-descr b/textproc/py-towncrier23/pkg-descr new file mode 100644 index 000000000000..68e889ecb99e --- /dev/null +++ b/textproc/py-towncrier23/pkg-descr @@ -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.