pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-build



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb 29 21:09:18 UTC 2024

Modified Files:
        pkgsrc/devel/py-build: Makefile PLIST distinfo
        pkgsrc/devel/py-build/patches: patch-pyproject.toml

Log Message:
py-build: updated to 1.1.1

1.1.1 (2024-02-29)

Fixed invoking outer pip from user site packages
Corrected the minimum pip version required to use an outer pip

1.1.0 (2024-02-29)

Use external pip if available instead of installing, speeds up environment setup with virtualenv slightly and venv significantly.
Stopped injecting wheel as a build dependency automatically, in the case of missing pyproject.toml
Use importlib_metadata on Python <3.10.2 for bugfixes not present in those CPython standard libraries (not required when bootstrapping)


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-build/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-build/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-build/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-build/patches/patch-pyproject.toml

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-build/Makefile
diff -u pkgsrc/devel/py-build/Makefile:1.16 pkgsrc/devel/py-build/Makefile:1.17
--- pkgsrc/devel/py-build/Makefile:1.16 Wed Oct 25 22:33:40 2023
+++ pkgsrc/devel/py-build/Makefile      Thu Feb 29 21:09:17 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2023/10/25 22:33:40 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2024/02/29 21:09:17 adam Exp $
 
-DISTNAME=      build-1.0.3
+DISTNAME=      build-1.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/build/}
 
@@ -13,19 +12,21 @@ LICENSE=    mit
 
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=19.0:../../devel/py-packaging
 DEPENDS+=      ${PYPKGPREFIX}-pyproject_hooks-[0-9]*:../../devel/py-pyproject_hooks
-TEST_DEPENDS+= ${PYPKGPREFIX}-filelock-[0-9]*:../../devel/py-filelock
-TEST_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-filelock>=3:../../devel/py-filelock
+TEST_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.36.0:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2.4:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.12:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=2:../../devel/py-test-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-rerunfailures>=9.1:../../devel/py-test-rerunfailures
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.34:../../devel/py-test-xdist
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-
 .if ${PYTHON_VERSION} < 311
-DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
+DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
 .endif
 
 post-install:

Index: pkgsrc/devel/py-build/PLIST
diff -u pkgsrc/devel/py-build/PLIST:1.4 pkgsrc/devel/py-build/PLIST:1.5
--- pkgsrc/devel/py-build/PLIST:1.4     Wed Oct 25 22:33:40 2023
+++ pkgsrc/devel/py-build/PLIST Thu Feb 29 21:09:17 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2023/10/25 22:33:40 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2024/02/29 21:09:17 adam Exp $
 bin/pyproject-build-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -11,12 +11,21 @@ ${PYSITELIB}/build/__init__.pyo
 ${PYSITELIB}/build/__main__.py
 ${PYSITELIB}/build/__main__.pyc
 ${PYSITELIB}/build/__main__.pyo
+${PYSITELIB}/build/_compat/__init__.py
+${PYSITELIB}/build/_compat/__init__.pyc
+${PYSITELIB}/build/_compat/__init__.pyo
+${PYSITELIB}/build/_compat/importlib.py
+${PYSITELIB}/build/_compat/importlib.pyc
+${PYSITELIB}/build/_compat/importlib.pyo
+${PYSITELIB}/build/_compat/tarfile.py
+${PYSITELIB}/build/_compat/tarfile.pyc
+${PYSITELIB}/build/_compat/tarfile.pyo
+${PYSITELIB}/build/_compat/tomllib.py
+${PYSITELIB}/build/_compat/tomllib.pyc
+${PYSITELIB}/build/_compat/tomllib.pyo
 ${PYSITELIB}/build/_exceptions.py
 ${PYSITELIB}/build/_exceptions.pyc
 ${PYSITELIB}/build/_exceptions.pyo
-${PYSITELIB}/build/_importlib.py
-${PYSITELIB}/build/_importlib.pyc
-${PYSITELIB}/build/_importlib.pyo
 ${PYSITELIB}/build/_util.py
 ${PYSITELIB}/build/_util.pyc
 ${PYSITELIB}/build/_util.pyo

Index: pkgsrc/devel/py-build/distinfo
diff -u pkgsrc/devel/py-build/distinfo:1.6 pkgsrc/devel/py-build/distinfo:1.7
--- pkgsrc/devel/py-build/distinfo:1.6  Fri Sep  8 11:47:22 2023
+++ pkgsrc/devel/py-build/distinfo      Thu Feb 29 21:09:17 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2023/09/08 11:47:22 wiz Exp $
+$NetBSD: distinfo,v 1.7 2024/02/29 21:09:17 adam Exp $
 
-BLAKE2s (build-1.0.3.tar.gz) = c23531fe44e38f5df21d19ca2bc7b0471a3677ec7d69d3afa324d7db56f39fb6
-SHA512 (build-1.0.3.tar.gz) = 92179348078647c3162ca6fe2cc1ab374469ab1336feccc5486b50274014f4773006eb50d8d3300390f1442da474424c45002a71ce155b35d7f2b3c5b754a1bd
-Size (build-1.0.3.tar.gz) = 40797 bytes
-SHA1 (patch-pyproject.toml) = 738af4911106b9c7701bf50dd01105edb7ba9fdb
+BLAKE2s (build-1.1.1.tar.gz) = 262094d6c72d7ab98726198c845f306638e457fe452874de2bdc25e9944f8253
+SHA512 (build-1.1.1.tar.gz) = 8e36cf50ffd5b57596128f20c929d210f1ee189bdc89e30570a2448db4d3d4f379389dc052e4c8f8e01ef2d485b1fb6035781e0b7833d71c14658a69438dd528
+Size (build-1.1.1.tar.gz) = 44711 bytes
+SHA1 (patch-pyproject.toml) = 62ecc6de7166fd68814854d92996c00ebaff5f4e

Index: pkgsrc/devel/py-build/patches/patch-pyproject.toml
diff -u pkgsrc/devel/py-build/patches/patch-pyproject.toml:1.1 pkgsrc/devel/py-build/patches/patch-pyproject.toml:1.2
--- pkgsrc/devel/py-build/patches/patch-pyproject.toml:1.1      Fri Sep  8 11:47:22 2023
+++ pkgsrc/devel/py-build/patches/patch-pyproject.toml  Thu Feb 29 21:09:17 2024
@@ -1,15 +1,15 @@
-$NetBSD: patch-pyproject.toml,v 1.1 2023/09/08 11:47:22 wiz Exp $
+$NetBSD: patch-pyproject.toml,v 1.2 2024/02/29 21:09:17 adam Exp $
 
 pkgsrc only has Python 3.8+, so the dependency is not needed.
 (It introduces a dependency cycle.)
 
---- pyproject.toml.orig        2023-09-06 22:31:16.000000000 +0000
+--- pyproject.toml.orig        2024-02-29 20:24:09.035385000 +0000
 +++ pyproject.toml
-@@ -36,7 +36,6 @@ dependencies = [
+@@ -38,7 +38,6 @@ dependencies = [
    "pyproject_hooks",
    # not actually a runtime dependency, only supplied as there is not "recommended dependency" support
    'colorama; os_name == "nt"',
--  'importlib-metadata >= 4.6; python_version < "3.10"',  # Not required for 3.8+, but fixes a stdlib bug
+-  'importlib-metadata >= 4.6; python_full_version < "3.10.2"',  # Not required for 3.8+, but fixes a stdlib bug
    'tomli >= 1.1.0; python_version < "3.11"',
  ]
  



Home | Main Index | Thread Index | Old Index