dev-python/importlib_resources: new package, add 5.12.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-03-12 11:10:58 +01:00 committed by Andreas Billmeier
parent 6cc5b0b007
commit 1e06c9412d
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
5 changed files with 76 additions and 7 deletions

View File

@ -792,7 +792,7 @@
|touchline|lets you control ROTH Touchline floor heating thermostats|N|N|Y|0.61|
|tplink|control your TP-Link Smart Home Devices|Y|Y|Y|0.89|
|tplink_lte|allows you to observe and control TP-Link LTE routers|N|N|Y|0.83|
|tplink_omada|allows you to control your TP-Link Omada SDN Devices|Y|N|Y|2023.3.0b3|
|tplink_omada|allows you to control your TP-Link Omada SDN Devices|N|N|Y|2023.3.0b3|
|traccar|uses GPS for tracking and has support for over 1500 different types of devices|N|N|Y|0.83|
|trackr|trackr platform allows you to detect presence using TrackR devices|N|N|Y||
|tractive|Tractive is an Austrian company develops real-time location trackers for pets|N|N|Y|2021.9.0b1|

View File

@ -75,7 +75,7 @@ Since homeassistant-0.115.3 the **Main Ebuild** is released in three different s
[![emerge ha-min](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml/badge.svg)](https://github.com/onkelbeh/HomeAssistantRepository/actions/workflows/emerge-min.yml)
These are the USE Flags I use in production myself. All will compile fine and are extensively tested in every release, a daily compilation test is run at Github, big thanks to @antonfischl1980, it currently holds **95** USE Flags.
These are the USE Flags I use in production myself. All will compile fine and are extensively tested in every release, a daily compilation test is run at Github, big thanks to @antonfischl1980, it currently holds **94** USE Flags.
### `app-misc/homeassistant`
@ -576,12 +576,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1815 Ebuilds in total, 1804 of them have in total 1819 (36 different) licenses assigned.
There are 1818 Ebuilds in total, 1807 of them have in total 1822 (36 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1055|
|Apache-2.0|398|
|MIT|1056|
|Apache-2.0|400|
|GPL-3|114|
|BSD|96|
|LGPL-3|26|
@ -617,9 +617,9 @@ There are 1815 Ebuilds in total, 1804 of them have in total 1819 (36 different)
|CC0-1.0|1|
|GPL-2+|1|
(Last counted: 10/03/2023)
(Last counted: 12/03/2023)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 10/03/2023
Last updated: 12/03/2023

View File

@ -0,0 +1,3 @@
DIST importlib_resources-5.12.0.gh.tar.gz 36161 BLAKE2B 1adcf5e2d0292867eb0b96819ee5d808b62d7f479a6fb4254db50b0397814b0f6ffe4d209f4dfcc19147bd060888cfd457391de9d6746b1b85f58b9d0792e29b SHA512 038d44919ace6d92709855eae0d111ae772edfbbf79e82349a34ab143d0ec9ed796a317ff3e1a06a08404d4a58398d130a1a4f425d26511e724bc03946679d19
EBUILD importlib_resources-5.12.0.ebuild 1239 BLAKE2B ea6dee2c401296659772202073970a9fe6709cbdf880c16958404532637cc30634b6f228cb46ceaa52446595a64c6e19e20b9eb46bb80bab95fe5e77ff251035 SHA512 1e88150ae6616eb64d814f4b60b5d396701432d0ca85c17b3a2d0635eb572272c919a5d6913f350ab7311dbcd7bfea4e9781f5f62cd4ff1aca080baa466e367d
MISC metadata.xml 528 BLAKE2B 192260d6c3c79b59350d64a30ae94c33f6d54cb298b22b7a3eca50701864a9a9de1e383f20e7264778b05a3be9fc9a36eb673e5d0f6afec5bc11c5f71d96fbb6 SHA512 69ff928b4e58936f9f6c5d634bfe97d8ecaa371729b602828a91cf2fed2e79fb7dcd3225bc2389779c0bd54a7dfd95e8b4d45def181a17f93daf870f8d3256df

View File

@ -0,0 +1,50 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
# This is a backport of importlib.resources that's present since py3.9.
# However, the version in 3.9 is buggy, so matplotlib needs it on 3.9
# as well.
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Read resources from Python packages"
HOMEPAGE="
https://github.com/python/importlib_resources/
https://pypi.org/project/importlib-resources/
"
SRC_URI="
https://github.com/python/importlib_resources/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/zipp-3.7.0-r1[${PYTHON_USEDEP}]
' 3.8 3.9)
"
distutils_enable_tests unittest
src_configure() {
grep -q 'build-backend = "setuptools' pyproject.toml ||
die "Upstream changed build-backend, recheck"
# write a custom pyproject.toml to ease setuptools bootstrap
cat > pyproject.toml <<-EOF || die
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "importlib_resources"
version = "${PV}"
description = "Read resources from Python packages"
EOF
}

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">importlib-resources</remote-id>
<remote-id type="github">python/importlib_resources</remote-id>
<maintainer status="unknown">
<email>barry@python.org</email>
<name>Barry Warsaw</name>
</maintainer>
</upstream>
</pkgmetadata>