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 A8BD9138334 for ; Fri, 11 Jan 2019 10:57:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F7DFE0978; Fri, 11 Jan 2019 10:57:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 6692DE0978 for ; Fri, 11 Jan 2019 10:57:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 AD13A335CDE for ; Fri, 11 Jan 2019 10:57:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C11284E7 for ; Fri, 11 Jan 2019 10:57:19 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1547204065.b32dcf129e8e30e28dd78ba1faebd135ea217100.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: scripts/ X-VCS-Repository: proj/sci X-VCS-Files: scripts/lapack-migration.sh X-VCS-Directories: scripts/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: b32dcf129e8e30e28dd78ba1faebd135ea217100 X-VCS-Branch: master Date: Fri, 11 Jan 2019 10:57:19 +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: 40d2c5f1-9cfe-422f-b848-adc71c4da68f X-Archives-Hash: 13f4abb0fdb9a8c7568f77cae9f12243 commit: b32dcf129e8e30e28dd78ba1faebd135ea217100 Author: Horea Christian yandex com> AuthorDate: Fri Jan 11 10:50:48 2019 +0000 Commit: Horea Christian gmail com> CommitDate: Fri Jan 11 10:54:25 2019 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b32dcf12 Checking for and creating config dir if needed and improved comment style and grammar Signed-off-by: Horea Christian yandex.com> scripts/lapack-migration.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lapack-migration.sh b/scripts/lapack-migration.sh index 2e6624ada..cd932c130 100755 --- a/scripts/lapack-migration.sh +++ b/scripts/lapack-migration.sh @@ -3,11 +3,14 @@ set -e EPREFIX=${1} -#Link to the workaroud we reproduce in this section : https://wiki.gentoo.org/wiki/User_talk:Houseofsuns#Migration_to_science_overlay_from_main_tree +#Link to the workaround automated by this script: https://wiki.gentoo.org/wiki/User_talk:Houseofsuns#Migration_to_science_overlay_from_main_tree #Efforts to more permanently address the issue: https://github.com/gentoo/sci/issues/805 echo "" echo "Setting Up Eselect for Gentoo Science:" echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" +if [ ! -d ${EPREFIX}/etc/portage/package.mask/ ]; then + mkdir -p ${EPREFIX}/etc/portage/package.mask/; +fi cp "sci-lapack" "${EPREFIX}/etc/portage/package.mask/" emerge --oneshot --verbose dev-util/cmake >> /dev/null emerge --oneshot --verbose app-admin/eselect::science >> /dev/null