Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681670 - dev-python/importlib_resources: Read resources from Python packages
Summary: dev-python/importlib_resources: Read resources from Python packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://gitlab.com/python-devs/import...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-03-24 17:00 UTC by Ralph Seichter
Modified: 2019-03-26 16:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Seichter 2019-03-24 17:00:36 UTC
Backport of Python 3.7's standard library importlib.resources module for Python 2.7, and 3.4 through 3.6.
Comment 1 Ralph Seichter 2019-03-24 17:05:45 UTC
Project documentation: https://importlib-resources.readthedocs.io/en/latest/
Comment 2 Larry the Git Cow gentoo-dev 2019-03-26 16:45:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c37fa91155a0ed35c901e627fc87038386ca874

commit 9c37fa91155a0ed35c901e627fc87038386ca874
Author:     Ralph Seichter <github@seichter.de>
AuthorDate: 2019-03-24 16:53:38 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2019-03-26 16:45:25 +0000

    dev-python/importlib_resources: new package.
    
    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
    are encouraged to use the standard library module, and in fact for
    these versions, importlib_resources just shadows that module.
    
    Gentoo specific, I removed Python 3.4 from PYTHON_COMPAT, because that
    version is masked and will be removed soon (see
    https://github.com/gentoo/gentoo/pull/11482#issuecomment-476083100).
    
    Signed-off-by: Ralph Seichter <gentoo@seichter.de>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11
    Closes: https://bugs.gentoo.org/681670
    Closes: https://github.com/gentoo/gentoo/pull/11482
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 dev-python/importlib_resources/Manifest            |  1 +
 .../importlib_resources-1.0.2.ebuild               | 27 ++++++++++++++++++++++
 dev-python/importlib_resources/metadata.xml        | 22 ++++++++++++++++++
 3 files changed, 50 insertions(+)