Gentoo Archives: gentoo-commits

From: Thomas Kahle <tom111@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/bertini/
Date: Wed, 08 Feb 2012 14:02:25
Message-Id: f991b2d74234ceddfbfc776c62e92e728cf88498.tom111@gentoo
1 commit: f991b2d74234ceddfbfc776c62e92e728cf88498
2 Author: Thomas Kahle <tomka <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 8 13:54:24 2012 +0000
4 Commit: Thomas Kahle <tom111 <AT> gmx <DOT> de>
5 CommitDate: Wed Feb 8 13:54:33 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f991b2d7
7
8 Bertini-1.3.1 added
9
10 ---
11 sci-mathematics/bertini/ChangeLog | 10 +++++
12 sci-mathematics/bertini/bertini-1.3.1.ebuild | 55 ++++++++++++++++++++++++++
13 sci-mathematics/bertini/metadata.xml | 29 +++++++++++++
14 3 files changed, 94 insertions(+), 0 deletions(-)
15
16 diff --git a/sci-mathematics/bertini/ChangeLog b/sci-mathematics/bertini/ChangeLog
17 new file mode 100644
18 index 0000000..4fd53ce
19 --- /dev/null
20 +++ b/sci-mathematics/bertini/ChangeLog
21 @@ -0,0 +1,10 @@
22 +# ChangeLog for sci-mathematics/bertini
23 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
24 +# $Header: $
25 +
26 +*bertini-1.3.1 (08 Feb 2012)
27 +
28 + 08 Feb 2012; Thomas Kahle <tomka@g.o> +bertini-1.3.1.ebuild,
29 + +metadata.xml:
30 + Initially added
31 +
32
33 diff --git a/sci-mathematics/bertini/bertini-1.3.1.ebuild b/sci-mathematics/bertini/bertini-1.3.1.ebuild
34 new file mode 100644
35 index 0000000..16d3cf2
36 --- /dev/null
37 +++ b/sci-mathematics/bertini/bertini-1.3.1.ebuild
38 @@ -0,0 +1,55 @@
39 +# Copyright 1999-2012 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Header: $
42 +
43 +EAPI=4
44 +
45 +# inherit eutils
46 +DESCRIPTION="Software for Numerical Algebraic Geometry"
47 +HOMEPAGE="http://www.nd.edu/~sommese/bertini/"
48 +
49 +# Point to any required sources; these will be automatically downloaded by
50 +# Portage.
51 +SRC_URI="x86? ( http://www.nd.edu/~sommese/bertini/BertiniLinux32_v1.3.1.tar.gz )
52 + amd64? ( http://www.nd.edu/~sommese/bertini/BertiniLinux64_v1.3.1.tar.gz )"
53 +
54 +LICENSE="as-is"
55 +SLOT="0"
56 +KEYWORDS="-* ~amd64 ~x86"
57 +IUSE=""
58 +# Mirroring the tarballs is not allowed for now.
59 +RESTRICT="mirror"
60 +DEPEND=""
61 +RDEPEND="${DEPEND}"
62 +
63 +src_unpack() {
64 + unpack ${A}
65 + mkdir "${S}"
66 + mv Bertini*/* "${S}" || die
67 +}
68 +
69 +
70 +src_install() {
71 + dodir /opt/${P}
72 + cp -R "${S}/" "${D}"opt/ || die
73 + dosym ../${P}/bertini /opt/bin/bertini
74 +}
75 +
76 +# As part of the licence we display information about Bertini
77 +# This procedure was agreed upon with Jon Haustein
78 +pkg_postinst(){
79 + elog "You just installed"
80 + elog "Bertini: Software for Numerical Algebraic Geometry"
81 + elog "Authors: Daniel J. Bates, Jonathan D. Hauenstein, Andrew J. Sommese, and"
82 + elog "Charles W. Wampler"
83 + elog ""
84 + elog "For additional information about Bertini, please visit"
85 + elog "http://www.nd.edu/~sommese/bertini."
86 + elog ""
87 + elog "Bertini is distributed free of charge on an ``as is'' basis with no"
88 + elog "warranties, implied or otherwise, that it is suitable for any purpose. Its"
89 + elog "intended usage is for educational and for research purposes, so that the"
90 + elog "user may gain a greater understanding of numerical homotopy continuation"
91 + elog "for solving systems of polynomial equations. Any other use is strictly the"
92 + elog "user's responsibility."
93 +}
94
95 diff --git a/sci-mathematics/bertini/metadata.xml b/sci-mathematics/bertini/metadata.xml
96 new file mode 100644
97 index 0000000..857c663
98 --- /dev/null
99 +++ b/sci-mathematics/bertini/metadata.xml
100 @@ -0,0 +1,29 @@
101 +<?xml version="1.0" encoding="UTF-8"?>
102 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
103 +<pkgmetadata>
104 +<herd>sci-mathematics</herd>
105 +<maintainer>
106 + <email>tomka@g.o</email>
107 +</maintainer>
108 +<longdescription>
109 +Bertini: Software for Numerical Algebraic Geometry
110 +
111 +Facts in brief:
112 +
113 + Purpose: The numerical solution of systems of polynomial equations
114 +
115 + Approach: Homotopy continuation.
116 +
117 + Authors: Daniel J. Bates, Jonathan D. Hauenstein, Andrew J. Sommese, Charles W. Wampler
118 +
119 + Background: Bertini is a general-purpose solver, written in C, that was
120 + created for research about polynomial continuation.
121 +
122 + Cost: Bertini is distributed free of charge on an ``as is'' basis with no
123 + warranties, implied or otherwise, that it is suitable for any purpose. Its
124 + intended usage is educational, so that the user may gain a greater
125 + understanding of numerical homotopy continuation for solving systems of
126 + polynomial equations. Any other use is strictly the user's
127 + responsibility. Please see the official license policy.
128 +</longdescription>
129 +</pkgmetadata>