./devel/py-importlib-resources, Read resources from Python packages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.0.0, Package name: py37-importlib-resources-3.0.0, Maintainer: pkgsrc-users

importlib_resources is a backport of Python 3.7's standard library
importlib.resources module for Python 2.7, and 3.4 through 3.6. Users of Python
3.7 and beyond should use the standard library module, since for these
versions, importlib_resources just delegates to that module.


Required to run:
[devel/py-setuptools] [lang/python37] [archivers/py-zipp]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

SHA1: 25fe26613c3b3ab8e92c3d7bafc04cf8c53a5778
RMD160: d56316df5b65d7888048980e3e0cddf832d64568
Filesize: 26.099 KB

Version history: (Expand)


CVS history: (Expand)


   2020-10-21 10:40:54 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 3.0.0

v3.0.0

Package no longer exposes importlib_resources.__version__. Users that wish to \ 
inspect the version of importlib_resources should instead invoke \ 
.version('importlib_resources') from importlib-metadata ( stdlib or backport) \ 
directly. This change eliminates the dependency on importlib_metadata.
Package now always includes its data.
Declare hidden imports for PyInstaller.

v2.0.1

Select pathlib and contextlib imports based on Python version and avoid pulling \ 
in deprecated [pathlib](https://pypi.org/project/pathlib).

v2.0.0

Loaders are no longer expected to implement the abc.TraversableResources \ 
interface, but are instead expected to return TraversableResources from their \ 
get_resource_reader method.
   2020-05-12 20:42:30 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 1.5.0

v1.5.0
* Traversable is now a Protocol instead of an Abstract Base
  Class (Python 2.7 and Python 3.8+).
* Traversable objects now require a ``.name`` property.
   2020-04-07 11:17:52 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 1.4.0

v1.4.0
* Temporary files created will now reflect the filename of
  their origin.
   2020-03-16 00:14:40 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 1.3.1

v1.3.1
For improved compatibility, importlib_resources.trees is now imported implicitly.

v1.3.0
Add extensibility support for non-standard loaders to supply Traversable \ 
resources. Introduces a new abstract base class abc.TraversableResources that \ 
supersedes (but implements for compatibility) abc.ResourceReader. Any loader \ 
that implements (implicitly or explicitly) the TraversableResources.files method \ 
will be capable of supplying resources with subdirectory support.
Preferred way to access as_file is now from top-level module. \ 
importlib_resources.trees.as_file is deprecated and discouraged.
Moved Traversable abc to abc module.
   2020-03-12 08:35:23 by Thomas Klausner | Files touched by this commit (2)
Log message:
*: get py-zipp via versioned_dependencies.mk
   2020-03-03 07:01:00 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 1.2.0

v1.2.0
Traversable now requires an open method.
Fixed error on Python 3.5.{0,3}.
Updated packaging to resolve version from package metadata.
   2020-03-02 11:41:22 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-importlib-resources: updated to 1.1.0

v1.1.0

Add support for retrieving resources from subdirectories of packages through the \ 
new files() function, which returns a Traversable object with joinpath and \ 
read_* interfaces matching those of pathlib.Path objects. This new function \ 
supersedes all of the previous functionality as it provides a more \ 
general-purpose access to a package’s resources.

With this function, subdirectories are supported.

The documentation has been updated to reflect that this function is now the \ 
preferred interface for loading package resources. It does not, however, support \ 
resources from arbitrary loaders. It currently only supports resources from file \ 
system path and zipfile packages (a consequence of the ResourceReader interface \ 
only operating on Python packages).
   2020-02-10 19:28:25 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-importlib-resources: added version 1.0.2

importlib_resources is a backport of Python 3.7's standard library
importlib.resources module for Python 2.7, and 3.4 through 3.6. Users of Python
3.7 and beyond should use the standard library module, since for these
versions, importlib_resources just delegates to that module.