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/normaliz: normaliz-2.10.1.ebuild ChangeLog normaliz-2.7.ebuild normaliz-2.8.ebuild
Date: Sat, 27 Jul 2013 14:59:15
Message-Id: 20130727145912.99DE921710@flycatcher.gentoo.org
1 tomka 13/07/27 14:59:12
2
3 Modified: ChangeLog
4 Added: normaliz-2.10.1.ebuild
5 Removed: normaliz-2.7.ebuild normaliz-2.8.ebuild
6 Log:
7 bump to 2.10.1, remove old
8
9 (Portage version: 2.1.12.13/cvs/Linux x86_64, signed Manifest commit with key 0x89DEB219565C32BC!)
10
11 Revision Changes Path
12 1.15 sci-mathematics/normaliz/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/normaliz/ChangeLog?rev=1.15&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/normaliz/ChangeLog?rev=1.15&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/normaliz/ChangeLog?r1=1.14&r2=1.15
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/normaliz/ChangeLog,v
21 retrieving revision 1.14
22 retrieving revision 1.15
23 diff -u -r1.14 -r1.15
24 --- ChangeLog 25 Jun 2013 12:57:08 -0000 1.14
25 +++ ChangeLog 27 Jul 2013 14:59:12 -0000 1.15
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-mathematics/normaliz
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/normaliz/ChangeLog,v 1.14 2013/06/25 12:57:08 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/normaliz/ChangeLog,v 1.15 2013/07/27 14:59:12 tomka Exp $
31 +
32 +*normaliz-2.10.1 (27 Jul 2013)
33 +
34 + 27 Jul 2013; Thomas Kahle <tomka@g.o> +normaliz-2.10.1.ebuild,
35 + -normaliz-2.7.ebuild, -normaliz-2.8.ebuild:
36 + bump to 2.10.1, remove old
37
38 25 Jun 2013; Agostino Sarubbo <ago@g.o> normaliz-2.10.ebuild:
39 Stable for amd64, wrt bug #473564
40
41
42
43 1.1 sci-mathematics/normaliz/normaliz-2.10.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/normaliz/normaliz-2.10.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/normaliz/normaliz-2.10.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: normaliz-2.10.1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/normaliz/normaliz-2.10.1.ebuild,v 1.1 2013/07/27 14:59:12 tomka Exp $
53
54 EAPI=5
55
56 inherit eutils toolchain-funcs versionator
57
58 MYPV=$(get_version_component_range 1-2)
59 MYP="Normaliz${MYPV}"
60
61 DESCRIPTION="Tool for computations in affine monoids and more"
62 HOMEPAGE="http://www.mathematik.uni-osnabrueck.de/normaliz/"
63 SRC_URI="http://www.mathematik.uni-osnabrueck.de/${PN}/${MYP}/${MYP}.zip"
64
65 LICENSE="GPL-3"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="extras openmp"
69
70 RDEPEND="dev-libs/gmp[cxx]"
71 DEPEND="${RDEPEND}
72 app-arch/unzip
73 dev-libs/boost"
74 # Only a boost header is needed -> not RDEPEND
75
76 S=${WORKDIR}/${MYP}
77
78 src_prepare () {
79 epatch "${FILESDIR}/${PN}-${MYPV}-respect-flags.patch"
80
81 # Respect users AR tool (Bug 474532)
82 sed -e "s:ar -cr:$(tc-getAR) -cr:" -i source/libnormaliz/Makefile
83
84 if use openmp && tc-has-openmp; then
85 export OPENMP=yes
86 else
87 export OPENMP=no
88 fi
89 }
90
91 src_compile(){
92 emake CXX="$(tc-getCXX)" OPENMP="${OPENMP}" -C source
93 }
94
95 src_install() {
96 dobin source/normaliz
97 dodoc doc/"${MYP}Documentation.pdf"
98 dodoc doc/"NmzIntegrate1.1Documentation.pdf"
99 if use extras; then
100 elog "You have selected to install extras which consist of Macaulay2"
101 elog "and Singular packages. These have been installed into "
102 elog "/usr/share/${PN}, and cannot be used without additional setup. Please refer"
103 elog "to the homepages of the respective projects for additional information."
104 elog "Note however, Gentoo's versions of Singular and Macaulay2 bring their own"
105 elog "copies of these interface packages. Usually you don't need normaliz's versions."
106 insinto "/usr/share/${PN}"
107 doins Singular/normaliz.lib
108 doins Macaulay2/Normaliz.m2
109 fi
110 }