pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/kalk math/kalk: update to 0.4.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ccd82bf6d4c
branches:  trunk
changeset: 452889:2ccd82bf6d4c
user:      pin <pin%pkgsrc.org@localhost>
date:      Wed May 19 10:56:13 2021 +0000

description:
math/kalk: update to 0.4.1

0.4.1
=====
-Use KalkNum's to_string() function in to_scientific_notation()
-kalk_web: Added integral and estimation support
-Combined to_scientific_notation() methods for both types, and added types,
and added tests
-Added wasm binding to KalkNum.estimate()

0.4.0
=====
-Fixed mod.rs errors for when rug is not used, and added some unit tests
-Estimation/rounding for final results
-Lex special symbols as one token
-Basic rounding for calculus functions
-Higher order derivatation
-Improved accuracy for derivation
-Basics of derivation
-Created 'Identifier' struct that contains prime count and name
-Fixed integrate function test
-Lex '**' as power sign
-Switched to Simpson's rule (composite, 3/8) for integration
-Fixed "dx" in integrals, and created calculus.rs
-Integration estimation
-Fixed zeroes being trimmed for non-rug numbers
-kalk: Fixed type error in kalk_num/regular.rs
-Trimming trailing zeroes for non-rug numbers
-Fixed xy^z precedence, from (xy)^2 to x(y^2)

diffstat:

 math/kalk/Makefile |  10 +++++-----
 math/kalk/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (53 lines):

diff -r 0d1afddf3381 -r 2ccd82bf6d4c math/kalk/Makefile
--- a/math/kalk/Makefile        Wed May 19 10:46:25 2021 +0000
+++ b/math/kalk/Makefile        Wed May 19 10:56:13 2021 +0000
@@ -1,20 +1,20 @@
-# $NetBSD: Makefile,v 1.5 2021/05/14 13:30:56 nia Exp $
+# $NetBSD: Makefile,v 1.6 2021/05/19 10:56:13 pin Exp $
 
-DISTNAME=      kalk-0.3.14
+DISTNAME=      kalk-0.4.1
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=PaddiM8/}
-GITHUB_TAG=    v${PKGVERSION_NOREV}
+GITHUB_PROJECT=        kalk
+GITHUB_TAG=    93aa751f66c3e228110ff69dcc86e2542f8d297b
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://kalk.strct.net/
 COMMENT=       CLI calculator supporting user defined variables and functions
 LICENSE=       mit
 
-USE_TOOLS=     m4
-
 .include "cargo-depends.mk"
 
 USE_LANGUAGES+=        c c++   # rust, but needs a toolchain to link
+USE_TOOLS+=    m4
 
 INSTALLATION_DIRS=     bin
 
diff -r 0d1afddf3381 -r 2ccd82bf6d4c math/kalk/distinfo
--- a/math/kalk/distinfo        Wed May 19 10:46:25 2021 +0000
+++ b/math/kalk/distinfo        Wed May 19 10:56:13 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2021/02/23 14:48:11 pin Exp $
+$NetBSD: distinfo,v 1.4 2021/05/19 10:56:13 pin Exp $
 
 SHA1 (aho-corasick-0.7.15.crate) = f5054e1316a7f59bc37b647faa72a8e800fc17af
 RMD160 (aho-corasick-0.7.15.crate) = 003b3030dbd9c452279e3f01802edff67d4c14d5
@@ -60,10 +60,10 @@
 RMD160 (js-sys-0.3.46.crate) = f859bef53d3a153e81b8e5a59f9bf5c2df3d9901
 SHA512 (js-sys-0.3.46.crate) = 504048b9a2efb42315e351d3a972cbb7474cda1374281e25b26a62c5811a3b34606489b95bfd417b41316569aa33ebbd02af2aa359b576198f3123bf7e9e4d28
 Size (js-sys-0.3.46.crate) = 67064 bytes
-SHA1 (kalk-0.3.14.tar.gz) = ad78f698b4c51c17801280cbcb7d9f629ab2d111
-RMD160 (kalk-0.3.14.tar.gz) = c5ecba517c17c106958551268fbca5d2c2596f04
-SHA512 (kalk-0.3.14.tar.gz) = c711211093981c3f724698b4419845a2ac293062fd4fd6e42636f1403bde64ef76dec2f31c44e54ca0221486c8523d7dcdb0177aefb655ac25c9f4695484acab
-Size (kalk-0.3.14.tar.gz) = 692976 bytes
+SHA1 (kalk-0.4.1-93aa751f66c3e228110ff69dcc86e2542f8d297b.tar.gz) = b43bef8f743788b4b929d8496a9ef2f47f5334e6
+RMD160 (kalk-0.4.1-93aa751f66c3e228110ff69dcc86e2542f8d297b.tar.gz) = ac0d4ae4210c61ffa7e20e5d605b33fb5b9c4ab5
+SHA512 (kalk-0.4.1-93aa751f66c3e228110ff69dcc86e2542f8d297b.tar.gz) = 4713f25ee10c5fc6f3918803e6f55b006487e085def8f4460838648e771b6ac148330455e41e96d2a89f7f669924d4df29d49c3afc5280f6b799135a8e7af637
+Size (kalk-0.4.1-93aa751f66c3e228110ff69dcc86e2542f8d297b.tar.gz) = 841411 bytes
 SHA1 (lazy_static-1.4.0.crate) = 3e8852a6967dc257753fe75a13112a04bc03dfc0
 RMD160 (lazy_static-1.4.0.crate) = 6c74661c140113ff3b1d660bba095259398bbb55
 SHA512 (lazy_static-1.4.0.crate) = e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8



Home | Main Index | Thread Index | Old Index