Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/muParser/
Date: Mon, 10 Oct 2016 23:12:01
Message-Id: 1476141099.122712fa3c2465a5a35699bb939cd34032f0740b.mrueg@gentoo
1 commit: 122712fa3c2465a5a35699bb939cd34032f0740b
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 10 23:11:39 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 10 23:11:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=122712fa
7
8 dev-cpp/muParser: Version bump to 2.2.5
9
10 Package-Manager: portage-2.3.1
11
12 dev-cpp/muParser/Manifest | 1 +
13 dev-cpp/muParser/muParser-2.2.5.ebuild | 43 ++++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-cpp/muParser/Manifest b/dev-cpp/muParser/Manifest
17 index cb7dc48..2c36d6f 100644
18 --- a/dev-cpp/muParser/Manifest
19 +++ b/dev-cpp/muParser/Manifest
20 @@ -1 +1,2 @@
21 +DIST muParser-2.2.5.tar.gz 761315 SHA256 0666ef55da72c3e356ca85b6a0084d56b05dd740c3c21d26d372085aa2c6e708 SHA512 d89380ebdc0ce91d0ea38fe43419ab6ed06c47d352b9ee20e1edcce48337b464366153493e0241c373ba2880a8b419fb9541e56cda0d14915daf9b98136ee682 WHIRLPOOL 86b8d4c13982b4748abbc379b6a2e4d421fc5d734b36daa8ed9525d451404996f0099404464908f144c5be3319db2cbbc92d697a5c56326bc303cc48a4f9520b
22 DIST muparser_v2_2_3.zip 1481359 SHA256 dfe831b69392ab0b1eb59d3601b7b1575554a85057cf2f234f64f930c4148902 SHA512 86d140c07161757e2f0de516a4c2922ce5b135d06b01466bc15ad90833bd3e9f99b9b9c528617262597a7a5a6b09bff5ae8ced5d51c413ea611059e0bdb22e6d WHIRLPOOL 3a53d04382feec889c4a54fe2edf762d9cf8629f4ec0543cfde12b6848e3594391a778c54747d6b4cf7608fcc0ac557f71132741935716704b160601057ff312
23
24 diff --git a/dev-cpp/muParser/muParser-2.2.5.ebuild b/dev-cpp/muParser/muParser-2.2.5.ebuild
25 new file mode 100644
26 index 00000000..eb93d49
27 --- /dev/null
28 +++ b/dev-cpp/muParser/muParser-2.2.5.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +inherit eutils
37 +
38 +DESCRIPTION="Library for parsing mathematical expressions"
39 +HOMEPAGE="http://muparser.beltoforion.de/"
40 +SRC_URI="https://github.com/beltoforion/muparser/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
45 +IUSE="doc test"
46 +
47 +S=${WORKDIR}/muparser-${PV}
48 +
49 +src_prepare() {
50 + epatch "${FILESDIR}"/${PN}-1.32-parallel-build.patch
51 + sed -i \
52 + -e 's:-O2::g' \
53 + configure || die
54 +}
55 +
56 +src_configure() {
57 + econf $(use_enable test samples)
58 +}
59 +
60 +src_test() {
61 + cat > test.sh <<- EOFTEST
62 + LD_LIBRARY_PATH="${S}/lib" samples/example1/example1 <<- EOF
63 + quit
64 + EOF
65 + EOFTEST
66 + sh ./test.sh || die "test failed"
67 +}
68 +
69 +src_install() {
70 + default
71 + dodoc Changes.txt
72 +}