GNU bug report logs - #67793
[PATCH] gnu: maths: Add exprtk package.

Previous Next

Package: guix-patches;

Reported by: Lars Bilke <lars.bilke <at> ufz.de>

Date: Tue, 12 Dec 2023 10:01:01 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67793 in the body.
You can then email your comments to 67793 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#67793; Package guix-patches. (Tue, 12 Dec 2023 10:01:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars Bilke <lars.bilke <at> ufz.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 12 Dec 2023 10:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Bilke <lars.bilke <at> ufz.de>
To: guix-patches <at> gnu.org
Cc: Lars Bilke <lars.bilke <at> ufz.de>
Subject: [PATCH] gnu: maths: Add exprtk package.
Date: Tue, 12 Dec 2023 10:59:20 +0100
Change-Id: I4d83a15ea4c24b2efb1300c29d56cb222993e7f3
---
 gnu/packages/maths.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0f4d29b40f..d3774003f2 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -10020,3 +10020,28 @@ (define-public bliss
 +and canonical forms of graphs.  It has both a command line user interface as
 +well as C++ and C programming language APIs.")
     (license license:lgpl3)))
+
+(define-public exprtk
+  (package
+    (name "exprtk")
+    (home-page "https://www.partow.net/programming/exprtk/index.html")
+    (synopsis "C++ Mathematical Expression Parsing And Evaluation Library")
+    (description
+     "The C++ Mathematical Expression Toolkit Library (ExprTk) is
+a versatile, simple to use, easy to integrate and extremely efficient runtime
+mathematical expression parser and evaluation engine.  ExprTk supports
+numerous forms of functional, logical and vector processing semantics and is
+very easily extendible.")
+    (license license:expat)
+    (version "0.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ArashPartow/exprtk")
+             (commit version)))
+       (sha256
+        (base32 "1w92qlfjpcan38d88fak3avq81lkcpai5mqpbvrsfv04mi5nfpk5"))))
+    (build-system copy-build-system)
+    (arguments
+     '(#:install-plan '(("exprtk.hpp" "include/"))))))

base-commit: baeff7f546d700ae4f0c873bd0fce0ca84bebd21
-- 
2.34.1





Information forwarded to guix-patches <at> gnu.org:
bug#67793; Package guix-patches. (Fri, 01 Nov 2024 16:25:02 GMT) Full text and rfc822 format available.

Message #8 received at 67793 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 67793 <at> debbugs.gnu.org
Subject: RE: Add exprtk package to Guix
Date: Fri, 1 Nov 2024 16:22:16 +0000
Hi Lars,

I came across your patch and took a quick look. You seem to only install
the exprtk.hpp file, but the Github repository has lots of other things. 
Is this what you intended?

Futurile




Information forwarded to andreas <at> enge.fr, bavier <at> posteo.net, sharlatanus <at> gmail.com, guix-patches <at> gnu.org:
bug#67793; Package guix-patches. (Thu, 02 Jan 2025 13:18:01 GMT) Full text and rfc822 format available.

Message #11 received at 67793 <at> debbugs.gnu.org (full text, mbox):

From: Lars Bilke <lars.bilke <at> ufz.de>
To: 67793 <at> debbugs.gnu.org
Cc: Lars Bilke <lars.bilke <at> ufz.de>
Subject: [PATCH v2] gnu: Add exprtk.
Date: Thu, 02 Jan 2025 14:17:12 +0100
* gnu/packages/maths.scm (exprtk): New variable.

Change-Id: I25e5a37cfd72b4b47dedc36916781b6ac355501e
---
 gnu/packages/maths.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 22e2822c8c..de06e332eb 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -10826,3 +10826,23 @@ (define-public lie
     (home-page "http://www-math.univ-poitiers.fr/~maavl/LiE/")
     ;; <http://www-math.univ-poitiers.fr/~maavl/LiE/> says LGPL.
     (license license:lgpl3+)))
+
+(define-public exprtk
+  (package
+    (name "exprtk")
+    (home-page "https://www.partow.net/programming/exprtk/index.html")
+    (synopsis "C++ Mathematical Expression Parsing And Evaluation Library")
+    (description "A C++ library for mathematical expression parsing and evaluation")
+    (license license:expat)
+    (version "0.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ArashPartow/exprtk")
+             (commit version)))
+       (sha256
+        (base32 "0pszh11w29nc256qhil51g3635n06ncf0ihg7g4h86jrhqsk7183"))))
+    (build-system copy-build-system)
+    (arguments
+     '(#:install-plan '(("exprtk.hpp" "include/"))))))

base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90
-- 
2.46.1





Information forwarded to guix-patches <at> gnu.org:
bug#67793; Package guix-patches. (Thu, 02 Jan 2025 13:26:02 GMT) Full text and rfc822 format available.

Message #14 received at 67793 <at> debbugs.gnu.org (full text, mbox):

From: Lars Bilke <lars.bilke <at> ufz.de>
To: 67793 <at> debbugs.gnu.org
Cc: slgeorge <at> futurile.net
Subject: Re: [PATCH v2] gnu: Add exprtk.
Date: Thu, 02 Jan 2025 14:25:01 +0100
Dear Futurile,

yes, copying exprtk.hpp only is intended. It contains the full (header-only) library. The license file is also copied into the store package.

Sincerely,
Lars




Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Wed, 22 Jan 2025 10:08:01 GMT) Full text and rfc822 format available.

Notification sent to Lars Bilke <lars.bilke <at> ufz.de>:
bug acknowledged by developer. (Wed, 22 Jan 2025 10:08:02 GMT) Full text and rfc822 format available.

Message #19 received at 67793-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Lars Bilke <lars.bilke <at> ufz.de>
Cc: 67793-done <at> debbugs.gnu.org, Sharlatan Hellseher <sharlatanus <at> gmail.com>,
 Steve George <steve <at> futurile.net>, Eric Bavier <bavier <at> posteo.net>
Subject: Re: [bug#67793] [PATCH v2] gnu: Add exprtk.
Date: Wed, 22 Jan 2025 11:07:12 +0100
Hello Lars,

apologies, the previous version slipped through my attention. I have
just committed the patch with a few changes:
- reordered the fields
- added a "(file-name (git-file-name name version))" line to the source
  field
- Turned the description into a sentence.

Thanks!

Andreas





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 19 Feb 2025 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.