1 |
commit: 1a6def78ebdf3d297a71dd1e89aa4e757d39db08 |
2 |
Author: Gábor Oszkár Dénes <gaboroszkar <AT> protonmail <DOT> com> |
3 |
AuthorDate: Wed Mar 30 17:04:02 2022 +0000 |
4 |
Commit: Gábor Oszkár Dénes <gaboroszkar <AT> protonmail <DOT> com> |
5 |
CommitDate: Wed Mar 30 17:04:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a6def78 |
7 |
|
8 |
dev-cpp/muParserX: new package |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Gábor Oszkár Dénes <gaboroszkar <AT> protonmail.com> |
12 |
|
13 |
dev-cpp/muParserX/Manifest | 1 + |
14 |
dev-cpp/muParserX/metadata.xml | 12 ++++++++++++ |
15 |
dev-cpp/muParserX/muParserX-4.0.11.ebuild | 16 ++++++++++++++++ |
16 |
3 files changed, 29 insertions(+) |
17 |
|
18 |
diff --git a/dev-cpp/muParserX/Manifest b/dev-cpp/muParserX/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000..815473a36 |
21 |
--- /dev/null |
22 |
+++ b/dev-cpp/muParserX/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST muParserX-4.0.11.tar.gz 215824 BLAKE2B f077fee44d4b67b02a0c559ce492b27107b0f5294eca7266e968c852e1e2503a4f5fc4d32b07e5c6ebca8ab95d7f30cdacd257439f70a7943c5ad22d111139c9 SHA512 67846a91b57e41731a656cfee68effdd9166e738108764be5d3080854d8a01bedbeacaaade7bee11c6b5f83019abddeca3b2c9acdfbb48629da6d9b92c79c7af |
25 |
|
26 |
diff --git a/dev-cpp/muParserX/metadata.xml b/dev-cpp/muParserX/metadata.xml |
27 |
new file mode 100644 |
28 |
index 000000000..39f695883 |
29 |
--- /dev/null |
30 |
+++ b/dev-cpp/muParserX/metadata.xml |
31 |
@@ -0,0 +1,12 @@ |
32 |
+<?xml version="1.0" encoding="UTF-8"?> |
33 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
34 |
+<pkgmetadata> |
35 |
+ <!-- comaintainers-welcomed --> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>gaboroszkar@××××××××××.com</email> |
38 |
+ <name>Gábor Oszkár Dénes</name> |
39 |
+ </maintainer> |
40 |
+ <longdescription> |
41 |
+ The evaluation of a mathematical expression is a standard task required in many applications. It can be solved by either using a standard math expression parser such as muparser or by embedding a scripting language such as Lua. There are however some limitations: Although muparser is pretty fast it will only work with scalar values and although Lua is very flexible it does neither support binary operators for arrays nor complex numbers. So if you need a math expression parser with support for arrays, matrices and strings muparserx may be able to help you. |
42 |
+ </longdescription> |
43 |
+</pkgmetadata> |
44 |
|
45 |
diff --git a/dev-cpp/muParserX/muParserX-4.0.11.ebuild b/dev-cpp/muParserX/muParserX-4.0.11.ebuild |
46 |
new file mode 100644 |
47 |
index 000000000..373e92ac6 |
48 |
--- /dev/null |
49 |
+++ b/dev-cpp/muParserX/muParserX-4.0.11.ebuild |
50 |
@@ -0,0 +1,16 @@ |
51 |
+# Copyright 1999-2022 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=8 |
55 |
+ |
56 |
+inherit cmake |
57 |
+ |
58 |
+DESCRIPTION="Parsing Expressions with Strings, Complex Numbers, Vectors, Matrices and more" |
59 |
+HOMEPAGE="https://beltoforion.de/en/muparser/" |
60 |
+SRC_URI="https://github.com/beltoforion/muparserx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
61 |
+ |
62 |
+LICENSE="BSD-2" |
63 |
+SLOT="0" |
64 |
+KEYWORDS="~amd64" |
65 |
+ |
66 |
+S="${WORKDIR}"/muparserx-${PV} |