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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 98A0015808F for ; Sun, 17 Apr 2022 16:54:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBEF7E0AB8; Sun, 17 Apr 2022 16:54:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB7CEE0AB8 for ; Sun, 17 Apr 2022 16:54:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E933B3419F7 for ; Sun, 17 Apr 2022 16:54:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 684353B2 for ; Sun, 17 Apr 2022 16:54:03 +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: <1650214439.552dbafd02e83465ee91c03306da41ec28618179.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/indexed_gzip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/indexed_gzip/indexed_gzip-1.6.13.ebuild X-VCS-Directories: dev-python/indexed_gzip/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 552dbafd02e83465ee91c03306da41ec28618179 X-VCS-Branch: master Date: Sun, 17 Apr 2022 16:54:03 +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: ed8ce471-4353-4a11-a2bb-5a67fab96d6a X-Archives-Hash: e2d71a9f48595829cd8cf83a987c19f6 commit: 552dbafd02e83465ee91c03306da41ec28618179 Author: Michał Górny gentoo org> AuthorDate: Sun Apr 17 16:52:00 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Apr 17 16:53:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=552dbafd dev-python/indexed_gzip: Fix build failure w/ clean command Remove the custom "clean" command that does not implement "-a" option as used by the old distutils-r1 code path, in order to fix the build failure. This is only needed temporarily, as the new code path no longer calls it. Closes: https://bugs.gentoo.org/838955 Signed-off-by: Michał Górny gentoo.org> dev-python/indexed_gzip/indexed_gzip-1.6.13.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-python/indexed_gzip/indexed_gzip-1.6.13.ebuild b/dev-python/indexed_gzip/indexed_gzip-1.6.13.ebuild index 71ce12536dee..dff40b18267e 100644 --- a/dev-python/indexed_gzip/indexed_gzip-1.6.13.ebuild +++ b/dev-python/indexed_gzip/indexed_gzip-1.6.13.ebuild @@ -37,6 +37,14 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + # strip custom "clean" command that doesn't support "-a" + # https://bugs.gentoo.org/838955 + # TODO: this can be removed once distutils-r1 stops using clean + sed -i -e '/cmdclass/d' setup.py || die + distutils-r1_src_prepare +} + src_compile() { if use test; then export INDEXED_GZIP_TESTING=1