diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-05-11 18:52:51 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-05-11 19:33:05 +0200 |
commit | 7c017a63243ebd9085440dd9558babb1bf6ae2d7 (patch) | |
tree | 60e288aa795ca24f64782d42a317322b61a02c7a /dev-python/importlib_resources | |
parent | dev-python/hypothesis: Remove old (diff) | |
download | gentoo-7c017a63243ebd9085440dd9558babb1bf6ae2d7.tar.gz gentoo-7c017a63243ebd9085440dd9558babb1bf6ae2d7.tar.bz2 gentoo-7c017a63243ebd9085440dd9558babb1bf6ae2d7.zip |
dev-python/importlib_resources: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/importlib_resources')
-rw-r--r-- | dev-python/importlib_resources/Manifest | 1 | ||||
-rw-r--r-- | dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild | 50 |
2 files changed, 0 insertions, 51 deletions
diff --git a/dev-python/importlib_resources/Manifest b/dev-python/importlib_resources/Manifest index 196a4514ec32..cef84d9596a7 100644 --- a/dev-python/importlib_resources/Manifest +++ b/dev-python/importlib_resources/Manifest @@ -1,3 +1,2 @@ -DIST importlib_resources-1.0.2.tar.gz 23602 BLAKE2B 24c27b45ec56d3838b039baf2ebc1e0c5ec582d5cfdeb5cf26587255bf8b32aa1fcf43802cabca3b82b3ddec8cdf2616d10489c3c1aca77c9fa91af1f25ef9e7 SHA512 50bfc5130a2c9c9354efef1cd7132e805ed0f13467ba67172f83e11d907212bef3957aeef51fd904b73996c8280008d99c918637956a470448dfd67ef4807f82 DIST importlib_resources-1.4.0.tar.gz 23220 BLAKE2B d494615ba39620e772552b09637e280e0b72b16352387592423f824b67af315da1a0749e0dde8e55d3e0e04848a3c43802c12f20c79c5a067de0a3299510a199 SHA512 e482f109f387de79d66e69084fab70750ce472f7d665c3a617819ab604e376860c2832a0cab27867165b7ac60947db554ec686d73f182dcaa6935dc14ca3d935 DIST importlib_resources-1.5.0.tar.gz 23660 BLAKE2B aed7a2d730f945505083812355a63d3a88e07b057cf46394f3475135143e535e33dc3ebded24d233797020c805dc35decf5c5ce53758798b093f03f2951daa87 SHA512 34d14c1ff3121cc6f9ef1d3d4417831e3476e9facfcc9b35152c28a59a2c75d7723f171f4b48852f79ec46cbf54b066580745744bc54d349e2bfe12a353a9aed diff --git a/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild b/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild deleted file mode 100644 index 1c9565f5b9dc..000000000000 --- a/dev-python/importlib_resources/importlib_resources-1.0.2-r1.ebuild +++ /dev/null @@ -1,50 +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.7's importlib.resources -PYTHON_COMPAT=( pypy3 python{2_7,3_6} ) - -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" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/pathlib2[${PYTHON_USEDEP}] - dev-python/typing[${PYTHON_USEDEP}] - ' -2) -" -BDEPEND=" - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( ${RDEPEND} ) - dev-python/setuptools[${PYTHON_USEDEP}] -" - -# https://gitlab.com/python-devs/importlib_resources/issues/71 -PATCHES=( "${FILESDIR}/${P}-skip-wheel.patch" ) - -python_prepare_all() { - sed -i "/'sphinx.ext.intersphinx'/d" ${PN}/docs/conf.py || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - sphinx-build ${PN}/docs docs/_build/html || die - HTML_DOCS=( docs/_build/html/. ) - fi -} - -python_test() { - "${EPYTHON}" -m unittest discover -v || die "tests failed with ${EPYTHON}" -} |