diff options
author | Louis Sautier <sbraz@gentoo.org> | 2020-11-24 00:58:43 +0100 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2020-11-24 01:05:23 +0100 |
commit | e09727fd3a2d470a6167ab9a469c6c887f3ceede (patch) | |
tree | e5067df54fc467e0833d4bf5eca5ffc6bc172317 /dev-python | |
parent | dev-python/tox: remove upper bound from importlib_metadata req. (diff) | |
download | gentoo-e09727fd3a2d470a6167ab9a469c6c887f3ceede.tar.gz gentoo-e09727fd3a2d470a6167ab9a469c6c887f3ceede.tar.bz2 gentoo-e09727fd3a2d470a6167ab9a469c6c887f3ceede.zip |
dev-python/importlib_metadata: bump to 3.0.0, update HOMEPAGE
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/importlib_metadata/Manifest | 1 | ||||
-rw-r--r-- | dev-python/importlib_metadata/importlib_metadata-3.0.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index 65a808dbe292..f468a4416980 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1,2 +1,3 @@ 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 +DIST importlib_metadata-3.0.0.tar.gz 28858 BLAKE2B b1d4c7dc8a1fbbd66223c32afcbf43782b42b32ecb41d1fc7fdabb93c0c8ea3797f99c5b98fa5c0fad3b176bccbfd8716d72ed85a15f8ee8d0969c5e48a62478 SHA512 c5e8f79af1f0aaee1c768ef5640c65a76154544d7e900a11d01724e8ca30007ada80fd710e808e66f35dbc9fcf678824eebc5b92ffbc3d5a04e7f8f5aca0368a diff --git a/dev-python/importlib_metadata/importlib_metadata-3.0.0.ebuild b/dev-python/importlib_metadata/importlib_metadata-3.0.0.ebuild new file mode 100644 index 000000000000..a04ab9b239dd --- /dev/null +++ b/dev-python/importlib_metadata/importlib_metadata-3.0.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Included in Python >= 3.8 +PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Read metadata from Python packages" +HOMEPAGE="https://github.com/python/importlib_metadata" +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? ( + >=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyfakefs[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs dev-python/rst-linker +distutils_enable_tests unittest + +python_prepare_all() { + # Skip a test that requires pep517 which is not in the tree + sed -e 's:test_find_local:_&:' -i tests/test_integration.py || die + + distutils-r1_python_prepare_all +} |