pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/py-lazy_loader



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Apr  5 17:24:25 UTC 2024

Modified Files:
        pkgsrc/misc/py-lazy_loader: Makefile PLIST distinfo

Log Message:
py-lazy_loader: updated to 0.4

lazy_loader 0.4

Enhancements

ENH: Add require argument to load() to accept version specifiers
Add version as __version__

Bug Fixes

Avoid exception when __frame_data["code_context"] is None
Make lazy_load.load partially thread-safe

Documentation

Add security contact
Recommend newer Python versions to avoid race


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/misc/py-lazy_loader/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/py-lazy_loader/PLIST \
    pkgsrc/misc/py-lazy_loader/distinfo

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

Modified files:

Index: pkgsrc/misc/py-lazy_loader/Makefile
diff -u pkgsrc/misc/py-lazy_loader/Makefile:1.3 pkgsrc/misc/py-lazy_loader/Makefile:1.4
--- pkgsrc/misc/py-lazy_loader/Makefile:1.3     Sat Oct 28 19:57:12 2023
+++ pkgsrc/misc/py-lazy_loader/Makefile Fri Apr  5 17:24:25 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2023/10/28 19:57:12 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2024/04/05 17:24:25 adam Exp $
 
-DISTNAME=      lazy_loader-0.3
+DISTNAME=      lazy_loader-0.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    misc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lazy_loader/}
 
@@ -11,16 +10,14 @@ HOMEPAGE=   https://github.com/scientific-
 COMMENT=       Load subpackages and functions on demand
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.8:../../devel/py-flit_core
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.4:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.2:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.1:../../devel/py-test-cov
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} lazy_loader
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/misc/py-lazy_loader/PLIST
diff -u pkgsrc/misc/py-lazy_loader/PLIST:1.2 pkgsrc/misc/py-lazy_loader/PLIST:1.3
--- pkgsrc/misc/py-lazy_loader/PLIST:1.2        Sat Oct 28 19:57:12 2023
+++ pkgsrc/misc/py-lazy_loader/PLIST    Fri Apr  5 17:24:25 2024
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2023/10/28 19:57:12 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/04/05 17:24:25 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.md
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/lazy_loader/__init__.py
 ${PYSITELIB}/lazy_loader/__init__.pyc
 ${PYSITELIB}/lazy_loader/__init__.pyo
@@ -16,6 +17,9 @@ ${PYSITELIB}/lazy_loader/tests/fake_pkg/
 ${PYSITELIB}/lazy_loader/tests/fake_pkg/some_func.py
 ${PYSITELIB}/lazy_loader/tests/fake_pkg/some_func.pyc
 ${PYSITELIB}/lazy_loader/tests/fake_pkg/some_func.pyo
+${PYSITELIB}/lazy_loader/tests/import_np_parallel.py
+${PYSITELIB}/lazy_loader/tests/import_np_parallel.pyc
+${PYSITELIB}/lazy_loader/tests/import_np_parallel.pyo
 ${PYSITELIB}/lazy_loader/tests/test_lazy_loader.py
 ${PYSITELIB}/lazy_loader/tests/test_lazy_loader.pyc
 ${PYSITELIB}/lazy_loader/tests/test_lazy_loader.pyo
Index: pkgsrc/misc/py-lazy_loader/distinfo
diff -u pkgsrc/misc/py-lazy_loader/distinfo:1.2 pkgsrc/misc/py-lazy_loader/distinfo:1.3
--- pkgsrc/misc/py-lazy_loader/distinfo:1.2     Tue Jul 18 04:43:22 2023
+++ pkgsrc/misc/py-lazy_loader/distinfo Fri Apr  5 17:24:25 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/07/18 04:43:22 adam Exp $
+$NetBSD: distinfo,v 1.3 2024/04/05 17:24:25 adam Exp $
 
-BLAKE2s (lazy_loader-0.3.tar.gz) = 770f088c6a54ab68c5690fdcac7d7f4c26857ec1a6745d1dbf160501b7213acc
-SHA512 (lazy_loader-0.3.tar.gz) = 282efef8a20321bda07be382871fa3314ebf6c59f2451b33e613a72dd5b875fe7a7b8ea1336c879d79bf78cb808e1220a68ba30cd4e948d8c10ab0ca9ec23938
-Size (lazy_loader-0.3.tar.gz) = 12268 bytes
+BLAKE2s (lazy_loader-0.4.tar.gz) = e35f668ed813c44d20fa2e999e743f0c9b7c32064753457669b9571f0fed865d
+SHA512 (lazy_loader-0.4.tar.gz) = 29e3589929869351ea62cf7cbba86b581bd7935918b54cfd5ac107cbf7cc427d6d4e050ec1f9bef084587e55286d7afa31d5cdb6deb7d072d25493d19d6bbce6
+Size (lazy_loader-0.4.tar.gz) = 15431 bytes



Home | Main Index | Thread Index | Old Index