Skip to content

Commit

Permalink
textproc/py-towncrier: Update to 24.7.1
Browse files Browse the repository at this point in the history
- Convert to PEP517
- Update run/build dependencies according to pyproject.toml

Release changes:	https://github.com/twisted/towncrier/releases/tag/24.7.1
Reported by:	Adi Roiban <[email protected]>
  • Loading branch information
nivit committed Aug 1, 2024
1 parent 88cd789 commit 4bd3073
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
33 changes: 23 additions & 10 deletions textproc/py-towncrier/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
PORTNAME= towncrier
PORTVERSION= 22.12.0
PORTREVISION= 1
PORTVERSION= 24.7.1
CATEGORIES= textproc
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,16 +11,30 @@ WWW= https://github.com/twisted/towncrier
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click-default-group>=0:devel/py-click-default-group@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}incremental>=0:devel/py-incremental@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
${PY_TOMLI}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.25.0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PY_TOMLI} \
${PYTHON_PKGNAMEPREFIX}click-default-group>=1.2.4:devel/py-click-default-group@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click>=8.1.7:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}incremental>=21.3.0:devel/py-incremental@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.3:devel/py-Jinja2@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517

NO_ARCH= yes

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

.if defined(PYTHON_VER) && ${PYTHON_VER} < 3.10
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=7.1.0:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}importlib-resources>=6.4.0:devel/py-importlib-resources@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=7.1.0:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}importlib-resources>=6.4.0:devel/py-importlib-resources@${PY_FLAVOR}
.endif

.if defined(PYTHON_VER) && ${PYTHON_VER} < 3.11
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=2.0.1:textproc/py-tomli@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=2.0.1:textproc/py-tomli@${PY_FLAVOR}
.endif

.include <bsd.port.post.mk>
6 changes: 3 additions & 3 deletions textproc/py-towncrier/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1671724352
SHA256 (towncrier-22.12.0.tar.gz) = 9c49d7e75f646a9aea02ae904c0bc1639c8fd14a01292d2b123b8d307564034d
SIZE (towncrier-22.12.0.tar.gz) = 46201
TIMESTAMP = 1722497272
SHA256 (towncrier-24.7.1.tar.gz) = 57a057faedabcadf1a62f6f9bad726ae566c1f31a411338ddb8316993f583b3d
SIZE (towncrier-24.7.1.tar.gz) = 60684

0 comments on commit 4bd3073

Please sign in to comment.