dev-python/importlib_resources: remove old

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
This commit is contained in:
Louis Sautier
2020-10-26 12:46:51 +01:00
parent 292959f195
commit 77b5994d33
2 changed files with 0 additions and 48 deletions

View File

@@ -1,4 +1,3 @@
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
DIST importlib_resources-3.1.1.tar.gz 27715 BLAKE2B e7dc82dc2e082e94bcf87869e7f761bb008bf556b98ac94cab782b8f5430c87e3546cdc5e19819b1556de49ad5f755cbabb372cb254e909349a85264c00cadc6 SHA512 92577dca638a282306334441608a8f7315c1c4034004e52002029450c56529b1fc8edbd2a62c8ecc74b18ed9d3c3bf04e037d9510fa279ec7f18cb6170b2fb3a
DIST importlib_resources-3.2.0.tar.gz 28171 BLAKE2B e6e300ffc8b60f573b2d9df7dfaeadcb2dfa64c6c0b6e55a0320ae14a8966893443984d8907a090e1a5d834c1f595375f1cca658ebaa1ad4e4f889cc7f324843 SHA512 4cd1f3e54c44c0ba13c420668baa4a4e1cd964a978927b0c96d8c70ad6a11fc7d33cfd0a52367f719e1b3ff2945d32f030a672c1c7cfb0bb8152636767518470

View File

@@ -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 python3_{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
}