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 F0D2C15800A for ; Sat, 15 Jul 2023 22:17:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2597CE0884; Sat, 15 Jul 2023 22:17:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0CD84E086A for ; Sat, 15 Jul 2023 22:17:12 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49767340CC4 for ; Sat, 15 Jul 2023 22:17:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AD88A36 for ; Sat, 15 Jul 2023 22:17:09 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1689459421.77b45431c0630096031a3350e5040b7d11ddb559.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/coq/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/coq/coq-8.15.2.ebuild sci-mathematics/coq/coq-8.16.1.ebuild sci-mathematics/coq/coq-8.17.0.ebuild sci-mathematics/coq/coq-8.17.1.ebuild X-VCS-Directories: sci-mathematics/coq/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 77b45431c0630096031a3350e5040b7d11ddb559 X-VCS-Branch: master Date: Sat, 15 Jul 2023 22:17:09 +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: 43ffde7d-0bd3-4227-869d-ab22883d81ae X-Archives-Hash: a778251979d345a22fe1ab6b11573d84 commit: 77b45431c0630096031a3350e5040b7d11ddb559 Author: Maciej Barć gentoo org> AuthorDate: Sat Jul 15 21:51:05 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sat Jul 15 22:17:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77b45431 sci-mathematics/coq: add pkg_preinst upgrade from 8.12 Closes: https://bugs.gentoo.org/910236 Signed-off-by: Maciej Barć gentoo.org> sci-mathematics/coq/coq-8.15.2.ebuild | 9 +++++++++ sci-mathematics/coq/coq-8.16.1.ebuild | 9 +++++++++ sci-mathematics/coq/coq-8.17.0.ebuild | 9 +++++++++ sci-mathematics/coq/coq-8.17.1.ebuild | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/sci-mathematics/coq/coq-8.15.2.ebuild b/sci-mathematics/coq/coq-8.15.2.ebuild index c94ce21f129a..5348f67f9136 100644 --- a/sci-mathematics/coq/coq-8.15.2.ebuild +++ b/sci-mathematics/coq/coq-8.15.2.ebuild @@ -109,3 +109,12 @@ src_install() { dosym $(ocamlc -where)/${sym} /usr/$(get_libdir)/${sym} done } + +pkg_preinst() { + # bug https://bugs.gentoo.org/910236 + if has_version "sci-mathematics/coq:0/8.12.0" && [[ ! -L /usr/lib64/coq ]] + then + einfo "Removing colliding directory from version 8.12: /usr/lib64/coq" + rm -rf /usr/lib64/coq + fi +} diff --git a/sci-mathematics/coq/coq-8.16.1.ebuild b/sci-mathematics/coq/coq-8.16.1.ebuild index a8dc37656492..374b1e3334e1 100644 --- a/sci-mathematics/coq/coq-8.16.1.ebuild +++ b/sci-mathematics/coq/coq-8.16.1.ebuild @@ -109,3 +109,12 @@ src_install() { dosym $(ocamlc -where)/${sym} /usr/$(get_libdir)/${sym} done } + +pkg_preinst() { + # bug https://bugs.gentoo.org/910236 + if has_version "sci-mathematics/coq:0/8.12.0" && [[ ! -L /usr/lib64/coq ]] + then + einfo "Removing colliding directory from version 8.12: /usr/lib64/coq" + rm -rf /usr/lib64/coq + fi +} diff --git a/sci-mathematics/coq/coq-8.17.0.ebuild b/sci-mathematics/coq/coq-8.17.0.ebuild index 495f48055a82..45b99385ac67 100644 --- a/sci-mathematics/coq/coq-8.17.0.ebuild +++ b/sci-mathematics/coq/coq-8.17.0.ebuild @@ -110,3 +110,12 @@ src_install() { einstalldocs } + +pkg_preinst() { + # bug https://bugs.gentoo.org/910236 + if has_version "sci-mathematics/coq:0/8.12.0" && [[ ! -L /usr/lib64/coq ]] + then + einfo "Removing colliding directory from version 8.12: /usr/lib64/coq" + rm -rf /usr/lib64/coq + fi +} diff --git a/sci-mathematics/coq/coq-8.17.1.ebuild b/sci-mathematics/coq/coq-8.17.1.ebuild index f634026e1cda..fb5c53f57eed 100644 --- a/sci-mathematics/coq/coq-8.17.1.ebuild +++ b/sci-mathematics/coq/coq-8.17.1.ebuild @@ -110,3 +110,12 @@ src_install() { einstalldocs } + +pkg_preinst() { + # bug https://bugs.gentoo.org/910236 + if has_version "sci-mathematics/coq:0/8.12.0" && [[ ! -L /usr/lib64/coq ]] + then + einfo "Removing colliding directory from version 8.12: /usr/lib64/coq" + rm -rf /usr/lib64/coq + fi +}