1 |
commit: ed656750c2d57ce9610a094ac22475c4b6c97bb9 |
2 |
Author: Thomas Kahle <tomka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 11:40:16 2016 +0000 |
4 |
Commit: Thomas Kahle <tomka <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 11:45:53 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed656750 |
7 |
|
8 |
sci-mathematics/polymake: Bump to 3.0r2 |
9 |
|
10 |
Also solves bug 595330 |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
|
14 |
sci-mathematics/polymake/Manifest | 1 + |
15 |
sci-mathematics/polymake/polymake-3.0_p2.ebuild | 91 +++++++++++++++++++++++++ |
16 |
2 files changed, 92 insertions(+) |
17 |
|
18 |
diff --git a/sci-mathematics/polymake/Manifest b/sci-mathematics/polymake/Manifest |
19 |
index b4b030a..1528d82 100644 |
20 |
--- a/sci-mathematics/polymake/Manifest |
21 |
+++ b/sci-mathematics/polymake/Manifest |
22 |
@@ -1,3 +1,4 @@ |
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/polymake-3.0_p2.ebuild b/sci-mathematics/polymake/polymake-3.0_p2.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000..fc6475d |
31 |
--- /dev/null |
32 |
+++ b/sci-mathematics/polymake/polymake-3.0_p2.ebuild |
33 |
@@ -0,0 +1,91 @@ |
34 |
+# Copyright 1999-2016 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit eutils flag-o-matic |
41 |
+ |
42 |
+DESCRIPTION="research tool for polyhedral geometry and combinatorics" |
43 |
+SRC_URI="https://polymake.org/lib/exe/fetch.php/download/polymake-3.0r2.tar.bz2" |
44 |
+HOMEPAGE="http://polymake.org" |
45 |
+ |
46 |
+IUSE="+cdd lrs ppl bliss group +libnormaliz singular libpolymake" |
47 |
+ |
48 |
+REQUIRED_USE="group? ( cdd lrs )" |
49 |
+ |
50 |
+SLOT="0" |
51 |
+LICENSE="GPL-2" |
52 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
53 |
+ |
54 |
+DEPEND="dev-lang/perl |
55 |
+ dev-libs/gmp:0= |
56 |
+ dev-libs/mpfr:0 |
57 |
+ dev-libs/libxml2:2 |
58 |
+ dev-libs/libxslt |
59 |
+ ppl? ( dev-libs/ppl ) |
60 |
+ cdd? ( sci-libs/cddlib ) |
61 |
+ lrs? ( >=sci-libs/lrslib-051[gmp] ) |
62 |
+ bliss? ( sci-libs/bliss[gmp] ) |
63 |
+ group? ( dev-libs/boost:= ) |
64 |
+ libnormaliz? ( dev-libs/boost:= ) |
65 |
+ singular? ( >=sci-mathematics/singular-4.0.1 )" |
66 |
+RDEPEND="${DEPEND} |
67 |
+ dev-perl/XML-LibXML |
68 |
+ dev-perl/XML-LibXSLT |
69 |
+ dev-perl/XML-Writer |
70 |
+ dev-perl/Term-ReadLine-Gnu" |
71 |
+ |
72 |
+S="${WORKDIR}/${PN}-3.0" |
73 |
+ |
74 |
+pkg_pretend() { |
75 |
+ einfo "During compile this package uses up to" |
76 |
+ einfo "750MB of RAM per process. Use MAKEOPTS=\"-j1\" if" |
77 |
+ einfo "you run into trouble." |
78 |
+} |
79 |
+ |
80 |
+src_configure () { |
81 |
+ export CXXOPT=$(get-flag -O) |
82 |
+ |
83 |
+ # We need to define BLISS_USE_GMP if bliss was built with gmp support. |
84 |
+ # Therefore we require gmp support on bliss, so that the package |
85 |
+ # manager can prevent rebuilds with changed gmp flag. |
86 |
+ if use bliss ; then |
87 |
+ append-cxxflags -DBLISS_USE_GMP |
88 |
+ fi |
89 |
+ |
90 |
+ # Configure does not accept --host, therefore econf cannot be used |
91 |
+ |
92 |
+ # Some of the options do not support using just '--with-option' |
93 |
+ local myconf="" |
94 |
+ use !group && myconf="$myconf --without-group" |
95 |
+ use !libnormaliz && myconf="$myconf --without-libnormaliz" |
96 |
+ use !libpolymake && myconf="$myconf --without-callable" |
97 |
+ |
98 |
+ # And many other --with-arguments expect a path: --with-option=/path |
99 |
+ ./configure --prefix="${EPREFIX}/usr" \ |
100 |
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
101 |
+ --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \ |
102 |
+ --without-prereq \ |
103 |
+ --without-java \ |
104 |
+ $(use_with cdd cdd "${EPREFIX}/usr") \ |
105 |
+ $(use_with lrs lrs "${EPREFIX}/usr") \ |
106 |
+ $(use_with ppl ppl "${EPREFIX}/usr") \ |
107 |
+ $(use_with bliss bliss "${EPREFIX}/usr") \ |
108 |
+ $(use_with singular singular "${EPREFIX}/usr") \ |
109 |
+ ${myconf} || die |
110 |
+} |
111 |
+ |
112 |
+src_install(){ |
113 |
+ emake -j1 DESTDIR="${D}" install |
114 |
+} |
115 |
+ |
116 |
+pkg_postinst(){ |
117 |
+ elog "Docs can be found on http://www.polymake.org/doku.php/documentation" |
118 |
+ elog " " |
119 |
+ elog "Support for jreality is missing, sorry (see bug #346073)." |
120 |
+ elog " " |
121 |
+ elog "Additional features for polymake are available through external" |
122 |
+ elog "software such as sci-mathmatics/4ti2 and sci-mathematics/topcom." |
123 |
+ elog "After installing new external software run 'polymake --reconfigure'." |
124 |
+} |