Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: sci-libs/jdqz/
Date: Sun, 02 May 2021 10:51:08
Message-Id: 1619948418.8d068ffb8d8259dccb8bc1d0a98ffd9c40f73ba4.telans@gentoo
1 commit: 8d068ffb8d8259dccb8bc1d0a98ffd9c40f73ba4
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun May 2 09:40:18 2021 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Sun May 2 09:40:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d068ffb
7
8 sci-libs/jdqz: drop 0_pre19971107-r1
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 sci-libs/jdqz/jdqz-0_pre19971107-r1.ebuild | 69 ------------------------------
13 1 file changed, 69 deletions(-)
14
15 diff --git a/sci-libs/jdqz/jdqz-0_pre19971107-r1.ebuild b/sci-libs/jdqz/jdqz-0_pre19971107-r1.ebuild
16 deleted file mode 100644
17 index 991c0863e..000000000
18 --- a/sci-libs/jdqz/jdqz-0_pre19971107-r1.ebuild
19 +++ /dev/null
20 @@ -1,69 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI="7"
25 -
26 -inherit flag-o-matic fortran-2 toolchain-funcs
27 -
28 -DESCRIPTION="Jacobi-Davidson type method for the generalized standard eigenvalue problem."
29 -HOMEPAGE="https://www.win.tue.nl/~hochsten/jd/"
30 -SRC_URI="https://www.win.tue.nl/~hochsten/jd/${PN}.tar.gz -> ${P}.tar.gz"
31 -
32 -LICENSE="GPL-3"
33 -SLOT="0"
34 -KEYWORDS="~amd64"
35 -
36 -IUSE="doc"
37 -
38 -# vvirtual/lapack does not pull in [deprecated] so we have to deal with this mess like this until it does
39 -DEPEND="
40 - virtual/blas
41 - virtual/lapack
42 - || ( sci-libs/openblas sci-libs/lapack[deprecated(-)] )
43 -"
44 -RDEPEND="${DEPEND}"
45 -BDEPEND="doc? ( dev-texlive/texlive-latex )"
46 -
47 -S="${WORKDIR}/${PN}"
48 -
49 -src_prepare() {
50 - libs="$($(tc-getPKG_CONFIG) --libs blas)"
51 - libs+=" $($(tc-getPKG_CONFIG) --libs lapack)"
52 -
53 - export libs
54 -
55 - sed -i 's/f77/${F77}/g' jdtest/Makefile || die
56 - sed -i '/FFLAGS/d' jdtest/Makefile || die
57 - sed -i 's/-u -O/-u ${FFLAGS}/g' jdtest/Makefile || die
58 -
59 - sed -i "s/-llapack -lblas/${libs}/" jdtest/Makefile || die
60 -
61 - default
62 -}
63 -
64 -src_compile() {
65 - if use doc; then
66 - pdflatex manual.tex || die
67 - fi
68 -
69 - cd "jdlib" || die
70 -
71 - echo "$(fc-getFC)" *.f "${FFLAGS} -shared -fPIC -Wl,-soname,libjdqz.so.0 -lm ${libs} ${LDFLAGS} -o libjdqz.so.0" > make.sh || die
72 -
73 - bash make.sh || die
74 - ln -s libjdqz.so.0 libjdqz.so || die
75 -}
76 -
77 -src_test() {
78 - cd "jdtest" || die
79 - emake
80 - cd ".." || die
81 - LD_LIBRARY_PATH="./jdlib" ./jdtest/example || die
82 -}
83 -
84 -src_install() {
85 - dolib.so jdlib/libjdqz.so
86 - dolib.so jdlib/libjdqz.so.0
87 -
88 - use doc && dodoc manual.pdf
89 -}