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 04A9A138350 for ; Sat, 29 Feb 2020 20:43:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0066AE099E; Sat, 29 Feb 2020 20:42:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 7149DE0999 for ; Sat, 29 Feb 2020 20:42:35 +0000 (UTC) Received: from localhost.localdomain (c142-245.icpnet.pl [85.221.142.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id B008534F0F0; Sat, 29 Feb 2020 20:42:33 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 04/25] distutils-r2.eclass: Remove distutils.eclass checks Date: Sat, 29 Feb 2020 21:41:40 +0100 Message-Id: <20200229204201.99290-5-mgorny@gentoo.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200229204201.99290-1-mgorny@gentoo.org> References: <20200229204201.99290-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 16d4991d-a040-4bcf-9c2b-8e5a2c9f57c5 X-Archives-Hash: ea309c729776680f706c782d7be5e740 Signed-off-by: Michał Górny --- eclass/distutils-r2.eclass | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/eclass/distutils-r2.eclass b/eclass/distutils-r2.eclass index cc555771a46c..66df9e8f7272 100644 --- a/eclass/distutils-r2.eclass +++ b/eclass/distutils-r2.eclass @@ -1116,39 +1116,5 @@ distutils-r2_src_install() { _distutils-r2_check_namespace_pth } -# -- distutils.eclass functions -- - -distutils_get_intermediate_installation_image() { - die "${FUNCNAME}() is invalid for distutils-r2" -} - -distutils_src_unpack() { - die "${FUNCNAME}() is invalid for distutils-r2, and you don't want it in EAPI ${EAPI} anyway" -} - -distutils_src_prepare() { - die "${FUNCNAME}() is invalid for distutils-r2, you probably want: ${FUNCNAME/_/-r2_}" -} - -distutils_src_compile() { - die "${FUNCNAME}() is invalid for distutils-r2, you probably want: ${FUNCNAME/_/-r2_}" -} - -distutils_src_test() { - die "${FUNCNAME}() is invalid for distutils-r2, you probably want: ${FUNCNAME/_/-r2_}" -} - -distutils_src_install() { - die "${FUNCNAME}() is invalid for distutils-r2, you probably want: ${FUNCNAME/_/-r2_}" -} - -distutils_pkg_postinst() { - die "${FUNCNAME}() is invalid for distutils-r2, and pkg_postinst is unnecessary" -} - -distutils_pkg_postrm() { - die "${FUNCNAME}() is invalid for distutils-r2, and pkg_postrm is unnecessary" -} - _DISTUTILS_R2=1 fi -- 2.25.1