From 51a0d611f41917fb6b5a5042e09a09b2a9d1a922 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Fri, 27 Mar 2020 13:37:50 +0100 Subject: [PATCH] dev-python/lyricwikia: do not depend on deprecated dep Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Andrew Ammerlaan --- dev-python/lyricwikia/lyricwikia-0.1.11.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild b/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild index b7280429c0..ce02490c83 100644 --- a/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild +++ b/dev-python/lyricwikia/lyricwikia-0.1.11.ebuild @@ -15,8 +15,6 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -BDEPEND="dev-python/pytest-runner[${PYTHON_USEDEP}]" - DEPEND="test? ( dev-python/responses[${PYTHON_USEDEP}] )" RDEPEND=" @@ -28,6 +26,13 @@ PATCHES="${FILESDIR}/${P}-skip-online-test.patch" distutils_enable_tests pytest +python_prepare_all() { + # do not depend on deprecated dep + sed -i -e '/pytest-runner/d' setup.py || die + + distutils-r1_python_prepare_all +} + pkg_postinst() { elog "Note that access to LyricWikia through this API (and products that use this API) should comply to the LyricWikia terms of use" }