Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/blas-goto: blas-goto-1.19.ebuild ChangeLog blas-goto-1.14.ebuild blas-goto-1.16.ebuild
Date: Tue, 09 Oct 2007 22:18:39
Message-Id: E1IfNG4-0002GC-KI@stork.gentoo.org
1 bicatali 07/10/09 22:08:56
2
3 Modified: blas-goto-1.19.ebuild ChangeLog
4 Removed: blas-goto-1.14.ebuild blas-goto-1.16.ebuild
5 Log:
6 Removed older versions, get ready for new style virtuals, workaround for
7 eselect bug #189942.
8 (Portage version: 2.1.3.12)
9
10 Revision Changes Path
11 1.3 sci-libs/blas-goto/blas-goto-1.19.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/blas-goto/blas-goto-1.19.ebuild?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/blas-goto/blas-goto-1.19.ebuild?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/blas-goto/blas-goto-1.19.ebuild?r1=1.2&r2=1.3
16
17 Index: blas-goto-1.19.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/blas-goto-1.19.ebuild,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- blas-goto-1.19.ebuild 21 Sep 2007 06:39:37 -0000 1.2
24 +++ blas-goto-1.19.ebuild 9 Oct 2007 22:08:56 -0000 1.3
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2007 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/blas-goto-1.19.ebuild,v 1.2 2007/09/21 06:39:37 dberkholz Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/blas-goto-1.19.ebuild,v 1.3 2007/10/09 22:08:56 bicatali Exp $
30
31 inherit eutils fortran flag-o-matic toolchain-funcs
32
33 @@ -26,9 +26,6 @@
34 S="${WORKDIR}/${MY_PN}"
35 FORTRAN="g77 gfortran ifc"
36
37 -# remove when we have new virtuals in main tree.
38 -PROVIDE="virtual/blas"
39 -
40 src_unpack() {
41 unpack ${A}
42 cd "${S}"
43 @@ -150,11 +147,22 @@
44 blas.pc || die "sed blas.pc failed"
45 insinto /usr/$(get_libdir)/blas/goto
46 doins blas.pc
47 - eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.goto goto
48 + ESELECT_PROF=goto
49 + eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.goto ${ESELECT_PROF}
50 }
51
52 pkg_postinst() {
53 - [[ -z "$(eselect blas show)" ]] && eselect blas set goto
54 - elog "To use BLAS GOTO implementation, you have to issue (as root):"
55 - elog "\teselect blas set goto\n"
56 + local p=blas
57 + local current_lib=$(eselect ${p} show | cut -d' ' -f2)
58 + if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
59 + # work around eselect bug #189942
60 + local configfile="${ROOT}"/etc/env.d/${p}/lib/config
61 + [[ -e ${configfile} ]] && rm -f ${configfile}
62 + eselect ${p} set ${ESELECT_PROF}
63 + elog "${p} has been eselected to ${ESELECT_PROF}"
64 + else
65 + elog "Current eselected ${p} is ${current_lib}"
66 + elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
67 + elog "\t eselect ${p} set ${ESELECT_PROF}"
68 + fi
69 }
70
71
72
73 1.12 sci-libs/blas-goto/ChangeLog
74
75 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/blas-goto/ChangeLog?rev=1.12&view=markup
76 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/blas-goto/ChangeLog?rev=1.12&content-type=text/plain
77 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/blas-goto/ChangeLog?r1=1.11&r2=1.12
78
79 Index: ChangeLog
80 ===================================================================
81 RCS file: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/ChangeLog,v
82 retrieving revision 1.11
83 retrieving revision 1.12
84 diff -u -r1.11 -r1.12
85 --- ChangeLog 21 Sep 2007 06:39:37 -0000 1.11
86 +++ ChangeLog 9 Oct 2007 22:08:56 -0000 1.12
87 @@ -1,6 +1,11 @@
88 # ChangeLog for sci-libs/blas-goto
89 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
90 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/ChangeLog,v 1.11 2007/09/21 06:39:37 dberkholz Exp $
91 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-goto/ChangeLog,v 1.12 2007/10/09 22:08:56 bicatali Exp $
92 +
93 + 09 Oct 2007; Sébastien Fabbro <bicatali@g.o> -files/eselect-goto,
94 + -blas-goto-1.14.ebuild, -blas-goto-1.16.ebuild, blas-goto-1.19.ebuild:
95 + Removed older versions, get ready for new style virtuals, workaround for
96 + eselect bug #189942.
97
98 21 Sep 2007; Donnie Berkholz <dberkholz@g.o>;
99 blas-goto-1.19.ebuild:
100
101
102
103 --
104 gentoo-commits@g.o mailing list