From c29bbd37d9ef84c0f9be4ca30912be5973554322 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 5 Jul 2021 13:05:29 +0200 Subject: dev-python/deprecation: Eliminate unittest2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/deprecation/deprecation-2.1.0.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dev-python/deprecation') diff --git a/dev-python/deprecation/deprecation-2.1.0.ebuild b/dev-python/deprecation/deprecation-2.1.0.ebuild index 435613b78604..beaa31f1df71 100644 --- a/dev-python/deprecation/deprecation-2.1.0.ebuild +++ b/dev-python/deprecation/deprecation-2.1.0.ebuild @@ -16,11 +16,11 @@ SLOT="0" KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86" RDEPEND="dev-python/packaging[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-python/unittest2[${PYTHON_USEDEP}] - ) -" distutils_enable_sphinx docs distutils_enable_tests unittest + +src_prepare() { + sed -i -e 's:unittest2:unittest:' tests/test_deprecation.py || die + distutils-r1_src_prepare +} -- cgit v1.2.3-65-gdbad