From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D07A213933E for ; Mon, 5 Jul 2021 11:16:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B3B6E0A98; Mon, 5 Jul 2021 11:16:17 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53FDAE0A98 for ; Mon, 5 Jul 2021 11:16:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6077B342A82 for ; Mon, 5 Jul 2021 11:16:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B9017C2 for ; Mon, 5 Jul 2021 11:16:14 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1625483129.c29bbd37d9ef84c0f9be4ca30912be5973554322.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/deprecation/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/deprecation/deprecation-2.1.0.ebuild X-VCS-Directories: dev-python/deprecation/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c29bbd37d9ef84c0f9be4ca30912be5973554322 X-VCS-Branch: master Date: Mon, 5 Jul 2021 11:16:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 426cf75c-456e-4a18-ac41-0b03f9f37a77 X-Archives-Hash: c805a1cc7866769f55c182676f6bc686 commit: c29bbd37d9ef84c0f9be4ca30912be5973554322 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 5 11:05:29 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jul 5 11:05:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29bbd37 dev-python/deprecation: Eliminate unittest2 Signed-off-by: Michał Górny gentoo.org> dev-python/deprecation/deprecation-2.1.0.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-python/deprecation/deprecation-2.1.0.ebuild b/dev-python/deprecation/deprecation-2.1.0.ebuild index 435613b7860..beaa31f1df7 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 +}