Gentoo Archives: gentoo-commits

From: Thomas Kahle <tomka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/, sci-mathematics/polymake/files/
Date: Fri, 30 Sep 2016 11:46:11
Message-Id: 1475235955.08a32db74f9bc81c59802b2cd776c60ef515014c.tomka@gentoo
1 commit: 08a32db74f9bc81c59802b2cd776c60ef515014c
2 Author: Thomas Kahle <tomka <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 11:41:00 2016 +0000
4 Commit: Thomas Kahle <tomka <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 11:45:55 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08a32db7
7
8 sci-mathematics/polymake: Remove old
9
10 Package-Manager: portage-2.3.0
11
12 sci-mathematics/polymake/Manifest | 2 -
13 .../polymake/files/polymake_gcc49.patch | 68 ----------------------
14 sci-mathematics/polymake/polymake-2.13.ebuild | 64 --------------------
15 sci-mathematics/polymake/polymake-2.14.ebuild | 59 -------------------
16 4 files changed, 193 deletions(-)
17
18 diff --git a/sci-mathematics/polymake/Manifest b/sci-mathematics/polymake/Manifest
19 index 1528d82..0ff9bf5 100644
20 --- a/sci-mathematics/polymake/Manifest
21 +++ b/sci-mathematics/polymake/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST polymake-2.13-1.tar.bz2 16539798 SHA256 d010edc206b22356333493e90bd24f807c7341730232276d47dbf1b62eb53aba SHA512 90fd0c7eacbb673734e08860a753f75dae06347ce8affcb5d50c55a51975b85260db841393979c0143be5a71a26b6737f9513509d75a5950b40654c54d0be3ea WHIRLPOOL cef5c95930c7633acb0652e6ce3cd6c85b469af912ad1adb695e58a018e4cedbdac9f63caaeb12f3da0a8f7fb2b71e853b782f308a1594cfc89d2c9697e6c170
24 DIST polymake-2.14-minimal.tar.bz2 1996581 SHA256 c43b525c6f329ae2d8eb6d0e2af63f7846c4e5d408627665a28d0f421bbbcf9b SHA512 8989a8d2eb42c03e46569eca24334083154ff5107d7cd7d9dc481790b1553acd38025bd48ca016407e5c08b4b08f8062e19a1d4828ef535f83292510bdf5cd07 WHIRLPOOL 3f1521c60eafcff60b8ab2a443ff051835ee1c667eefcd59b33227e7a84293ccaefad4bc05eea4b8c541dea513b85b4e8538b6b572d762f2e1167b733029ec54
25 -DIST polymake-2.14.tar.bz2 38747874 SHA256 c181277b5cd45ac00f5667647e4eb5fa13c20547623fd6e63ce2522c058883c2 SHA512 f66eac2e821060719a16a6979fa0cc20edf9598d425ba2fff5bddfc053fd582b05a5579e1c2521fd382733a4808955aa49cb946234a183aba3ef75eed8c02b22 WHIRLPOOL 26b21d28d6b9a76b7a3164b6d5e45a00ed8a604b3f973a22db1472dce714dec5f8ad5d2ee7133321e2cd0f48d6380343b8e6d93db9e79b6726ef1e9954c04405
26 DIST polymake-3.0r2.tar.bz2 37695790 SHA256 e7c0f8e3a45ea288d2fb4ae781a1dcea913ef9c275fed401632cdb11a672d6dc SHA512 b4c22b2c6da8ef597dc05a44a30c7a55fd924a96854cde3f725095465972eabe1e24508f8e5d544f3131c82c973117b15983c38a0242fc7f1d4a4a8ecddb1d46 WHIRLPOOL 5a236ac32de0dd19e7f0f5b8b1b42f2b72fa2392ee098718383a8dfd0f1d1db3946d5f4f75bd9e4c075033deebcd87ddbb28ce70733d6371fa4624b8b6a4edd1
27
28 diff --git a/sci-mathematics/polymake/files/polymake_gcc49.patch b/sci-mathematics/polymake/files/polymake_gcc49.patch
29 deleted file mode 100644
30 index bc2cac5..00000000
31 --- a/sci-mathematics/polymake/files/polymake_gcc49.patch
32 +++ /dev/null
33 @@ -1,68 +0,0 @@
34 -commit 9fdecb57cb728170d0b87637c67947acf0cd27a4
35 -Author: Benjamin Lorenz <lorenz@××××××××××××××.de>
36 -Date: Sat May 17 23:05:41 2014 +0200
37 -
38 - fix ppl configure.pl test for gcc 4.9
39 -
40 -diff --git a/bundled/ppl/configure.pl b/bundled/ppl/configure.pl
41 -index 128af1f..a147ea1 100644
42 ---- a/bundled/ppl/configure.pl
43 -+++ b/bundled/ppl/configure.pl
44 -@@ -43,6 +43,7 @@ sub proceed {
45 -
46 - } else {
47 - my $error=Polymake::Configure::build_test_program(<<"---", Libs => "-lppl -lgmp");
48 -+#include <cstddef>
49 - #include "ppl.hh"
50 - #include <iostream>
51 - int main() {
52 -
53 -commit 6651dd4b284085ffb7385d6cbca1785b6242003b
54 -Author: Benjamin Lorenz <lorenz@××××××××××××××.de>
55 -Date: Wed May 7 15:53:12 2014 +0200
56 -
57 - another gcc 4.9 cstddef header fix
58 -
59 -diff --git a/bundled/bliss/apps/graph/src/GraphIso.cc b/bundled/bliss/apps/graph/src/GraphIso.cc
60 -index 4000dd5..14e0e8f 100644
61 ---- a/bundled/bliss/apps/graph/src/GraphIso.cc
62 -+++ b/bundled/bliss/apps/graph/src/GraphIso.cc
63 -@@ -15,6 +15,7 @@
64 - */
65 -
66 - #include <cstring>
67 -+#include <cstddef> // needed for gcc 4.9, see http://gcc.gnu.org/gcc-4.9/porting_to.html
68 - #include <bliss/graph.hh>
69 - #include "polymake/graph/GraphIso.h"
70 -
71 -
72 -commit 716639b858f476d6a2fd8fe51da67d6cb347ec7c
73 -Author: Benjamin Lorenz <lorenz@××××××××××××××.de>
74 -Date: Tue May 6 14:58:33 2014 +0200
75 -
76 - cstddef include fix for gcc 4.9 (see http://gcc.gnu.org/gcc-4.9/porting_to.html)
77 -
78 -diff --git a/bundled/libnormaliz/apps/polytope/src/normaliz.cc b/bundled/libnormaliz/apps/polytope/src/normaliz.cc
79 -index e6f2208..81e9783 100644
80 ---- a/bundled/libnormaliz/apps/polytope/src/normaliz.cc
81 -+++ b/bundled/libnormaliz/apps/polytope/src/normaliz.cc
82 -@@ -14,6 +14,7 @@
83 - --------------------------------------------------------------------------------
84 - */
85 -
86 -+#include <cstddef> // needed for gcc 4.9, see http://gcc.gnu.org/gcc-4.9/porting_to.html
87 - #include <gmpxx.h>
88 -
89 - #include "polymake/client.h"
90 -diff --git a/bundled/ppl/apps/polytope/include/ppl_interface_impl.h b/bundled/ppl/apps/polytope/include/ppl_interface_impl.h
91 -index fda2f39..1040c9e 100644
92 ---- a/bundled/ppl/apps/polytope/include/ppl_interface_impl.h
93 -+++ b/bundled/ppl/apps/polytope/include/ppl_interface_impl.h
94 -@@ -17,6 +17,7 @@
95 - #ifndef POLYMAKE_POLYTOPE_PPL_INTERFACE_IMPL_H
96 - #define POLYMAKE_POLYTOPE_PPL_INTERFACE_IMPL_H
97 -
98 -+#include <cstddef> // needed for gcc 4.9, see http://gcc.gnu.org/gcc-4.9/porting_to.html
99 - #include <gmpxx.h> //for mpz/mpq-handling
100 - #include "polymake/polytope/ppl_interface.h"
101 - #include "polymake/common/lattice_tools.h"
102
103 diff --git a/sci-mathematics/polymake/polymake-2.13.ebuild b/sci-mathematics/polymake/polymake-2.13.ebuild
104 deleted file mode 100644
105 index 0d5111c..00000000
106 --- a/sci-mathematics/polymake/polymake-2.13.ebuild
107 +++ /dev/null
108 @@ -1,64 +0,0 @@
109 -# Copyright 1999-2016 Gentoo Foundation
110 -# Distributed under the terms of the GNU General Public License v2
111 -# $Id$
112 -
113 -EAPI=5
114 -
115 -inherit eutils flag-o-matic
116 -
117 -MY_PV=${PV}-1
118 -
119 -DESCRIPTION="research tool for polyhedral geometry and combinatorics"
120 -SRC_URI="http://polymake.org/lib/exe/fetch.php/download/${PN}-${MY_PV}.tar.bz2"
121 -HOMEPAGE="http://polymake.org"
122 -
123 -IUSE="libpolymake"
124 -
125 -SLOT="0"
126 -LICENSE="GPL-2"
127 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
128 -
129 -DEPEND="dev-libs/gmp:0=
130 - dev-libs/boost:=
131 - dev-libs/libxml2:2
132 - dev-perl/XML-LibXML
133 - dev-libs/libxslt
134 - dev-perl/XML-LibXSLT
135 - dev-perl/XML-Writer
136 - dev-perl/Term-ReadLine-Gnu"
137 -RDEPEND="${DEPEND}"
138 -
139 -S="${WORKDIR}/${PN}-${MY_PV}"
140 -
141 -src_prepare() {
142 - # Don't strip
143 - sed -i '/system "strip $to"/d' support/install.pl || die
144 - epatch "${FILESDIR}/${PN}_gcc49.patch"
145 -
146 - einfo "During compile this package uses up to"
147 - einfo "750MB of RAM per process. Use MAKEOPTS=\"-j1\" if"
148 - einfo "you run into trouble."
149 -}
150 -
151 -src_configure () {
152 - export CXXOPT=$(get-flag -O)
153 - # Configure does not accept --host, therefore econf cannot be used
154 - ./configure --prefix="${EPREFIX}/usr" \
155 - --without-java \
156 - $(use_with libpolymake callable) \
157 - --without-prereq \
158 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
159 - --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
160 - "${myconf}" || die
161 -}
162 -
163 -src_install(){
164 - emake -j1 DESTDIR="${D}" install
165 - dosym libpolymake.so "${EPREFIX}/usr/$(get_libdir)/libpolymake.so.0"
166 -}
167 -
168 -pkg_postinst(){
169 - elog "Docs can be found on http://www.polymake.org/doku.php/documentation"
170 - elog " "
171 - elog "Support for jreality is missing, sorry (see bug #346073)."
172 -}
173
174 diff --git a/sci-mathematics/polymake/polymake-2.14.ebuild b/sci-mathematics/polymake/polymake-2.14.ebuild
175 deleted file mode 100644
176 index e6e9fa5..00000000
177 --- a/sci-mathematics/polymake/polymake-2.14.ebuild
178 +++ /dev/null
179 @@ -1,59 +0,0 @@
180 -# Copyright 1999-2016 Gentoo Foundation
181 -# Distributed under the terms of the GNU General Public License v2
182 -# $Id$
183 -
184 -EAPI=5
185 -
186 -inherit eutils flag-o-matic
187 -
188 -DESCRIPTION="research tool for polyhedral geometry and combinatorics"
189 -SRC_URI="http://polymake.org/lib/exe/fetch.php/download/${P}.tar.bz2"
190 -HOMEPAGE="http://polymake.org"
191 -
192 -IUSE="libpolymake"
193 -
194 -SLOT="0"
195 -LICENSE="GPL-2"
196 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
197 -
198 -DEPEND="dev-libs/gmp:0=
199 - dev-libs/boost:=
200 - dev-libs/libxml2:2
201 - dev-perl/XML-LibXML
202 - dev-libs/libxslt
203 - dev-perl/XML-LibXSLT
204 - dev-perl/XML-Writer
205 - dev-perl/Term-ReadLine-Gnu"
206 -RDEPEND="${DEPEND}"
207 -
208 -src_prepare() {
209 - # Don't strip
210 - sed -i '/system "strip $to"/d' support/install.pl || die
211 -
212 - einfo "During compile this package uses up to"
213 - einfo "750MB of RAM per process. Use MAKEOPTS=\"-j1\" if"
214 - einfo "you run into trouble."
215 -}
216 -
217 -src_configure () {
218 - export CXXOPT=$(get-flag -O)
219 - # Configure does not accept --host, therefore econf cannot be used
220 - ./configure --prefix="${EPREFIX}/usr" \
221 - --without-java \
222 - $(use_with libpolymake callable) \
223 - --without-prereq \
224 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
225 - --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
226 - "${myconf}" || die
227 -}
228 -
229 -src_install(){
230 - emake -j1 DESTDIR="${D}" install
231 - dosym libpolymake.so "${EPREFIX}/usr/$(get_libdir)/libpolymake.so.0"
232 -}
233 -
234 -pkg_postinst(){
235 - elog "Docs can be found on http://www.polymake.org/doku.php/documentation"
236 - elog " "
237 - elog "Support for jreality is missing, sorry (see bug #346073)."
238 -}