diff options
author | Louis Sautier <sbraz@gentoo.org> | 2020-11-24 23:13:30 +0100 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2020-11-24 23:19:00 +0100 |
commit | ed99c1395ef08831e4de76ac053ea5759bd09290 (patch) | |
tree | 10ee97cb04b0de52bdfc44c635d7f865e3cd7e5b /dev-python/importlib_metadata | |
parent | net-analyzer/icinga2: 2.12.2 bump (diff) | |
download | gentoo-ed99c1395ef08831e4de76ac053ea5759bd09290.tar.gz gentoo-ed99c1395ef08831e4de76ac053ea5759bd09290.tar.bz2 gentoo-ed99c1395ef08831e4de76ac053ea5759bd09290.zip |
dev-python/importlib_metadata: bump to 3.1.0
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Louis Sautier <sbraz@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-3.1.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 f468a4416980..dc56c487ac58 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1,3 +1,4 @@ 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 +DIST importlib_metadata-3.1.0.tar.gz 29246 BLAKE2B 2144e10601e089e26e1d85269ed067d505de8ca86071524e038e87850420f42701b36fad5e1fe01529230333d5f23e0882f17a279bacfa39da335f3d968987dd SHA512 24d20d7658c2d15d2207d3660bd181016a16d0a2e3c86b8e86f7f95baab18f01f1a8753942d15ab648a40431bfc6db7d5109339575ef1a50802403eb580baede diff --git a/dev-python/importlib_metadata/importlib_metadata-3.1.0.ebuild b/dev-python/importlib_metadata/importlib_metadata-3.1.0.ebuild new file mode 100644 index 000000000000..a04ab9b239dd --- /dev/null +++ b/dev-python/importlib_metadata/importlib_metadata-3.1.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 +} |