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

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


Branch: CURRENT, Version: 1.5.0, Package name: py37-importlib-resources-1.5.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: 7fe714bd58d153a8861f2f586d26dbcc48cc24a7
RMD160: a46cdc176023f7f037123eadf075c9438e02f976
Filesize: 23.105 KB

Version history: (Expand)


CVS history: (Expand)


   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.