1 |
commit: ba8cc7951401f253480ce8746e2ed0472dacd029 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 18:02:55 2016 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 18:04:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba8cc795 |
7 |
|
8 |
sci-mathematics/ginac: bump to 1.6.6 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
sci-mathematics/ginac/Manifest | 1 + |
13 |
sci-mathematics/ginac/ginac-1.6.6.ebuild | 59 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest |
17 |
index 3b1485f..bfadcbf 100644 |
18 |
--- a/sci-mathematics/ginac/Manifest |
19 |
+++ b/sci-mathematics/ginac/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST ginac-1.5.8.tar.bz2 1003965 SHA256 8ce72e70f7539e9a2b32539e13eb651fd688d1423dd90bcf0b9c37b592cfc2dd SHA512 08d9f1b47f369328d5133e4fe286d6bfcd71f30f1c5024bf1310bb88e9fea321da809e5d9f92c08b84f4a7c09af6c342af2f8cb2328857a33671237c6082b167 WHIRLPOOL a30e446a06a595cc4044bea6d3f49c335d8d8e44216ce2cc143d0bfe5702665ffdefb77a76dd07867dae1c1dbae2cbae029433b005849d5109b38238eddde634 |
22 |
DIST ginac-1.6.1.tar.bz2 1048724 SHA256 0658c4a528f37871c5ec24496373fede4e3e59d3223beaf880c75f07a9c2f680 SHA512 5c009e1960d701600f47b306f492b24dccb04cbd4e21d594833db5acf620e230928e1ca471c773918c7d264f057301ddc3a2aa95987d773a9575640ff44f6066 WHIRLPOOL ee95088bd700536ba9246d0145a986b8550d1f2ea479e31b0d8d2bc791f7176e9f2d4d119063626b78156f786f0f44e882429b9a91950c8d130fb8fe7c9d1c57 |
23 |
DIST ginac-1.6.2.tar.bz2 1048764 SHA256 0f34d255024b3fb258e44da84f9e82dfb3dc9bc15f0999b7a18204a730663bde SHA512 6625f9958a1a6167e49d3a3ca442855fa1eab88926565747fda70a8b770db34da0c001f175fa94102ecec1f823d921eba9c98daabd6ed63548bff2b31a3b49cb WHIRLPOOL 40442b8c5820165f4970e95107ce2ac8e22d1c39b60be615d00eefe1f94e061eb6407cf3e8c0bfab15b4b9974168c97ece6cc188c76a8e9484ad9ff065f87962 |
24 |
+DIST ginac-1.6.6.tar.bz2 1028211 SHA256 25ec6d535ee77caf6161843688489cfc319b6c4fda46c5d7878587ee5562ddce SHA512 495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958 WHIRLPOOL c4efc7286377da939ad8196b898086bb67b63102b23c703d3b5fc462be108fc96883597dea50297ec4a26d5bd19f15af8b01c36782c6e6a1886c284cf19771fc |
25 |
|
26 |
diff --git a/sci-mathematics/ginac/ginac-1.6.6.ebuild b/sci-mathematics/ginac/ginac-1.6.6.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..45bd713 |
29 |
--- /dev/null |
30 |
+++ b/sci-mathematics/ginac/ginac-1.6.6.ebuild |
31 |
@@ -0,0 +1,59 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+inherit autotools-utils |
39 |
+ |
40 |
+DESCRIPTION="C++ library and tools for symbolic calculations" |
41 |
+SRC_URI="http://www.ginac.de/${P}.tar.bz2" |
42 |
+HOMEPAGE="http://www.ginac.de/" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
47 |
+IUSE="doc static-libs" |
48 |
+ |
49 |
+RDEPEND=">=sci-libs/cln-1.2.2" |
50 |
+DEPEND="${RDEPEND} |
51 |
+ virtual/pkgconfig |
52 |
+ doc? ( app-doc/doxygen |
53 |
+ media-gfx/transfig |
54 |
+ virtual/texi2dvi |
55 |
+ dev-texlive/texlive-fontsrecommended |
56 |
+ )" |
57 |
+ |
58 |
+PATCHES=( "${FILESDIR}"/${PN}-1.5.1-pkgconfig.patch ) |
59 |
+ |
60 |
+src_configure() { |
61 |
+ local myeconfargs=( --disable-rpath ) |
62 |
+ autotools-utils_src_configure |
63 |
+} |
64 |
+ |
65 |
+src_compile() { |
66 |
+ autotools-utils_src_compile |
67 |
+ if use doc; then |
68 |
+ export VARTEXFONTS="${T}"/fonts |
69 |
+ cd "${BUILD_DIR}/doc/reference" |
70 |
+ emake html pdf |
71 |
+ cd "${BUILD_DIR}/doc/tutorial" |
72 |
+ emake ginac.pdf ginac.html |
73 |
+ fi |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ autotools-utils_src_install |
78 |
+ if use doc; then |
79 |
+ cd "${BUILD_DIR}"/doc |
80 |
+ insinto /usr/share/doc/${PF} |
81 |
+ newins tutorial/ginac.pdf tutorial.pdf |
82 |
+ newins reference/reference.pdf reference.pdf |
83 |
+ insinto /usr/share/doc/${PF}/html/reference |
84 |
+ doins -r reference/html_files/* |
85 |
+ insinto /usr/share/doc/${PF}/html |
86 |
+ newins tutorial/ginac.html tutorial.html |
87 |
+ insinto /usr/share/doc/${PF}/examples |
88 |
+ doins "${S}"/doc/examples/*.cpp examples/ginac-examples.* |
89 |
+ fi |
90 |
+} |