1 |
commit: f57b76a93f53ddb26af0bd5fe3a3bfbe7724ab2f |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 29 22:33:10 2017 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 31 18:12:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f57b76a9 |
7 |
|
8 |
sci-mathematics/normaliz: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
sci-mathematics/normaliz/Manifest | 1 + |
13 |
sci-mathematics/normaliz/metadata.xml | 8 ++-- |
14 |
sci-mathematics/normaliz/normaliz-3.3.0.ebuild | 60 ++++++++++++++++++++++++++ |
15 |
3 files changed, 65 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/sci-mathematics/normaliz/Manifest b/sci-mathematics/normaliz/Manifest |
18 |
index 9fe50d4d7fc..31b6ae25ed1 100644 |
19 |
--- a/sci-mathematics/normaliz/Manifest |
20 |
+++ b/sci-mathematics/normaliz/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST Normaliz2.12.2.zip 6432949 SHA256 230772425b3c9964b9e144c0919c75fac0ec95260a1943c10a8a94eea9d7273e SHA512 fd42071cb87b8efbaf9af0885c173a0583e0b38dedb8821a83225eeebb44060a7b5748c44adfc4faeac20c3a1706071bcb9883cb4447e4a1ff3aeb770bd22038 WHIRLPOOL cb2974e02eac6e6d51c234214a719a24ad2e12d1400f0a6f8aee3e7a4ba3aa2ba053beec65c9032f42726e4dd4f1866820bb5b7b96f7c3d34cd132fcdbdb91af |
23 |
DIST Normaliz3.1.1.zip 5839858 SHA256 192e60d3671d4516c4904b166dec96c5b32c63c0fbaae15d067e25b8d9b6119e SHA512 efa75844542df45d3cff6b6f877f2d6132905b722468b3df5a89468798bf66cbaf33f359000fb462f4d24fb3414f4c293a8ba84112a6712862dd593bb5f314ba WHIRLPOOL 5f9b503899d2d7a8c0367d516b709e45e8d034a70c06a16bbfd680c7c2b070fcc3f686c37473c73ab96c4b99b669e767817190d4882fce2085b47a7bf57de51c |
24 |
DIST normaliz-3.1.3.tar.gz 3075453 SHA256 f18f037395596219ee67cf40945903f990a6091fd3eb5dc67120d582e889ae34 SHA512 c7fb1620e758dc59de88f0d7c55f50db0f67be772a00af27205e478f30c3836b7cf012a16a8adfdee3f0367d3adb4e3f887dc7d03793a7ca1601968ddb1946ce WHIRLPOOL 7cc3534b59cf4d6af5c1760038e29171b16577b7e5ef8f76da4504cb5471e147948b0711e5deea059f8c610de87d638208e2c2718cc07fb684440677d9f1bea3 |
25 |
+DIST normaliz-3.3.0.tar.gz 4243027 SHA256 0a22132c960c05edbc3c39391d395308f6ba3d9cb076ca075db7bbb639d85bbb SHA512 3e09be1a265746c2cedf24c6a38de2f3801a906a66a0fa73a98b05916a5e6f412d84f5e38276781b5d99ff779a2db3fc420acdadd036e9822cae41b2ed539be5 WHIRLPOOL a08f0ec39d2b1e350eabf45d2aa7c033ed597830bc0cfd9fbcd0bb09af069bbe551d2a967b0d5de5bbffde71aa7945e021fd40d3791dc24d66582d7b27d6d658 |
26 |
|
27 |
diff --git a/sci-mathematics/normaliz/metadata.xml b/sci-mathematics/normaliz/metadata.xml |
28 |
index 6edd7c37997..611dafb67f5 100644 |
29 |
--- a/sci-mathematics/normaliz/metadata.xml |
30 |
+++ b/sci-mathematics/normaliz/metadata.xml |
31 |
@@ -6,12 +6,12 @@ |
32 |
<name>Gentoo Mathematics Project</name> |
33 |
</maintainer> |
34 |
<use> |
35 |
- <flag name="extras"> Install <pkg>sci-mathematics/Macaulay2</pkg> and <pkg>sci-mathematics/singular</pkg> |
36 |
- packages as shipped by upstream</flag> |
37 |
+ <flag name="extras"> Install <pkg>sci-mathematics/Macaulay2</pkg> and <pkg>sci-mathematics/singular</pkg>packages as shipped by upstream</flag> |
38 |
</use> |
39 |
<longdescription lang="en"> |
40 |
-Normaliz is a (command line) tool for computations in affine monoids, vector configurations, lattice polytopes, and |
41 |
-rational cones. |
42 |
+ Normaliz is a (command line) tool for computations in affine |
43 |
+ monoids, vector configurations, lattice polytopes, and rational |
44 |
+ cones. |
45 |
</longdescription> |
46 |
<upstream> |
47 |
<remote-id type="github">Normaliz/Normaliz</remote-id> |
48 |
|
49 |
diff --git a/sci-mathematics/normaliz/normaliz-3.3.0.ebuild b/sci-mathematics/normaliz/normaliz-3.3.0.ebuild |
50 |
new file mode 100644 |
51 |
index 00000000000..f379562bd32 |
52 |
--- /dev/null |
53 |
+++ b/sci-mathematics/normaliz/normaliz-3.3.0.ebuild |
54 |
@@ -0,0 +1,60 @@ |
55 |
+# Copyright 1999-2017 Gentoo Foundation |
56 |
+# Distributed under the terms of the GNU General Public License v2 |
57 |
+ |
58 |
+EAPI=6 |
59 |
+ |
60 |
+inherit autotools toolchain-funcs eutils |
61 |
+ |
62 |
+MYP="Normaliz-${PV}" |
63 |
+ |
64 |
+DESCRIPTION="Tool for computations in affine monoids and more" |
65 |
+HOMEPAGE="http://www.mathematik.uni-osnabrueck.de/normaliz/" |
66 |
+SRC_URI="https://github.com/Normaliz/Normaliz/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
67 |
+ |
68 |
+LICENSE="GPL-3" |
69 |
+SLOT="0/3" |
70 |
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
71 |
+IUSE="doc extras openmp static-libs" |
72 |
+ |
73 |
+# would be nice to package scip and cocoalib |
74 |
+ |
75 |
+RDEPEND=" |
76 |
+ dev-libs/gmp:=[cxx] |
77 |
+" |
78 |
+DEPEND="${RDEPEND} |
79 |
+ dev-libs/boost |
80 |
+" |
81 |
+# Only a boost header is needed -> not RDEPEND |
82 |
+ |
83 |
+S="${WORKDIR}/${MYP}" |
84 |
+ |
85 |
+pkg_setup() { |
86 |
+ use openmp && tc-check-openmp |
87 |
+} |
88 |
+ |
89 |
+src_prepare() { |
90 |
+ default |
91 |
+ eautoreconf |
92 |
+} |
93 |
+ |
94 |
+src_configure () { |
95 |
+ econf \ |
96 |
+ $(use_enable openmp) \ |
97 |
+ $(use_enable static-libs static) |
98 |
+} |
99 |
+ |
100 |
+src_test() { |
101 |
+ emake check |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ default |
106 |
+ use static-libs || prune_libtool_files --all |
107 |
+ use doc && dodoc doc/Normaliz.pdf |
108 |
+ if use extras; then |
109 |
+ newdoc Singular/normaliz.pdf singular-normaliz.pdf |
110 |
+ insinto /usr/share/${PN} |
111 |
+ doins Singular/normaliz.lib |
112 |
+ doins Macaulay2/Normaliz.m2 |
113 |
+ fi |
114 |
+} |