Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/blas-reference/files/, sci-libs/blas-reference/
Date: Sat, 02 Apr 2016 14:56:10
Message-Id: 1459608962.57b744d017ae184ccfc8f43b98834487d55f2056.jlec@gentoo
1 commit: 57b744d017ae184ccfc8f43b98834487d55f2056
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 14:51:44 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 14:56:02 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57b744d0
7
8 sci-libs/blas-reference: Drop old
9
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=478600
11
12 Package-Manager: portage-2.2.27
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 .../blas-reference-20070226-r2.ebuild | 70 ----------------------
16 .../blas-reference-20070226-r3.ebuild | 70 ----------------------
17 .../blas-reference/blas-reference-20070226.ebuild | 58 ------------------
18 .../blas-reference/files/eselect.blas.reference-ng | 1 -
19 4 files changed, 199 deletions(-)
20
21 diff --git a/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild b/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild
22 deleted file mode 100644
23 index 6c6e0a9..0000000
24 --- a/sci-libs/blas-reference/blas-reference-20070226-r2.ebuild
25 +++ /dev/null
26 @@ -1,70 +0,0 @@
27 -# Copyright 1999-2015 Gentoo Foundation
28 -# Distributed under the terms of the GNU General Public License v2
29 -# $Id$
30 -
31 -EAPI=3
32 -
33 -inherit eutils fortran-2 autotools multilib flag-o-matic toolchain-funcs
34 -
35 -LAPACKPV="3.1.1"
36 -LAPACKPN="lapack-lite"
37 -
38 -DESCRIPTION="Basic Linear Algebra Subprograms F77 reference implementations"
39 -HOMEPAGE="http://www.netlib.org/blas/"
40 -SRC_URI="http://www.netlib.org/lapack/${LAPACKPN}-${LAPACKPV}.tgz"
41 -
42 -LICENSE="BSD"
43 -SLOT="0"
44 -KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris"
45 -IUSE="doc"
46 -
47 -DEPEND="app-eselect/eselect-blas"
48 -RDEPEND="${DEPEND}
49 - doc? ( app-doc/blas-docs )"
50 -
51 -S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}"
52 -
53 -src_prepare() {
54 - ESELECT_PROF=reference
55 - epatch \
56 - "${FILESDIR}"/${P}-autotool.patch \
57 - "${FILESDIR}"/${P}-pkg-config.patch
58 - eautoreconf
59 -
60 - cp "${FILESDIR}"/eselect.blas.reference "${T}"/
61 - sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.blas.reference || die
62 - if [[ ${CHOST} == *-darwin* ]] ; then
63 - sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
64 - "${T}"/eselect.blas.reference || die
65 - fi
66 -}
67 -
68 -src_configure() {
69 - econf \
70 - --libdir="${EPREFIX}"/usr/$(get_libdir)/blas/reference
71 -}
72 -
73 -src_compile() {
74 - emake LDFLAGS="${LDFLAGS}" || die "emake failed"
75 -}
76 -
77 -src_install() {
78 - emake DESTDIR="${D}" install || die "emake install failed"
79 - eselect blas add $(get_libdir) "${T}"/eselect.blas.reference ${ESELECT_PROF}
80 -}
81 -
82 -pkg_postinst() {
83 - local p=blas
84 - local current_lib=$(eselect ${p} show | cut -d' ' -f2)
85 - if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
86 - # work around eselect bug #189942
87 - local configfile="${EROOT}"/etc/env.d/${p}/$(get_libdir)/config
88 - [[ -e ${configfile} ]] && rm -f ${configfile}
89 - eselect ${p} set ${ESELECT_PROF}
90 - elog "${p} has been eselected to ${ESELECT_PROF}"
91 - else
92 - elog "Current eselected ${p} is ${current_lib}"
93 - elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
94 - elog "\t eselect ${p} set ${ESELECT_PROF}"
95 - fi
96 -}
97
98 diff --git a/sci-libs/blas-reference/blas-reference-20070226-r3.ebuild b/sci-libs/blas-reference/blas-reference-20070226-r3.ebuild
99 deleted file mode 100644
100 index 6317d3d..0000000
101 --- a/sci-libs/blas-reference/blas-reference-20070226-r3.ebuild
102 +++ /dev/null
103 @@ -1,70 +0,0 @@
104 -# Copyright 1999-2015 Gentoo Foundation
105 -# Distributed under the terms of the GNU General Public License v2
106 -# $Id$
107 -
108 -EAPI=3
109 -
110 -inherit eutils fortran-2 autotools multilib flag-o-matic toolchain-funcs
111 -
112 -LAPACKPV="3.1.1"
113 -LAPACKPN="lapack-lite"
114 -
115 -DESCRIPTION="Basic Linear Algebra Subprograms F77 reference implementations"
116 -HOMEPAGE="http://www.netlib.org/blas/"
117 -SRC_URI="http://www.netlib.org/lapack/${LAPACKPN}-${LAPACKPV}.tgz"
118 -
119 -LICENSE="BSD"
120 -SLOT="0"
121 -KEYWORDS=""
122 -IUSE="doc"
123 -
124 -DEPEND="app-eselect/eselect-blas"
125 -RDEPEND="${DEPEND}
126 - doc? ( app-doc/blas-docs )"
127 -
128 -S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}"
129 -
130 -src_prepare() {
131 - ESELECT_PROF=reference
132 - epatch \
133 - "${FILESDIR}"/${P}-autotool.patch \
134 - "${FILESDIR}"/${P}-pkg-config.patch
135 - eautoreconf
136 -
137 - cp "${FILESDIR}"/eselect.blas.reference-ng "${T}"/eselect.blas.reference || die
138 - sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.blas.reference || die
139 - if [[ ${CHOST} == *-darwin* ]] ; then
140 - sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
141 - "${T}"/eselect.blas.reference || die
142 - fi
143 -}
144 -
145 -src_configure() {
146 - econf \
147 - --libdir="${EPREFIX}"/usr/$(get_libdir)/blas/reference
148 -}
149 -
150 -src_compile() {
151 - emake LDFLAGS="${LDFLAGS}" || die "emake failed"
152 -}
153 -
154 -src_install() {
155 - emake DESTDIR="${D}" install || die "emake install failed"
156 - eselect blas add $(get_libdir) "${T}"/eselect.blas.reference ${ESELECT_PROF}
157 -}
158 -
159 -pkg_postinst() {
160 - local p=blas
161 - local current_lib=$(eselect ${p} show | cut -d' ' -f2)
162 - if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
163 - # work around eselect bug #189942
164 - local configfile="${EROOT}"/etc/env.d/${p}/$(get_libdir)/config
165 - [[ -e ${configfile} ]] && rm -f ${configfile}
166 - eselect ${p} set ${ESELECT_PROF}
167 - elog "${p} has been eselected to ${ESELECT_PROF}"
168 - else
169 - elog "Current eselected ${p} is ${current_lib}"
170 - elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
171 - elog "\t eselect ${p} set ${ESELECT_PROF}"
172 - fi
173 -}
174
175 diff --git a/sci-libs/blas-reference/blas-reference-20070226.ebuild b/sci-libs/blas-reference/blas-reference-20070226.ebuild
176 deleted file mode 100644
177 index b062b5b..0000000
178 --- a/sci-libs/blas-reference/blas-reference-20070226.ebuild
179 +++ /dev/null
180 @@ -1,58 +0,0 @@
181 -# Copyright 1999-2015 Gentoo Foundation
182 -# Distributed under the terms of the GNU General Public License v2
183 -# $Id$
184 -
185 -inherit eutils fortran-2 autotools multilib flag-o-matic toolchain-funcs
186 -
187 -LAPACKPV="3.1.1"
188 -LAPACKPN="lapack-lite"
189 -
190 -DESCRIPTION="Basic Linear Algebra Subprograms F77 reference implementations"
191 -HOMEPAGE="http://www.netlib.org/blas/"
192 -SRC_URI="http://www.netlib.org/lapack/${LAPACKPN}-${LAPACKPV}.tgz"
193 -
194 -LICENSE="BSD"
195 -SLOT="0"
196 -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86 ~x86-fbsd"
197 -IUSE="doc"
198 -
199 -DEPEND="app-eselect/eselect-blas"
200 -RDEPEND="${DEPEND}
201 - doc? ( app-doc/blas-docs )"
202 -
203 -S="${WORKDIR}/${LAPACKPN}-${LAPACKPV}"
204 -
205 -src_unpack() {
206 - ESELECT_PROF=reference
207 - unpack ${A}
208 - cd "${S}"
209 - epatch "${FILESDIR}"/${P}-autotool.patch
210 - eautoreconf
211 -}
212 -
213 -src_compile() {
214 - econf \
215 - --libdir=/usr/$(get_libdir)/blas/reference
216 - emake LDFLAGS="${LDFLAGS}" || die "emake failed"
217 -}
218 -
219 -src_install() {
220 - emake DESTDIR="${D}" install || die "emake install failed"
221 - eselect blas add $(get_libdir) "${FILESDIR}"/eselect.blas.reference ${ESELECT_PROF}
222 -}
223 -
224 -pkg_postinst() {
225 - local p=blas
226 - local current_lib=$(eselect ${p} show | cut -d' ' -f2)
227 - if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
228 - # work around eselect bug #189942
229 - local configfile="${ROOT}"/etc/env.d/${p}/$(get_libdir)/config
230 - [[ -e ${configfile} ]] && rm -f ${configfile}
231 - eselect ${p} set ${ESELECT_PROF}
232 - elog "${p} has been eselected to ${ESELECT_PROF}"
233 - else
234 - elog "Current eselected ${p} is ${current_lib}"
235 - elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
236 - elog "\t eselect ${p} set ${ESELECT_PROF}"
237 - fi
238 -}
239
240 diff --git a/sci-libs/blas-reference/files/eselect.blas.reference-ng b/sci-libs/blas-reference/files/eselect.blas.reference-ng
241 deleted file mode 100644
242 index 8403894..0000000
243 --- a/sci-libs/blas-reference/files/eselect.blas.reference-ng
244 +++ /dev/null
245 @@ -1 +0,0 @@
246 -../blas/reference/blas.pc /usr/@LIBDIR@/pkgconfig/blas.pc