Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/iml/files/, sci-libs/iml/
Date: Mon, 21 Dec 2015 10:38:16
Message-Id: 1450694285.82ab93d397b18e284a7c52ae4457dc22d137ec3e.jlec@gentoo
1 commit: 82ab93d397b18e284a7c52ae4457dc22d137ec3e
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 21 10:38:05 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 21 10:38:05 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=82ab93d3
7
8 sci-libs/iml: Version Bump, drop old
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 .../iml/files/iml-1.0.3-fix-undefined-symbol.patch | 11 ---------
14 sci-libs/iml/files/iml-1.0.3-repl_removal.patch | 27 ----------------------
15 .../iml-1.0.3-use-any-cblas-implementation.patch | 14 -----------
16 .../iml/{iml-1.0.3-r2.ebuild => iml-1.0.5.ebuild} | 10 ++++----
17 4 files changed, 5 insertions(+), 57 deletions(-)
18
19 diff --git a/sci-libs/iml/files/iml-1.0.3-fix-undefined-symbol.patch b/sci-libs/iml/files/iml-1.0.3-fix-undefined-symbol.patch
20 deleted file mode 100644
21 index 53b1425..0000000
22 --- a/sci-libs/iml/files/iml-1.0.3-fix-undefined-symbol.patch
23 +++ /dev/null
24 @@ -1,11 +0,0 @@
25 ---- src/nullspace.c.orig 2009-11-23 15:01:49.200283384 +0000
26 -+++ src/nullspace.c 2009-11-23 15:03:00.862295995 +0000
27 -@@ -253,7 +253,7 @@
28 - for (i = 0; i < m; i++) {
29 - for (j = 0; j < m; j++)
30 - mpz_init_set_ui(mp_N[i * m + j], 0);
31 -- mpz_init_ui(mp_N[i * m + i], 1);
32 -+ mpz_set_ui(mp_N[i * m + i], 1);
33 - }
34 - *mp_N_pass = mp_N;
35 - } else { /* r>0 and s>0 */
36
37 diff --git a/sci-libs/iml/files/iml-1.0.3-repl_removal.patch b/sci-libs/iml/files/iml-1.0.3-repl_removal.patch
38 deleted file mode 100644
39 index 0be719b..0000000
40 --- a/sci-libs/iml/files/iml-1.0.3-repl_removal.patch
41 +++ /dev/null
42 @@ -1,27 +0,0 @@
43 ---- configure.ac.orig 2011-01-13 22:39:44.640530988 +1300
44 -+++ configure.ac 2011-01-13 22:40:15.462530988 +1300
45 -@@ -63,7 +63,6 @@
46 - AC_OUTPUT([
47 - Makefile
48 - config/Makefile
49 -- repl/Makefile
50 - src/Makefile
51 - doc/Makefile
52 - examples/Makefile
53 ---- Makefile.am.orig 2011-01-13 22:40:32.171530988 +1300
54 -+++ Makefile.am 2011-01-13 22:41:39.874530988 +1300
55 -@@ -1,3 +1,3 @@
56 - EXTRA_DIST = bootstrap
57 -
58 --SUBDIRS = repl config src doc tests examples
59 -+SUBDIRS = config src doc tests examples
60 ---- src/Makefile.am.orig 2011-01-13 22:41:53.012530988 +1300
61 -+++ src/Makefile.am 2011-01-13 22:42:12.585530988 +1300
62 -@@ -30,6 +30,5 @@
63 - nullspace.c
64 -
65 - libiml_la_CFLAGS = $(AM_CFLAGS)
66 --libiml_la_LIBADD = $(EXTERNLIB) \
67 -- $(top_builddir)/repl/librepl.la
68 -+libiml_la_LIBADD = $(EXTERNLIB)
69 - libiml_la_LDFLAGS = -version-info 1:0:1
70
71 diff --git a/sci-libs/iml/files/iml-1.0.3-use-any-cblas-implementation.patch b/sci-libs/iml/files/iml-1.0.3-use-any-cblas-implementation.patch
72 deleted file mode 100644
73 index c1dd09c..0000000
74 --- a/sci-libs/iml/files/iml-1.0.3-use-any-cblas-implementation.patch
75 +++ /dev/null
76 @@ -1,14 +0,0 @@
77 ---- configure.ac.orig 2008-06-15 23:51:30.000000000 +0000
78 -+++ configure.ac 2010-08-07 08:38:44.689081000 +0000
79 -@@ -55,10 +55,7 @@
80 - respectively when running configure.
81 - )])
82 -
83 --IML_CHECK_ATLAS(,,[AC_MSG_ERROR(
84 --ATLAS not found!
85 --ATLAS version 3.0 or greater is required for this library to compile. Please make sure ATLAS is installed and specify the header and libraries location with the options --with-atlas-include=<path> and --with-atlas-lib=<path> respectively when running configure.
86 --)])
87 -+PKG_CHECK_MODULES([ATLAS], [cblas])
88 -
89 - AC_SUBST(LDFLAGS)
90 - AC_SUBST(ac_aux_dir)
91
92 diff --git a/sci-libs/iml/iml-1.0.3-r2.ebuild b/sci-libs/iml/iml-1.0.5.ebuild
93 similarity index 74%
94 rename from sci-libs/iml/iml-1.0.3-r2.ebuild
95 rename to sci-libs/iml/iml-1.0.5.ebuild
96 index abdcaf1..d4bf626 100644
97 --- a/sci-libs/iml/iml-1.0.3-r2.ebuild
98 +++ b/sci-libs/iml/iml-1.0.5.ebuild
99 @@ -4,11 +4,13 @@
100
101 EAPI=5
102
103 +AUTOTOOLS_AUTORECONF=yes
104 +
105 inherit autotools-utils
106
107 DESCRIPTION="Integer Matrix Library"
108 HOMEPAGE="http://www.cs.uwaterloo.ca/~astorjoh/iml.html"
109 -SRC_URI="http://www.cs.uwaterloo.ca/~astorjoh/${P}.tar.gz"
110 +SRC_URI="http://www.cs.uwaterloo.ca/~astorjoh/${P}.tar.bz2"
111
112 LICENSE="GPL-2"
113 SLOT="0"
114 @@ -20,13 +22,11 @@ RESTRICT="mirror"
115 DEPEND="virtual/cblas"
116 RDEPEND="${DEPEND}"
117
118 -AUTOTOOLS_AUTORECONF=yes
119 AT_M4DIR="config"
120 DOCS=( AUTHORS ChangeLog README )
121 +
122 PATCHES=(
123 - "${FILESDIR}"/${P}-use-any-cblas-implementation.patch
124 - "${FILESDIR}"/${P}-fix-undefined-symbol.patch
125 - "${FILESDIR}"/${P}-repl_removal.patch
126 + "${FILESDIR}"/${PN}-1.0.4-use-any-cblas-implementation.patch
127 )
128
129 src_configure() {