pkgsrc-WIP-changes archive

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

py-pre-commit: update to 3.6.0



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iquiw%NetBSD.org@localhost>
Pushed By:	iquiw
Date:		Sun Dec 10 10:47:25 2023 +0900
Changeset:	24119fc20748f90f4d1c3b6db2cd1d36264aa737

Modified Files:
	py-pre-commit/Makefile
	py-pre-commit/PLIST
	py-pre-commit/distinfo

Log Message:
py-pre-commit: update to 3.6.0

Pkgsrc changes:

* Switch to use wheel.mk.
* Make it incompatible with python38.

Upstream changes:

Features

* Check minimum_pre_commit_version first when parsing configs.

Fixes

* Fix deprecation warnings for importlib.resources.
* Fix deprecation warnings for rmtree.

Updating

* Drop support for python<3.9.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=24119fc20748f90f4d1c3b6db2cd1d36264aa737

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

diffstat:
 py-pre-commit/Makefile |  6 +++---
 py-pre-commit/PLIST    | 12 ++++++------
 py-pre-commit/distinfo |  6 +++---
 3 files changed, 12 insertions(+), 12 deletions(-)

diffs:
diff --git a/py-pre-commit/Makefile b/py-pre-commit/Makefile
index 89f5c5a074..7028df832b 100644
--- a/py-pre-commit/Makefile
+++ b/py-pre-commit/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	pre_commit-3.5.0
+DISTNAME=	pre_commit-3.6.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pre_commit/}
@@ -10,7 +10,7 @@ HOMEPAGE=	https://pre-commit.com/
 COMMENT=	Framework for managing and maintaining multi-language pre-commit hook
 LICENSE=	mit
 
-PYTHON_VERSIONS_INCOMPATIBLE=	27
+PYTHON_VERSIONS_INCOMPATIBLE=	27 38 # upstream dropped support
 
 DEPENDS+=	${PYPKGPREFIX}-cfgv>=2.0.0:../../wip/py-cfgv
 DEPENDS+=	${PYPKGPREFIX}-identify>=1.0.0:../../wip/py-identify
@@ -25,5 +25,5 @@ REPLACE_PYTHON=	pre-commit.py
 REPLACE_BASH=	pre_commit/resources/hook-tmpl
 
 .include "../../lang/python/application.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-pre-commit/PLIST b/py-pre-commit/PLIST
index 4be17cc787..7d22e1511e 100644
--- a/py-pre-commit/PLIST
+++ b/py-pre-commit/PLIST
@@ -1,11 +1,11 @@
 @comment $NetBSD$
 bin/pre-commit
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pre_commit/__init__.py
 ${PYSITELIB}/pre_commit/__init__.pyc
 ${PYSITELIB}/pre_commit/__init__.pyo
diff --git a/py-pre-commit/distinfo b/py-pre-commit/distinfo
index 8fc05df065..d95f53fa0c 100644
--- a/py-pre-commit/distinfo
+++ b/py-pre-commit/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (pre_commit-3.5.0.tar.gz) = 1476e7866560dc2b81dfbd01d21a9233e51520257564f2d334fe579f6745b9f4
-SHA512 (pre_commit-3.5.0.tar.gz) = 2deb91aa9b2209da38a51de86c31ed2762492276439383f52b516f0376068a21a37ed6764c625f6cfd11b71aab6b5935567f376ef81724f453999faaa2cfa903
-Size (pre_commit-3.5.0.tar.gz) = 177079 bytes
+BLAKE2s (pre_commit-3.6.0.tar.gz) = fb718df57d3ff1ca90227517d954c964389601d7da2072382d5ccaae292b7f43
+SHA512 (pre_commit-3.6.0.tar.gz) = 28ff5fd21ff736892e06394f9caf04fe736066b9152c1da707a686bea0f648e781eef12aff7aa26249be98c1675b1d30a08a27617bf7ed4544543f55499c3021
+Size (pre_commit-3.6.0.tar.gz) = 177069 bytes


Home | Main Index | Thread Index | Old Index