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