Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/pastix/
Date: Tue, 07 Mar 2017 00:17:34
Message-Id: 1488845837.faf6e33a4ba7dafac9568d115c6d146b812563bb.bicatali@gentoo
1 commit: faf6e33a4ba7dafac9568d115c6d146b812563bb
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 6 18:05:18 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 7 00:17:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf6e33a
7
8 sci-libs/pastix: version bump and fix obsolete mpi calls to compilers
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 sci-libs/pastix/Manifest | 1 +
13 sci-libs/pastix/pastix-5.2.2.22-r1.ebuild | 5 +----
14 ...stix-5.2.2.22-r1.ebuild => pastix-5.2.3.ebuild} | 23 +++++-----------------
15 3 files changed, 7 insertions(+), 22 deletions(-)
16
17 diff --git a/sci-libs/pastix/Manifest b/sci-libs/pastix/Manifest
18 index 2d3e4d75aa7..bac15ddd9fa 100644
19 --- a/sci-libs/pastix/Manifest
20 +++ b/sci-libs/pastix/Manifest
21 @@ -1 +1,2 @@
22 DIST pastix_5.2.2.22.tar.bz2 2664470 SHA256 30f771a666719e6b116f549a6e4da451beabab99c2ecabc0745247c3654acbed SHA512 15ecdb10b5229e40f744c1ad54be7cac6560cb92e90df1937c90ca7da290df6bdb6f24a1e1c54197731b9df3e0dcc0b9fa39750479fcf03a0c08c304c5b9df70 WHIRLPOOL 7031f822d3c2f89bd520175a124200303adc2dda56cbae4eb9e011b90d5119c5b96958d648c7e18d034e2845a32ad80385714bfb424260aa62c9f6484a18ce6b
23 +DIST pastix_5.2.3.tar.bz2 2246903 SHA256 641978e6b0607e201a409549adc78d5618ec159f44cafc7bddeaca4f4bee1e47 SHA512 69acffac1be8c756886783c2a6307269ab4d14abfc4a77268b3d14995e53b16084c298446812484233d9d52c317490d6ad67788166adf367075e6c8442147b95 WHIRLPOOL e03c04dcf4b932d284d90a06d5c22fe608fc6953eee40190103ef3269938aa04df3b83f769efb02c5c67237482b98f88bfd4100880908db71a89ab3aafcff0ec
24
25 diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
26 index ab592e07379..8ce2b925ea5 100644
27 --- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
28 +++ b/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
29 @@ -1,4 +1,4 @@
30 -# Copyright 1999-2016 Gentoo Foundation
31 +# Copyright 1999-2017 Gentoo Foundation
32 # Distributed under the terms of the GNU General Public License v2
33
34 EAPI=6
35 @@ -52,9 +52,6 @@ src_prepare() {
36 -e "s:^\(CCPROG\s*=\).*:\1 $(tc-getCC):" \
37 -e "s:^\(CFPROG\s*=\).*:\1 $(tc-getFC):" \
38 -e "s:^\(CF90PROG\s*=\).*:\1 $(tc-getFC):" \
39 - -e "s:^\(MPCCPROG\s*=\).*:\1 mpicc -cc=$(tc-getCC):" \
40 - -e "s:^\(MPCXXPROG\s*=\).*:\1 mpic++ -cxx=$(tc-getCXX):" \
41 - -e "s:^\(MCFPROG\s*=\).*:\1 mpif90 -f90=$(tc-getFC):" \
42 -e "s:^\(ARPROG\s*=\).*:\1 $(tc-getAR):" \
43 -e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \
44 -e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \
45
46 diff --git a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild b/sci-libs/pastix/pastix-5.2.3.ebuild
47 similarity index 81%
48 copy from sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
49 copy to sci-libs/pastix/pastix-5.2.3.ebuild
50 index ab592e07379..5c9dfdd3592 100644
51 --- a/sci-libs/pastix/pastix-5.2.2.22-r1.ebuild
52 +++ b/sci-libs/pastix/pastix-5.2.3.ebuild
53 @@ -1,4 +1,4 @@
54 -# Copyright 1999-2016 Gentoo Foundation
55 +# Copyright 1999-2017 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57
58 EAPI=6
59 @@ -14,21 +14,14 @@ inherit fortran-2 toolchain-funcs
60 # metis?
61
62 # package id: change every version, see the link on inriaforge
63 -PID=35070
64 -# commit id: change every version
65 -#CID=351ef60
66 -# leave empty if this is not a post release bug fix
67 -#PPV=bugfix9_
68 -#MYPN=pastix_release
69 -#SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${MYPN}_${PPV}${CID}.tar.bz2"
70 -
71 +PID=218
72 DESCRIPTION="Parallel solver for very large sparse linear systems"
73 HOMEPAGE="http://pastix.gforge.inria.fr"
74 -SRC_URI="https://gforge.inria.fr/frs/download.php/${PID}/${PN}_${PV}.tar.bz2"
75 +SRC_URI="https://gforge.inria.fr/frs/download.php/latestfile/${PID}/${PN}_${PV}.tar.bz2"
76
77 LICENSE="CeCILL-C"
78 SLOT="0"
79 -KEYWORDS="~alpha amd64 ~x86 ~amd64-linux ~x86-linux"
80 +KEYWORDS="~alpha ~amd64 ~x86 ~amd64-linux ~x86-linux"
81 IUSE="doc int64 mpi +smp starpu static-libs"
82
83 RDEPEND="
84 @@ -40,10 +33,6 @@ RDEPEND="
85 DEPEND="${RDEPEND}
86 virtual/pkgconfig"
87
88 -PATCHES=(
89 - "${FILESDIR}/${P}-nosmp-undefined-variable.patch"
90 - "${FILESDIR}/${P}-isnan-floating-point-cast.patch"
91 -)
92 S="${WORKDIR}/${PN}_${PV}/src"
93
94 src_prepare() {
95 @@ -52,9 +41,6 @@ src_prepare() {
96 -e "s:^\(CCPROG\s*=\).*:\1 $(tc-getCC):" \
97 -e "s:^\(CFPROG\s*=\).*:\1 $(tc-getFC):" \
98 -e "s:^\(CF90PROG\s*=\).*:\1 $(tc-getFC):" \
99 - -e "s:^\(MPCCPROG\s*=\).*:\1 mpicc -cc=$(tc-getCC):" \
100 - -e "s:^\(MPCXXPROG\s*=\).*:\1 mpic++ -cxx=$(tc-getCXX):" \
101 - -e "s:^\(MCFPROG\s*=\).*:\1 mpif90 -f90=$(tc-getFC):" \
102 -e "s:^\(ARPROG\s*=\).*:\1 $(tc-getAR):" \
103 -e "s:^\(CCFOPT\s*=\).*:\1 ${FFLAGS}:" \
104 -e "s:^\(CCFDEB\s*=\).*:\1 ${FFLAGS}:" \
105 @@ -118,6 +104,7 @@ src_compile() {
106
107 src_test() {
108 # both test and tests targets are defined and do not work
109 + emake examples
110 echo
111 }