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 4525B158021 for ; Sat, 12 Nov 2022 02:50:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5ECCAE0A02; Sat, 12 Nov 2022 02:50:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 4A444E0A02 for ; Sat, 12 Nov 2022 02:50:33 +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 46661340E0F for ; Sat, 12 Nov 2022 02:50:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A29A672B for ; Sat, 12 Nov 2022 02:50:30 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1668221390.fcdfbd6877cf396c503f78d59fa1579e9ca31ab4.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/wine-proton/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/wine-proton/wine-proton-7.0.4.ebuild app-emulation/wine-proton/wine-proton-7.0.9999.ebuild X-VCS-Directories: app-emulation/wine-proton/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: fcdfbd6877cf396c503f78d59fa1579e9ca31ab4 X-VCS-Branch: master Date: Sat, 12 Nov 2022 02:50:30 +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: e95094b1-338d-4e38-bf78-f9862f9100a1 X-Archives-Hash: e1b29008f7803ae04df906b6b761c592 commit: fcdfbd6877cf396c503f78d59fa1579e9ca31ab4 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Nov 12 02:00:24 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Nov 12 02:49:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdfbd68 app-emulation/wine-proton: skip deregister for rebuilds Not ideal given still doesn't handle the issue where variant can be switched rather than pick same-variant+new-version. Not to mention it further increase chances of register mismatch as it cannot update itself into a clean state (requires eselect-wine rewrite). Closes: https://bugs.gentoo.org/881035 Signed-off-by: Ionen Wolkens gentoo.org> app-emulation/wine-proton/wine-proton-7.0.4.ebuild | 4 +++- app-emulation/wine-proton/wine-proton-7.0.9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild index b266c555dfea..dcb70f280da0 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild @@ -319,5 +319,7 @@ pkg_postinst() { } pkg_prerm() { - nonfatal wine-eselect deregister + if [[ ${REPLACED_BY_VERSION%-r*} != ${PV} ]]; then #881035 + nonfatal wine-eselect deregister + fi } diff --git a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild index 93b08c4d0bfd..f97da826ab6c 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild @@ -319,5 +319,7 @@ pkg_postinst() { } pkg_prerm() { - nonfatal wine-eselect deregister + if [[ ${REPLACED_BY_VERSION%-r*} != ${PV} ]]; then #881035 + nonfatal wine-eselect deregister + fi }