remove unused importlib_resources
This commit is contained in:
parent
2687bd3d5d
commit
f87fa24bea
@ -496,12 +496,12 @@ From time to time a fresh compile test on empty boxes (one with Python 3.9 and o
|
||||
|
||||
## 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 1784 Ebuilds in total, 1776 of them have in total 1785 (34 different) licenses assigned.
|
||||
There are 1782 Ebuilds in total, 1774 of them have in total 1783 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1074|
|
||||
|Apache-2.0|328|
|
||||
|Apache-2.0|326|
|
||||
|BSD|107|
|
||||
|GPL-3|105|
|
||||
|LGPL-3|27|
|
||||
@ -535,9 +535,9 @@ There are 1784 Ebuilds in total, 1776 of them have in total 1785 (34 different)
|
||||
|OSL-2.0|1|
|
||||
|CC0-1.0|1|
|
||||
|
||||
(Last counted: 18/03/2022)
|
||||
(Last counted: 19/03/2022)
|
||||
|
||||
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: 18/03/2022
|
||||
Last updated: 19/03/2022
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
DIST importlib_resources-1.5.0.tar.gz 23660 BLAKE2B aed7a2d730f945505083812355a63d3a88e07b057cf46394f3475135143e535e33dc3ebded24d233797020c805dc35decf5c5ce53758798b093f03f2951daa87 SHA512 34d14c1ff3121cc6f9ef1d3d4417831e3476e9facfcc9b35152c28a59a2c75d7723f171f4b48852f79ec46cbf54b066580745744bc54d349e2bfe12a353a9aed
|
||||
DIST importlib_resources-3.0.0.tar.gz 26725 BLAKE2B e2517b0d1e576ce949ac05230892acbad59c09fa4b84401b3c957e83f40b50d12bc02360b135fe949d12c43f8f557006824e4e4a3e9ff2ce879c03362569a00c SHA512 cd29e268cacef3729024af6cae8394ce5aa8c1d8a28397fd8f009c7eaa908ed3775508bde86c26b0d233c25261b8509abb1e16c378c7c8a9bb0906224f3fdd54
|
||||
EBUILD importlib_resources-1.5.0-r1.ebuild 1282 BLAKE2B 1afbb13e6dba773eedfcd9f3f9d2431afd76338cb601079da56152cf8da67faaed719266e58a46690a851d0da55dcad17166b72763176dd96311f2de4e1ec069 SHA512 fc3dbb159396846dda61520694c43dc0b586005d74189179e97798e04872b3e251c13995c23268d7b8e910590aa248443ce31f7f2c5833e58ccb1f92b70e7e22
|
||||
EBUILD importlib_resources-3.0.0-r1.ebuild 1249 BLAKE2B ecc0946b7ea68513404e258ddd36a6c95c2902cc977ca1d407260e70931061594328baa4910484e560d211286ad37dff208ac8263681f6683807bd4d6554db02 SHA512 52b86ffb1549f47c4357df0587e29cc1ebbc2bf2a96874068a64479861159f3310bc3483c67c0d2065bb62684f6c2fcde2e8bcaeb64f923ce93414af9a384aed
|
||||
MISC metadata.xml 895 BLAKE2B fadc4adcee6471eb31d5a1b406c9a6a29e366a50abcee105a08456b432e9a42352afdf7d08f37c3ee6100f1f57080bce2a32770b3fda96bedebfa7958957975f SHA512 6802c03cfc8049146dbbef1ff6462cb2eb01f18048a857ff0050af8e15367bff8e40521c989fcdc68c95b2025d2b7af09015f99c279ee504d556165687d7fa36
|
||||
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# This is a backport of Python 3.9's importlib.resources
|
||||
PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Read resources from Python packages"
|
||||
HOMEPAGE="https://importlib-resources.readthedocs.io/en/latest/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/contextlib2[${PYTHON_USEDEP}]
|
||||
dev-python/pathlib2[${PYTHON_USEDEP}]
|
||||
dev-python/singledispatch[${PYTHON_USEDEP}]
|
||||
dev-python/typing[${PYTHON_USEDEP}]
|
||||
' -2)
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/importlib_metadata[${PYTHON_USEDEP}]
|
||||
dev-python/zipp[${PYTHON_USEDEP}]
|
||||
' pypy3 python3_{6,7})
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/toml[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
distutils_enable_sphinx docs dev-python/rst-linker dev-python/jaraco-packaging
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
if ! python_is_python3; then
|
||||
rm "${BUILD_DIR}/lib/importlib_resources/_py3.py" || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --skip-build
|
||||
}
|
||||
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# This is a backport of Python 3.9's importlib.resources
|
||||
PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Read resources from Python packages"
|
||||
HOMEPAGE="https://importlib-resources.readthedocs.io/en/latest/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/contextlib2[${PYTHON_USEDEP}]
|
||||
dev-python/pathlib2[${PYTHON_USEDEP}]
|
||||
dev-python/singledispatch[${PYTHON_USEDEP}]
|
||||
dev-python/typing[${PYTHON_USEDEP}]
|
||||
' -2)
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/zipp[${PYTHON_USEDEP}]
|
||||
' -2 pypy3 python3_{6,7})
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/toml[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
distutils_enable_sphinx docs dev-python/rst-linker dev-python/jaraco-packaging
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
if ! python_is_python3; then
|
||||
rm "${BUILD_DIR}/lib/importlib_resources/_py3.py" || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --skip-build
|
||||
}
|
||||
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sbraz@gentoo.org</email>
|
||||
<name>Louis Sautier</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
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.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">python-devs/importlib_resources</remote-id>
|
||||
<remote-id type="pypi">importlib_resources</remote-id>
|
||||
<bugs-to>https://gitlab.com/python-devs/importlib_resources/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Loading…
x
Reference in New Issue
Block a user