dev-python/requests-cache: simplify ebuild

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2020-08-05 05:47:54 +00:00
parent 1b033eec55
commit 93f19bc7b1

View File

@@ -15,13 +15,11 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
distutils_enable_sphinx docs
distutils_enable_tests pytest
src_prepare() {
# Ships with incorrect mock import