py-importlib-resources: updated to 6.4.0

v6.4.0

Features

- The functions
  ``is_resource()``,
  ``open_binary()``,
  ``open_text()``,
  ``path()``,
  ``read_binary()``, and
  ``read_text()`` are un-deprecated, and support
  subdirectories via multiple positional arguments.
  The ``contents()`` function also allows subdirectories,
  but remains deprecated.
- Deferred select imports in for a speedup.


v6.3.2

Bugfixes

- Restored expectation that local standard readers are preferred over degenerate readers.


v6.3.1

Bugfixes

- Restored expectation that stdlib readers are suppressed on Python 3.10.


v6.3.0

Features

- Add ``Anchor`` to ``importlib.resources`` (in order for the code to comply with the documentation)


v6.2.0

Features

- Future compatibility adapters now ensure that standard library readers are replaced without overriding non-standard readers.
This commit is contained in:
adam 2024-03-24 19:24:42 +00:00
parent 58fbd09035
commit 4d53e6235c
3 changed files with 17 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.24 2024/03/07 16:35:41 adam Exp $
# $NetBSD: Makefile,v 1.25 2024/03/24 19:24:42 adam Exp $
DISTNAME= importlib_resources-6.1.3
DISTNAME= importlib_resources-6.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/importlib_resources/}
@ -13,6 +13,10 @@ LICENSE= apache-2.0
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=56:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
TEST_DEPENDS+= ${PYPKGPREFIX}-jaraco.test>=5.4:../../devel/py-jaraco.test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-checkdocs>=2.4:../../devel/py-test-checkdocs
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mypy-[0-9]*:../../devel/py-test-mypy
TEST_DEPENDS+= ${PYPKGPREFIX}-zipp>=3.17:../../archivers/py-zipp
USE_LANGUAGES= # none

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.14 2024/03/07 16:35:41 adam Exp $
@comment $NetBSD: PLIST,v 1.15 2024/03/24 19:24:42 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@ -28,6 +28,9 @@ ${PYSITELIB}/importlib_resources/compat/py38.pyo
${PYSITELIB}/importlib_resources/compat/py39.py
${PYSITELIB}/importlib_resources/compat/py39.pyc
${PYSITELIB}/importlib_resources/compat/py39.pyo
${PYSITELIB}/importlib_resources/functional.py
${PYSITELIB}/importlib_resources/functional.pyc
${PYSITELIB}/importlib_resources/functional.pyo
${PYSITELIB}/importlib_resources/future/__init__.py
${PYSITELIB}/importlib_resources/future/__init__.pyc
${PYSITELIB}/importlib_resources/future/__init__.pyo
@ -94,6 +97,9 @@ ${PYSITELIB}/importlib_resources/tests/test_custom.pyo
${PYSITELIB}/importlib_resources/tests/test_files.py
${PYSITELIB}/importlib_resources/tests/test_files.pyc
${PYSITELIB}/importlib_resources/tests/test_files.pyo
${PYSITELIB}/importlib_resources/tests/test_functional.py
${PYSITELIB}/importlib_resources/tests/test_functional.pyc
${PYSITELIB}/importlib_resources/tests/test_functional.pyo
${PYSITELIB}/importlib_resources/tests/test_open.py
${PYSITELIB}/importlib_resources/tests/test_open.pyc
${PYSITELIB}/importlib_resources/tests/test_open.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.19 2024/03/07 16:35:41 adam Exp $
$NetBSD: distinfo,v 1.20 2024/03/24 19:24:42 adam Exp $
BLAKE2s (importlib_resources-6.1.3.tar.gz) = 7cb934ef53b539230fdb38c9d4d03f4b1e5e2c463870936e21d844e952296b3c
SHA512 (importlib_resources-6.1.3.tar.gz) = 68b1040cc048b4d930e8ed76acb5d4f7f1d96fac1a3eac41597813b56e88467037753e2f1c74437ab350c38df49b2c4321b6eac304da91d6ef9f813ac97332c6
Size (importlib_resources-6.1.3.tar.gz) = 39225 bytes
BLAKE2s (importlib_resources-6.4.0.tar.gz) = 87c5c6654f2aa2381efa48a6ff0665f74bb7348af754279d0b7c587ca44f873b
SHA512 (importlib_resources-6.4.0.tar.gz) = c600e7ba96431f15a929e5acda89a262ceef33a3f44ae361fad4201dde8033dd8f0f2bcb856619fd5e21209a5d17cf9ae3610e65c3e6ecd0e36545437d0064b9
Size (importlib_resources-6.4.0.tar.gz) = 42040 bytes