pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-vcs-versioning



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep  2 10:29:53 UTC 2026

Modified Files:
        pkgsrc/devel/py-vcs-versioning: Makefile distinfo

Log Message:
py-vcs-versioning: updated to 2.3.2

2.3.2 (2026-09-01)

Fixed

- Register the `pkginfo` workdir discovery factory in vcs-versioning itself. `PKG-INFO` is standard sdist metadata, not a setuptools artifact, but its factory was only registered by setuptools-scm -- 
so a standalone vcs-versioning install could not infer a version from an sdist. This broke sdist builds for non-setuptools backends, e.g. meson-python calling `python -m vcs_versioning` from 
`project()`.

  Fallback workdir candidates are now ordered by how much metadata they carry (egg-info, then archival, then `PKG-INFO`) instead of by entry point iteration order, so a setuptools built sdist keeps 
using its `scm_version.json` now that the two factories ship from different distributions.

Miscellaneous

- Stop shipping a per-package `uv.lock` in the sdist. It could not be generated correctly whenever `setuptools-scm` required an unreleased `vcs-versioning`, which broke the release proposal workflow.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-vcs-versioning/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-vcs-versioning/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-vcs-versioning/Makefile
diff -u pkgsrc/devel/py-vcs-versioning/Makefile:1.10 pkgsrc/devel/py-vcs-versioning/Makefile:1.11
--- pkgsrc/devel/py-vcs-versioning/Makefile:1.10        Sun Aug 23 08:23:11 2026
+++ pkgsrc/devel/py-vcs-versioning/Makefile     Wed Sep  2 10:29:52 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2026/08/23 08:23:11 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2026/09/02 10:29:52 adam Exp $
 
-DISTNAME=      vcs_versioning-2.3.1
+DISTNAME=      vcs_versioning-2.3.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=v/vcs_versioning/}
@@ -11,11 +11,11 @@ COMMENT=    Manage your versions by vcs met
 LICENSE=       mit
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-DEPENDS+=      ${PYPKGPREFIX}-packaging>=20:../../devel/py-packaging
+DEPENDS+=      ${PYPKGPREFIX}-packaging>=26.2:../../devel/py-packaging
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0:../../devel/py-test-timeout
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=0:../../devel/py-test-xdist
-TEST_DEPENDS+= ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial
-TEST_DEPENDS+= jj-[0-9]*:../../devel/jj
+TEST_DEPENDS+= ${PYPKGPREFIX}-mercurial>=0:../../devel/py-mercurial
+TEST_DEPENDS+= jj>=0:../../devel/jj
 
 USE_TOOLS+=    git:test
 
@@ -26,7 +26,7 @@ PY_RENAME_BINARIES=   vcs-versioning
 .include "../../lang/python/pyversion.mk"
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=      ${PYPKGPREFIX}-tomli>=1:../../textproc/py-tomli
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=0:../../devel/py-typing-extensions
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.1:../../devel/py-typing-extensions
 .endif
 
 # as of 2.3.1

Index: pkgsrc/devel/py-vcs-versioning/distinfo
diff -u pkgsrc/devel/py-vcs-versioning/distinfo:1.9 pkgsrc/devel/py-vcs-versioning/distinfo:1.10
--- pkgsrc/devel/py-vcs-versioning/distinfo:1.9 Sun Aug 23 08:23:11 2026
+++ pkgsrc/devel/py-vcs-versioning/distinfo     Wed Sep  2 10:29:52 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2026/08/23 08:23:11 wiz Exp $
+$NetBSD: distinfo,v 1.10 2026/09/02 10:29:52 adam Exp $
 
-BLAKE2s (vcs_versioning-2.3.1.tar.gz) = 83a49b4902254564a100024fb354ed03501cda162173b65a8bae54c49f460e33
-SHA512 (vcs_versioning-2.3.1.tar.gz) = 31ea5d94b881eb19c709873086110498c64da4a3525f6eace82fe693ea7243b812f1434c20e08ad8c6ad9c3cb013831ecfe88834739dc60a9c1b78fb746c5dee
-Size (vcs_versioning-2.3.1.tar.gz) = 156292 bytes
+BLAKE2s (vcs_versioning-2.3.2.tar.gz) = 0acc598dc32525b0dd71428b2d2d8f7a22b84de4c9a644c76eedce44f54bcef7
+SHA512 (vcs_versioning-2.3.2.tar.gz) = d50d809d2062e828181180d74f983aa68bb35e3cc985e5a14cad785da47a99c390b44da66ab473bcff22b49d340338ae2027efbb70087938ba23743550eaead0
+Size (vcs_versioning-2.3.2.tar.gz) = 149377 bytes



Home | Main Index | Thread Index | Old Index