Gentoo Archives: gentoo-commits

From: "Thomas Kahle (tomka)" <tomka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/polymake: polymake-2.13.ebuild ChangeLog
Date: Thu, 26 Jun 2014 12:22:43
Message-Id: 20140626122239.58F032004E@flycatcher.gentoo.org
1 tomka 14/06/26 12:22:39
2
3 Modified: ChangeLog
4 Added: polymake-2.13.ebuild
5 Log:
6 bump to 2.13
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 565C32BC)
9
10 Revision Changes Path
11 1.12 sci-mathematics/polymake/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 14 Sep 2013 12:44:47 -0000 1.11
24 +++ ChangeLog 26 Jun 2014 12:22:39 -0000 1.12
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-mathematics/polymake
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.11 2013/09/14 12:44:47 tomka Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/ChangeLog,v 1.12 2014/06/26 12:22:39 tomka Exp $
31 +
32 +*polymake-2.13 (26 Jun 2014)
33 +
34 + 26 Jun 2014; Thomas Kahle <tomka@g.o> +polymake-2.13.ebuild:
35 + bump to 2.13
36
37 14 Sep 2013; Thomas Kahle <tomka@g.o> -files/2.10-drop-jreality.patch,
38 -files/2.10-soname.patch, -polymake-2.10.ebuild, -polymake-2.11.ebuild:
39
40
41
42 1.1 sci-mathematics/polymake/polymake-2.13.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/polymake-2.13.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/polymake/polymake-2.13.ebuild?rev=1.1&content-type=text/plain
46
47 Index: polymake-2.13.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/polymake/polymake-2.13.ebuild,v 1.1 2014/06/26 12:22:39 tomka Exp $
52
53 EAPI=5
54
55 inherit eutils flag-o-matic
56
57 MY_PV=${PV}-1
58
59 DESCRIPTION="research tool for polyhedral geometry and combinatorics"
60 SRC_URI="http://polymake.org/lib/exe/fetch.php/download/${PN}-${MY_PV}.tar.bz2"
61 HOMEPAGE="http://polymake.org"
62
63 IUSE="libpolymake"
64
65 SLOT="0"
66 LICENSE="GPL-2"
67 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
68
69 DEPEND="dev-libs/gmp
70 dev-libs/boost
71 dev-libs/libxml2:2
72 dev-perl/XML-LibXML
73 dev-libs/libxslt
74 dev-perl/XML-LibXSLT
75 dev-perl/XML-Writer
76 dev-perl/Term-ReadLine-Gnu"
77 RDEPEND="${DEPEND}"
78
79 S="${WORKDIR}/${PN}-${MY_PV}"
80
81 src_prepare() {
82 # Don't strip
83 sed -i '/system "strip $to"/d' support/install.pl || die
84
85 einfo "During compile this package uses up to"
86 einfo "750MB of RAM per process. Use MAKEOPTS=\"-j1\" if"
87 einfo "you run into trouble."
88 }
89
90 src_configure () {
91 export CXXOPT=$(get-flag -O)
92 # Configure does not accept --host, therefore econf cannot be used
93 ./configure --prefix="${EPREFIX}/usr" \
94 --without-java \
95 $(use_with libpolymake callable) \
96 --without-prereq \
97 --libdir="${EPREFIX}/usr/$(get_libdir)" \
98 --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
99 "${myconf}" || die
100 }
101
102 src_install(){
103 emake -j1 DESTDIR="${D}" install
104 dosym libpolymake.so "${EPREFIX}/usr/$(get_libdir)/libpolymake.so.0"
105 }
106
107 pkg_postinst(){
108 elog "Docs can be found on http://www.polymake.org/doku.php/documentation"
109 elog " "
110 elog "Support for jreality is missing, sorry (see bug #346073)."
111 }