pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-lazy-importer
Module Name: pkgsrc
Committed By: leot
Date: Wed Nov 25 14:24:31 UTC 2026
Added Files:
pkgsrc/devel/py-lazy-importer: DESCR Makefile PLIST distinfo
Log Message:
py-lazy-importer: Import py-lazy-importer-0.1.0
A backwards-compatibility shim allowing libraries to get lazy import
semantics similar to PEP 810 automatically in Python 3.11+ without
needing to set your minimum version to 3.15. In Python 3.15+, this
falls back to the standard lazy imports mechanism.
Needed by py-importlib-metadata.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-lazy-importer/DESCR \
pkgsrc/devel/py-lazy-importer/Makefile \
pkgsrc/devel/py-lazy-importer/PLIST \
pkgsrc/devel/py-lazy-importer/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-lazy-importer/DESCR
diff -u /dev/null pkgsrc/devel/py-lazy-importer/DESCR:1.1
--- /dev/null Wed Nov 25 14:24:31 2026
+++ pkgsrc/devel/py-lazy-importer/DESCR Wed Nov 25 14:24:30 2026
@@ -0,0 +1,4 @@
+A backwards-compatibility shim allowing libraries to get lazy import
+semantics similar to PEP 810 automatically in Python 3.11+ without
+needing to set your minimum version to 3.15. In Python 3.15+, this
+falls back to the standard lazy imports mechanism.
Index: pkgsrc/devel/py-lazy-importer/Makefile
diff -u /dev/null pkgsrc/devel/py-lazy-importer/Makefile:1.1
--- /dev/null Wed Nov 25 14:24:31 2026
+++ pkgsrc/devel/py-lazy-importer/Makefile Wed Nov 25 14:24:30 2026
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2026/11/25 14:24:30 leot Exp $
+
+DISTNAME= lazy_importer-0.1.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=l/lazy_importer/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pypi.org/project/lazy_importer/
+COMMENT= Context manager for portable, opt-in lazy imports
+LICENSE= apache-2.0
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.12:../../devel/py-flit_core
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-lazy-importer/PLIST
diff -u /dev/null pkgsrc/devel/py-lazy-importer/PLIST:1.1
--- /dev/null Wed Nov 25 14:24:31 2026
+++ pkgsrc/devel/py-lazy-importer/PLIST Wed Nov 25 14:24:30 2026
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2026/11/25 14:24:30 leot Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/lazy_importer/__init__.py
+${PYSITELIB}/lazy_importer/__init__.pyc
+${PYSITELIB}/lazy_importer/__init__.pyo
+${PYSITELIB}/lazy_importer/_imports.py
+${PYSITELIB}/lazy_importer/_imports.pyc
+${PYSITELIB}/lazy_importer/_imports.pyo
+${PYSITELIB}/lazy_importer/_native.py
+${PYSITELIB}/lazy_importer/_native.pyc
+${PYSITELIB}/lazy_importer/_native.pyo
+${PYSITELIB}/lazy_importer/py.typed
Index: pkgsrc/devel/py-lazy-importer/distinfo
diff -u /dev/null pkgsrc/devel/py-lazy-importer/distinfo:1.1
--- /dev/null Wed Nov 25 14:24:31 2026
+++ pkgsrc/devel/py-lazy-importer/distinfo Wed Nov 25 14:24:31 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/11/25 14:24:31 leot Exp $
+
+BLAKE2s (lazy_importer-0.1.0.tar.gz) = 49adbf73b3625888ea6a0b8494cbcf5a6a2566f5b25acec2c1ad8ea07905b2fd
+SHA512 (lazy_importer-0.1.0.tar.gz) = 935fd9f8af4b1827d3189ece108095d69ad77b4fe97ef4bfd4e0dc9889f64b36431fb95cdf50785aeb18783d404cac707235a402086794660b4f8b3108b3144e
+Size (lazy_importer-0.1.0.tar.gz) = 84008 bytes
Home |
Main Index |
Thread Index |
Old Index