Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2023 01:52:15 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1aaeb4936479 - main - math/kalc: New port: Calculator for real and complex numbers, 2d/3d graphing, etc
Message-ID:  <202307160152.36G1qF3B021261@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1aaeb49364799861a29dd10fecf808c95c4afb63

commit 1aaeb49364799861a29dd10fecf808c95c4afb63
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-16 01:51:50 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-16 01:52:13 +0000

    math/kalc: New port: Calculator for real and complex numbers, 2d/3d graphing, etc
---
 math/Makefile       |  1 +
 math/kalc/Makefile  | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 math/kalc/distinfo  | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 math/kalc/pkg-descr |  2 ++
 4 files changed, 102 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 56b9de4c691b..4ef0d27252f9 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -411,6 +411,7 @@
     SUBDIR += jtransforms
     SUBDIR += jts
     SUBDIR += kahip
+    SUBDIR += kalc
     SUBDIR += kalgebra
     SUBDIR += kalk
     SUBDIR += kalker
diff --git a/math/kalc/Makefile b/math/kalc/Makefile
new file mode 100644
index 000000000000..66be5038e8ff
--- /dev/null
+++ b/math/kalc/Makefile
@@ -0,0 +1,50 @@
+PORTNAME=	kalc
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.8.0
+CATEGORIES=	math
+PKGNAMESUFFIX=	-calculator
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Calculator for real and complex numbers, 2d/3d graphing, etc
+WWW=		https://github.com/bgkillas/kalc
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	gnuplot:math/gnuplot
+
+USES=		cargo
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	bgkillas
+
+CARGO_CRATES=	az-1.2.1 \
+		byteorder-1.4.3 \
+		console-0.15.7 \
+		encode_unicode-0.3.6 \
+		gmp-mpfr-sys-1.5.3 \
+		gnuplot-0.0.38 \
+		lazy_static-1.4.0 \
+		libc-0.2.147 \
+		rug-1.19.2 \
+		term_size-0.3.2 \
+		winapi-0.3.9 \
+		winapi-i686-pc-windows-gnu-0.4.0 \
+		winapi-x86_64-pc-windows-gnu-0.4.0 \
+		windows-sys-0.42.0 \
+		windows-sys-0.45.0 \
+		windows-targets-0.42.2 \
+		windows_aarch64_gnullvm-0.42.2 \
+		windows_aarch64_msvc-0.42.2 \
+		windows_i686_gnu-0.42.2 \
+		windows_i686_msvc-0.42.2 \
+		windows_x86_64_gnu-0.42.2 \
+		windows_x86_64_gnullvm-0.42.2 \
+		windows_x86_64_msvc-0.42.2
+
+PLIST_FILES=	bin/${PORTNAME}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/math/kalc/distinfo b/math/kalc/distinfo
new file mode 100644
index 000000000000..de64b090d714
--- /dev/null
+++ b/math/kalc/distinfo
@@ -0,0 +1,49 @@
+TIMESTAMP = 1689470723
+SHA256 (rust/crates/az-1.2.1.crate) = 7b7e4c2464d97fe331d41de9d5db0def0a96f4d823b8b32a2efd503578988973
+SIZE (rust/crates/az-1.2.1.crate) = 27842
+SHA256 (rust/crates/byteorder-1.4.3.crate) = 14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610
+SIZE (rust/crates/byteorder-1.4.3.crate) = 22512
+SHA256 (rust/crates/console-0.15.7.crate) = c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8
+SIZE (rust/crates/console-0.15.7.crate) = 35409
+SHA256 (rust/crates/encode_unicode-0.3.6.crate) = a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f
+SIZE (rust/crates/encode_unicode-0.3.6.crate) = 45741
+SHA256 (rust/crates/gmp-mpfr-sys-1.5.3.crate) = 13eabc29d16e4a621b495e3919c71ebb7caaed24380955671e7d417370fea95d
+SIZE (rust/crates/gmp-mpfr-sys-1.5.3.crate) = 5425192
+SHA256 (rust/crates/gnuplot-0.0.38.crate) = c3980f1547c7c19b51b5a89fbc6b8913a7d441c7f017547d5b40079ba7ca0321
+SIZE (rust/crates/gnuplot-0.0.38.crate) = 33749
+SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
+SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443
+SHA256 (rust/crates/libc-0.2.147.crate) = b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3
+SIZE (rust/crates/libc-0.2.147.crate) = 686772
+SHA256 (rust/crates/rug-1.19.2.crate) = 555e8b44763d034526db899c88cd56ccc4486cd38b444c8aa0e79d4e70ae5a34
+SIZE (rust/crates/rug-1.19.2.crate) = 330051
+SHA256 (rust/crates/term_size-0.3.2.crate) = 1e4129646ca0ed8f45d09b929036bafad5377103edd06e50bf574b353d2b08d9
+SIZE (rust/crates/term_size-0.3.2.crate) = 10917
+SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
+SIZE (rust/crates/winapi-0.3.9.crate) = 1200382
+SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
+SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815
+SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
+SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998
+SHA256 (rust/crates/windows-sys-0.42.0.crate) = 5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7
+SIZE (rust/crates/windows-sys-0.42.0.crate) = 3006791
+SHA256 (rust/crates/windows-sys-0.45.0.crate) = 75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0
+SIZE (rust/crates/windows-sys-0.45.0.crate) = 2568659
+SHA256 (rust/crates/windows-targets-0.42.2.crate) = 8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071
+SIZE (rust/crates/windows-targets-0.42.2.crate) = 5492
+SHA256 (rust/crates/windows_aarch64_gnullvm-0.42.2.crate) = 597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8
+SIZE (rust/crates/windows_aarch64_gnullvm-0.42.2.crate) = 364071
+SHA256 (rust/crates/windows_aarch64_msvc-0.42.2.crate) = e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43
+SIZE (rust/crates/windows_aarch64_msvc-0.42.2.crate) = 666981
+SHA256 (rust/crates/windows_i686_gnu-0.42.2.crate) = c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f
+SIZE (rust/crates/windows_i686_gnu-0.42.2.crate) = 736236
+SHA256 (rust/crates/windows_i686_msvc-0.42.2.crate) = 44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060
+SIZE (rust/crates/windows_i686_msvc-0.42.2.crate) = 724951
+SHA256 (rust/crates/windows_x86_64_gnu-0.42.2.crate) = 8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36
+SIZE (rust/crates/windows_x86_64_gnu-0.42.2.crate) = 699373
+SHA256 (rust/crates/windows_x86_64_gnullvm-0.42.2.crate) = 26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3
+SIZE (rust/crates/windows_x86_64_gnullvm-0.42.2.crate) = 364068
+SHA256 (rust/crates/windows_x86_64_msvc-0.42.2.crate) = 9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0
+SIZE (rust/crates/windows_x86_64_msvc-0.42.2.crate) = 666936
+SHA256 (bgkillas-kalc-v0.8.0_GH0.tar.gz) = 4c9de48cdd7024774cfbe578d0358a719a05efca366971ece0291ea35488c095
+SIZE (bgkillas-kalc-v0.8.0_GH0.tar.gz) = 49085
diff --git a/math/kalc/pkg-descr b/math/kalc/pkg-descr
new file mode 100644
index 000000000000..72e74a3ddcc1
--- /dev/null
+++ b/math/kalc/pkg-descr
@@ -0,0 +1,2 @@
+kalc is a calculator for complex numbers, 2d/3d graphing, arbitrary precision,
+vector, cli calculator with real-time output.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307160152.36G1qF3B021261>