CVS commit: pkgsrc/devel/py-hatchling

"Adam Ciarcinski" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	adam
Date:		Tue Aug 11 14:28:17 UTC 2026

Modified Files:
	pkgsrc/devel/py-hatchling: Makefile distinfo

Log Message:
py-hatchling: updated to 1.32.0

1.32.0

Changed:

Bump default core metadata version to 2.5

Add tomlkit as a runtime dependency, which is required to rewrite pyproject.toml when setting a static version

Added:

The version command can now set a version that is statically defined by the project.version field, updating pyproject.toml in place. Pass --force to allow an explicit downgrade

Fixed:

Allow the ; private annotation on project.import-names and project.import-namespaces entries rather than rejecting them as invalid import names.

Reject project.readme paths that are absolute or resolve outside of the project directory.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/py-hatchling/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/py-hatchling/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 2.3 KB)
Modified files:

Index: pkgsrc/devel/py-hatchling/Makefile
diff -u pkgsrc/devel/py-hatchling/Makefile:1.34 pkgsrc/devel/py-hatchling/Makefile:1.35
--- pkgsrc/devel/py-hatchling/Makefile:1.34	Mon Jul 13 11:19:53 2026
+++ pkgsrc/devel/py-hatchling/Makefile	Tue Aug 11 14:28:17 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2026/07/13 11:19:53 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2026/08/11 14:28:17 adam Exp $
 
-DISTNAME=	hatchling-1.31.0
+DISTNAME=	hatchling-1.32.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=h/hatchling/}
@@ -13,18 +13,17 @@ LICENSE=	mit
 DEPENDS+=	${PYPKGPREFIX}-packaging>=24.2:../../devel/py-packaging
 DEPENDS+=	${PYPKGPREFIX}-pathspec>=0.10.1:../../devel/py-pathspec
 DEPENDS+=	${PYPKGPREFIX}-pluggy>=1.0.0:../../devel/py-pluggy
+DEPENDS+=	${PYPKGPREFIX}-tomlkit>=0.11.1:../../textproc/py-tomlkit
 DEPENDS+=	${PYPKGPREFIX}-trove-classifiers-[0-9]*:../../misc/py-trove-classifiers
 
 USE_LANGUAGES=	# none
 
+PY_RENAME_BINARIES=	hatchling
+
 .include "../../lang/python/pyversion.mk"
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=	${PYPKGPREFIX}-tomli>=1.2.2:../../textproc/py-tomli
 .endif
 
-post-install:
-	cd ${DESTDIR}${PREFIX}/bin && \
-	${MV} hatchling hatchling-${PYVERSSUFFIX} || ${TRUE}
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-hatchling/distinfo
diff -u pkgsrc/devel/py-hatchling/distinfo:1.30 pkgsrc/devel/py-hatchling/distinfo:1.31
--- pkgsrc/devel/py-hatchling/distinfo:1.30	Mon Jul 13 11:19:53 2026
+++ pkgsrc/devel/py-hatchling/distinfo	Tue Aug 11 14:28:17 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2026/07/13 11:19:53 wiz Exp $
+$NetBSD: distinfo,v 1.31 2026/08/11 14:28:17 adam Exp $
 
-BLAKE2s (hatchling-1.31.0.tar.gz) = 16f780e3ac55e4e68df40a76c220b762faf14cb5c0e9544933fbda13ccda23e0
-SHA512 (hatchling-1.31.0.tar.gz) = e48055970b0b6d0752d704c89c660d11530c2594c24eb8d4660b6ae53d79fa8170b0306481c8a8bca3d06feb4476bcdd79d9c1a5dea3c7a4f84a762ecfd5c594
-Size (hatchling-1.31.0.tar.gz) = 57208 bytes
+BLAKE2s (hatchling-1.32.0.tar.gz) = c83272503396d3b6d22ed39d436063be38573d0f37e990615f05f95c143bfeb5
+SHA512 (hatchling-1.32.0.tar.gz) = 8a4989943705f547f848ca6d46e33cf3b4949c81b21dff38baf48b532b6ea415cd0558538a8f404a1fd09d8d97ec47c36cb7b1e350aef9b8840f55380841de34
+Size (hatchling-1.32.0.tar.gz) = 57783 bytes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.