git: c98b37be60b3 - main - math/kalker: Update to 2.0.4

From: Ashish SHUKLA <ashish_at_FreeBSD.org>
Date: Thu, 20 Jul 2023 20:18:46 UTC
The branch main has been updated by ashish:

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

commit c98b37be60b3008e1a1c3bd34f16a9cd2c16a9e4
Author:     Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2023-07-20 20:00:12 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2023-07-20 20:18:21 +0000

    math/kalker: Update to 2.0.4
    
    - While here move CARGO_CRATES to Makefile.crates
---
 math/kalker/Makefile        | 71 +--------------------------------------------
 math/kalker/Makefile.crates | 68 +++++++++++++++++++++++++++++++++++++++++++
 math/kalker/distinfo        |  6 ++--
 3 files changed, 72 insertions(+), 73 deletions(-)

diff --git a/math/kalker/Makefile b/math/kalker/Makefile
index 9f0bc5a9dd12..8e0682344625 100644
--- a/math/kalker/Makefile
+++ b/math/kalker/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	kalker
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.0.3
-PORTREVISION=	6
+DISTVERSION=	2.0.4
 CATEGORIES=	math
 
 MAINTAINER=	ashish@FreeBSD.org
@@ -17,74 +16,6 @@ LIB_DEPENDS=	libgmp.so:math/gmp \
 USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	PaddiM8
-CARGO_CRATES=	aho-corasick-0.7.20 \
-		ansi_term-0.12.1 \
-		atty-0.2.14 \
-		az-1.2.1 \
-		bitflags-1.3.2 \
-		bumpalo-3.12.0 \
-		cc-1.0.78 \
-		cfg-if-1.0.0 \
-		console_error_panic_hook-0.1.7 \
-		dirs-3.0.2 \
-		dirs-next-2.0.0 \
-		dirs-sys-0.3.7 \
-		dirs-sys-next-0.1.2 \
-		fs2-0.4.3 \
-		getrandom-0.2.8 \
-		gmp-mpfr-sys-1.5.0 \
-		hermit-abi-0.1.19 \
-		js-sys-0.3.60 \
-		lazy_static-1.4.0 \
-		libc-0.2.139 \
-		log-0.4.17 \
-		memchr-2.5.0 \
-		nix-0.19.1 \
-		once_cell-1.17.0 \
-		proc-macro2-1.0.50 \
-		quote-1.0.23 \
-		redox_syscall-0.2.16 \
-		redox_users-0.4.3 \
-		regex-1.7.1 \
-		regex-syntax-0.6.28 \
-		rug-1.19.0 \
-		rustyline-7.1.0 \
-		scoped-tls-1.0.1 \
-		scopeguard-1.1.0 \
-		seahorse-1.1.2 \
-		serde-1.0.152 \
-		syn-1.0.107 \
-		test-case-1.2.3 \
-		thiserror-1.0.38 \
-		thiserror-impl-1.0.38 \
-		toml-0.5.11 \
-		unicode-ident-1.0.6 \
-		unicode-segmentation-1.10.0 \
-		unicode-width-0.1.10 \
-		utf8parse-0.2.0 \
-		version_check-0.9.4 \
-		wasi-0.11.0+wasi-snapshot-preview1 \
-		wasm-bindgen-0.2.83 \
-		wasm-bindgen-backend-0.2.83 \
-		wasm-bindgen-futures-0.4.33 \
-		wasm-bindgen-macro-0.2.83 \
-		wasm-bindgen-macro-support-0.2.83 \
-		wasm-bindgen-shared-0.2.83 \
-		wasm-bindgen-test-0.3.33 \
-		wasm-bindgen-test-macro-0.3.33 \
-		web-sys-0.3.60 \
-		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_aarch64_gnullvm-0.42.1 \
-		windows_aarch64_msvc-0.42.1 \
-		windows_i686_gnu-0.42.1 \
-		windows_i686_msvc-0.42.1 \
-		windows_x86_64_gnu-0.42.1 \
-		windows_x86_64_gnullvm-0.42.1 \
-		windows_x86_64_msvc-0.42.1 \
-		winres-0.1.12
 CARGO_CARGOTOML=	${WRKSRC}/cli/Cargo.toml
 CARGO_INSTALL_PATH=	./cli
 PLIST_FILES=	bin/kalker
diff --git a/math/kalker/Makefile.crates b/math/kalker/Makefile.crates
new file mode 100644
index 000000000000..9b227df5afc8
--- /dev/null
+++ b/math/kalker/Makefile.crates
@@ -0,0 +1,68 @@
+CARGO_CRATES=	aho-corasick-0.7.20 \
+		ansi_term-0.12.1 \
+		atty-0.2.14 \
+		az-1.2.1 \
+		bitflags-1.3.2 \
+		bumpalo-3.12.0 \
+		cc-1.0.78 \
+		cfg-if-1.0.0 \
+		console_error_panic_hook-0.1.7 \
+		dirs-3.0.2 \
+		dirs-next-2.0.0 \
+		dirs-sys-0.3.7 \
+		dirs-sys-next-0.1.2 \
+		fs2-0.4.3 \
+		getrandom-0.2.8 \
+		gmp-mpfr-sys-1.5.0 \
+		hermit-abi-0.1.19 \
+		js-sys-0.3.60 \
+		lazy_static-1.4.0 \
+		libc-0.2.139 \
+		log-0.4.17 \
+		memchr-2.5.0 \
+		nix-0.19.1 \
+		once_cell-1.17.0 \
+		proc-macro2-1.0.50 \
+		quote-1.0.23 \
+		redox_syscall-0.2.16 \
+		redox_users-0.4.3 \
+		regex-1.7.1 \
+		regex-syntax-0.6.28 \
+		rug-1.19.0 \
+		rustyline-7.1.0 \
+		scoped-tls-1.0.1 \
+		scopeguard-1.1.0 \
+		seahorse-1.1.2 \
+		serde-1.0.152 \
+		syn-1.0.107 \
+		test-case-1.2.3 \
+		thiserror-1.0.38 \
+		thiserror-impl-1.0.38 \
+		toml-0.5.11 \
+		unicode-ident-1.0.6 \
+		unicode-segmentation-1.10.0 \
+		unicode-width-0.1.10 \
+		utf8parse-0.2.0 \
+		version_check-0.9.4 \
+		wasi-0.11.0+wasi-snapshot-preview1 \
+		wasm-bindgen-0.2.83 \
+		wasm-bindgen-backend-0.2.83 \
+		wasm-bindgen-futures-0.4.33 \
+		wasm-bindgen-macro-0.2.83 \
+		wasm-bindgen-macro-support-0.2.83 \
+		wasm-bindgen-shared-0.2.83 \
+		wasm-bindgen-test-0.3.33 \
+		wasm-bindgen-test-macro-0.3.33 \
+		web-sys-0.3.60 \
+		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_aarch64_gnullvm-0.42.1 \
+		windows_aarch64_msvc-0.42.1 \
+		windows_i686_gnu-0.42.1 \
+		windows_i686_msvc-0.42.1 \
+		windows_x86_64_gnu-0.42.1 \
+		windows_x86_64_gnullvm-0.42.1 \
+		windows_x86_64_msvc-0.42.1 \
+		winres-0.1.12
diff --git a/math/kalker/distinfo b/math/kalker/distinfo
index 7e44f89c8e46..1e1b4be9a156 100644
--- a/math/kalker/distinfo
+++ b/math/kalker/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1674844062
+TIMESTAMP = 1689882974
 SHA256 (rust/crates/aho-corasick-0.7.20.crate) = cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac
 SIZE (rust/crates/aho-corasick-0.7.20.crate) = 111440
 SHA256 (rust/crates/ansi_term-0.12.1.crate) = d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2
@@ -135,5 +135,5 @@ SHA256 (rust/crates/windows_x86_64_msvc-0.42.1.crate) = 447660ad36a13288b1db4d42
 SIZE (rust/crates/windows_x86_64_msvc-0.42.1.crate) = 664606
 SHA256 (rust/crates/winres-0.1.12.crate) = b68db261ef59e9e52806f688020631e987592bd83619edccda9c47d42cde4f6c
 SIZE (rust/crates/winres-0.1.12.crate) = 19772
-SHA256 (PaddiM8-kalker-v2.0.3_GH0.tar.gz) = d2904b5b537a2ec31570f83ac36da0fcf95b0b2957594edf8f07881a067bf8c2
-SIZE (PaddiM8-kalker-v2.0.3_GH0.tar.gz) = 1326318
+SHA256 (PaddiM8-kalker-v2.0.4_GH0.tar.gz) = f9ea40521f8e435adfc5db7f811c63bab7276407c6c0a95a40673f777f57c3bd
+SIZE (PaddiM8-kalker-v2.0.4_GH0.tar.gz) = 1331308