Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/ginac/
Date: Sun, 05 Feb 2017 20:52:37
Message-Id: 1486327882.603a74606c3f62841386fcf4134c84a33280d2bb.grozin@gentoo
1 commit: 603a74606c3f62841386fcf4134c84a33280d2bb
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 5 20:49:46 2017 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 5 20:51:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603a7460
7
8 sci-mathematics/ginac: bump to 1.7.2
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sci-mathematics/ginac/Manifest | 1 +
13 sci-mathematics/ginac/ginac-1.7.2.ebuild | 66 ++++++++++++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
17 index bfadcbf..e939462 100644
18 --- a/sci-mathematics/ginac/Manifest
19 +++ b/sci-mathematics/ginac/Manifest
20 @@ -2,3 +2,4 @@ DIST ginac-1.5.8.tar.bz2 1003965 SHA256 8ce72e70f7539e9a2b32539e13eb651fd688d142
21 DIST ginac-1.6.1.tar.bz2 1048724 SHA256 0658c4a528f37871c5ec24496373fede4e3e59d3223beaf880c75f07a9c2f680 SHA512 5c009e1960d701600f47b306f492b24dccb04cbd4e21d594833db5acf620e230928e1ca471c773918c7d264f057301ddc3a2aa95987d773a9575640ff44f6066 WHIRLPOOL ee95088bd700536ba9246d0145a986b8550d1f2ea479e31b0d8d2bc791f7176e9f2d4d119063626b78156f786f0f44e882429b9a91950c8d130fb8fe7c9d1c57
22 DIST ginac-1.6.2.tar.bz2 1048764 SHA256 0f34d255024b3fb258e44da84f9e82dfb3dc9bc15f0999b7a18204a730663bde SHA512 6625f9958a1a6167e49d3a3ca442855fa1eab88926565747fda70a8b770db34da0c001f175fa94102ecec1f823d921eba9c98daabd6ed63548bff2b31a3b49cb WHIRLPOOL 40442b8c5820165f4970e95107ce2ac8e22d1c39b60be615d00eefe1f94e061eb6407cf3e8c0bfab15b4b9974168c97ece6cc188c76a8e9484ad9ff065f87962
23 DIST ginac-1.6.6.tar.bz2 1028211 SHA256 25ec6d535ee77caf6161843688489cfc319b6c4fda46c5d7878587ee5562ddce SHA512 495ef255dd32e71ee91257a515c0566e56525e0c54c8955c19beaf9e2e55457f7d8171c7e5f6e4f29f555f5d262bbaf4edf4f033166c4904c016987a5029e958 WHIRLPOOL c4efc7286377da939ad8196b898086bb67b63102b23c703d3b5fc462be108fc96883597dea50297ec4a26d5bd19f15af8b01c36782c6e6a1886c284cf19771fc
24 +DIST ginac-1.7.2.tar.bz2 1056339 SHA256 24b75b61c5cb272534e35b3f2cfd64f053b28aee7402af4b0e569ec4de21d8b7 SHA512 5c356beb8e0830b9f5805870f67298d4c19e512db8b8f46a37b490c19179a5c99e4497439e5adb575dd97e7deb5fe0b931a4b6db80e98a8e1e6f46977e33d8cf WHIRLPOOL 7f913725b078dc63bf9dd335b17b813d3e4ee36f21eb932f27d06fbff69feb308d719a4432a3ce6fdd9b84e3d478b523c1a7149fa874ad92106962480a597f0d
25
26 diff --git a/sci-mathematics/ginac/ginac-1.7.2.ebuild b/sci-mathematics/ginac/ginac-1.7.2.ebuild
27 new file mode 100644
28 index 00000000..fa64fbc
29 --- /dev/null
30 +++ b/sci-mathematics/ginac/ginac-1.7.2.ebuild
31 @@ -0,0 +1,66 @@
32 +# Copyright 1999-2017 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 flag-o-matic
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 + append-cxxflags -std=c++11
63 + autotools-utils_src_configure
64 +}
65 +
66 +src_compile() {
67 + autotools-utils_src_compile
68 + if use doc; then
69 + export VARTEXFONTS="${T}"/fonts
70 + cd "${BUILD_DIR}/doc/reference"
71 + emake html pdf
72 + cd "${BUILD_DIR}/doc/tutorial"
73 + emake ginac.pdf ginac.html
74 + fi
75 +}
76 +
77 +src_test() {
78 + pushd ../${P}_build > /dev/null
79 + emake check
80 + popd > /dev/null
81 +}
82 +
83 +src_install() {
84 + autotools-utils_src_install
85 + if use doc; then
86 + cd "${BUILD_DIR}"/doc
87 + insinto /usr/share/doc/${PF}
88 + newins tutorial/ginac.pdf tutorial.pdf
89 + newins reference/reference.pdf reference.pdf
90 + insinto /usr/share/doc/${PF}/html/reference
91 + doins -r reference/html_files/*
92 + insinto /usr/share/doc/${PF}/html
93 + newins tutorial/ginac.html tutorial.html
94 + insinto /usr/share/doc/${PF}/examples
95 + doins "${S}"/doc/examples/*.cpp examples/ginac-examples.*
96 + fi
97 +}