diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-23 08:06:58 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-23 09:29:00 +0200 |
commit | f73cbb6d8f8ccfa41f40c5e910e468928c6c8b46 (patch) | |
tree | 25a1aad559e7c57c152b6347676e62effd09d7a2 /dev-python/importlib_metadata | |
parent | dev-python/gevent: Bump to 20.9.0 (diff) | |
download | gentoo-f73cbb6d8f8ccfa41f40c5e910e468928c6c8b46.tar.gz gentoo-f73cbb6d8f8ccfa41f40c5e910e468928c6c8b46.tar.bz2 gentoo-f73cbb6d8f8ccfa41f40c5e910e468928c6c8b46.zip |
dev-python/importlib_metadata: Bump to 2.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/importlib_metadata')
-rw-r--r-- | dev-python/importlib_metadata/Manifest | 1 | ||||
-rw-r--r-- | dev-python/importlib_metadata/importlib_metadata-2.0.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index 82003d5ec6d9..65a808dbe292 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1 +1,2 @@ DIST importlib_metadata-1.7.0.tar.gz 29233 BLAKE2B a8cd97a384ab06201025fcbdc401fb25788c2eb1dd4f1697ca00e79634cbce32b984cb8a7c2aeacfb0871f92857d08f3ce9c3ae43d698df7401db91add07b6ca SHA512 31f7cda6a1149ca2040032945b19b55d2e97ef8be67db1423c2c2cbb79da3dead46338f3c9eb03b46f9202fca08ed7bf388adc25d34903ddff4b2873c8a89aba +DIST importlib_metadata-2.0.0.tar.gz 29289 BLAKE2B 4ec24db057006affe1dee20e021a47d385770b1aa905db4ff4223d59f19b53dc85c21475875074664a84a0fb6994493735f5e098d38f938816ebc69dced7a40d SHA512 3f789d717f04f7649dd4a75895669b4f9b875671937035c1c76bd089504afff8c2ba5bfb6a91096ba29eccadc88dca98ea1da5107772fd2053541db15c52b16a diff --git a/dev-python/importlib_metadata/importlib_metadata-2.0.0.ebuild b/dev-python/importlib_metadata/importlib_metadata-2.0.0.ebuild new file mode 100644 index 000000000000..5bc7807992ae --- /dev/null +++ b/dev-python/importlib_metadata/importlib_metadata-2.0.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Read metadata from Python packages" +HOMEPAGE="https://importlib-metadata.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyfakefs[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx "${PN}/docs" \ + '>=dev-python/rst-linker-1.9' +distutils_enable_tests unittest + +python_prepare_all() { + # remove dep on setuptools_scm + sed -e 's:test_find_local:_&:' \ + -i importlib_metadata/tests/test_integration.py || die + + distutils-r1_python_prepare_all +} |