pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-lama



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Feb 22 11:51:38 UTC 2026

Modified Files:
        pkgsrc/devel/py-lama: Makefile distinfo
Added Files:
        pkgsrc/devel/py-lama/patches: patch-pylama_lint_____init____.py

Log Message:
py-lama: stop using deprecated pkg_resources

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-lama/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-lama/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/py-lama/patches/patch-pylama_lint_____init____.py

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-lama/Makefile
diff -u pkgsrc/devel/py-lama/Makefile:1.14 pkgsrc/devel/py-lama/Makefile:1.15
--- pkgsrc/devel/py-lama/Makefile:1.14  Tue Feb 17 15:45:12 2026
+++ pkgsrc/devel/py-lama/Makefile       Sun Feb 22 11:51:38 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2026/02/17 15:45:12 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2026/02/22 11:51:38 wiz Exp $
 
 DISTNAME=      pylama-8.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pylama/}
 

Index: pkgsrc/devel/py-lama/distinfo
diff -u pkgsrc/devel/py-lama/distinfo:1.11 pkgsrc/devel/py-lama/distinfo:1.12
--- pkgsrc/devel/py-lama/distinfo:1.11  Tue Feb 17 15:45:12 2026
+++ pkgsrc/devel/py-lama/distinfo       Sun Feb 22 11:51:38 2026
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2026/02/17 15:45:12 wiz Exp $
+$NetBSD: distinfo,v 1.12 2026/02/22 11:51:38 wiz Exp $
 
 BLAKE2s (pylama-8.4.1.tar.gz) = a87eaa7ec81b4fb5d1f0cc017a773a0950ca20f67c254f778b8edf181cfeaf06
 SHA512 (pylama-8.4.1.tar.gz) = b1a968caa743ecbeff88676666419d3ad4d60dea0cc0c50744ff185548d6ef59ea68e196fecd50e1dc082bc759a1c812172566f85ac15cda785d9b338b78f2cf
 Size (pylama-8.4.1.tar.gz) = 33616 bytes
+SHA1 (patch-pylama_lint_____init____.py) = fec7c63294dcd06fbc6598e8934e6abf8db08cf2
 SHA1 (patch-setup.py) = 30a4e6bd0d62decc6843c1038faec2ea5092ba3a

Added files:

Index: pkgsrc/devel/py-lama/patches/patch-pylama_lint_____init____.py
diff -u /dev/null pkgsrc/devel/py-lama/patches/patch-pylama_lint_____init____.py:1.1
--- /dev/null   Sun Feb 22 11:51:38 2026
+++ pkgsrc/devel/py-lama/patches/patch-pylama_lint_____init____.py      Sun Feb 22 11:51:38 2026
@@ -0,0 +1,24 @@
+$NetBSD: patch-pylama_lint_____init____.py,v 1.1 2026/02/22 11:51:38 wiz Exp $
+
+https://github.com/klen/pylama/pull/254/files
+
+--- pylama/lint/__init__.py.orig       2022-08-08 11:26:27.000000000 +0000
++++ pylama/lint/__init__.py
+@@ -7,7 +7,7 @@ from typing import TYPE_CHECKING, Any, Dict, List, Opt
+ from pkgutil import walk_packages
+ from typing import TYPE_CHECKING, Any, Dict, List, Optional, Type
+ 
+-from pkg_resources import iter_entry_points
++from importlib.metadata import entry_points
+ 
+ LINTERS: Dict[str, Type[LinterV2]] = {}
+ 
+@@ -58,7 +58,7 @@ for _, pname, _ in walk_packages([str(Path(__file__).p
+         pass
+ 
+ # Import installed linters
+-for entry in iter_entry_points("pylama.linter"):
++for entry in entry_points(group="pylama.linter"):
+     if entry.name not in LINTERS:
+         try:
+             LINTERS[entry.name] = entry.load()



Home | Main Index | Thread Index | Old Index