Gentoo Archives: gentoo-commits

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/muParser/
Date: Thu, 04 Nov 2021 20:52:32
Message-Id: 1636059143.34875ce1e70d7ae2675563299dffa9746450b7dc.alexxy@gentoo
1 commit: 34875ce1e70d7ae2675563299dffa9746450b7dc
2 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 4 20:51:02 2021 +0000
4 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 4 20:52:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34875ce1
7
8 dev-cpp/muParser: Version bump to 2.3.2
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>
12
13 dev-cpp/muParser/Manifest | 1 +
14 dev-cpp/muParser/muParser-2.3.2.ebuild | 33 +++++++++++++++++++++++++++++++++
15 2 files changed, 34 insertions(+)
16
17 diff --git a/dev-cpp/muParser/Manifest b/dev-cpp/muParser/Manifest
18 index 95b8c055fdc..01cb9ff97db 100644
19 --- a/dev-cpp/muParser/Manifest
20 +++ b/dev-cpp/muParser/Manifest
21 @@ -1 +1,2 @@
22 DIST muParser-2.2.6.1.tar.gz 755653 BLAKE2B b3b6b8da57c0e8a0bda74038689d444ba8da00d6cce80030d8b35693209f0293874e4822c4941974be21fd4b7c09ba7df2c9cef861bc10b890aae4f641040faf SHA512 01bfc8cc48158c8413ae5e1da2ddbac1c9f0b9075470b1ab75853587d641dd195ebea268e1060a340098fd8015bc5f77d8e9cde5f81cffeade2f157c5f295496
23 +DIST muParser-2.3.2.tar.gz 103979 BLAKE2B f892b4d440a1b7326be27aa0a2b703ccafc02de5e881ef4780e8907688cf7905284f3e5f5855ad2596683f1dad309d287ebae527d917ebf5e0dad045551df7de SHA512 8ef5c8b3834da3995a782b7364a4eb4197fb706bee4cadabe5511d2a9cf2912c3db6de422a91eff7f9690f8c9c355b9900335e940749d5c243cb732ac1992aef
24
25 diff --git a/dev-cpp/muParser/muParser-2.3.2.ebuild b/dev-cpp/muParser/muParser-2.3.2.ebuild
26 new file mode 100644
27 index 00000000000..8e282638dbf
28 --- /dev/null
29 +++ b/dev-cpp/muParser/muParser-2.3.2.ebuild
30 @@ -0,0 +1,33 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit cmake
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 +S="${WORKDIR}"/muparser-${PV}
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
46 +IUSE="doc openmp test"
47 +RESTRICT="!test? ( test )"
48 +
49 +src_configure() {
50 + mycmakeargs=(
51 + -DENABLE_OPENMP=$(usex openmp)
52 + )
53 + cmake_src_configure
54 +}
55 +
56 +src_test() {
57 + cmake_src_compile test
58 +}
59 +
60 +src_install() {
61 + cmake_src_install
62 + dodoc Changes.txt
63 +}