Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2024 01:12:24 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: 66a421834bcd - main - devel/cargo-hack: New port: Rust: Cargo subcommand for testing and continuous integration
Message-ID:  <202405190112.44J1COAI013294@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=66a421834bcd47a0c81f473c852c60898c0fb4a1

commit 66a421834bcd47a0c81f473c852c60898c0fb4a1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-19 00:58:48 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-19 01:12:21 +0000

    devel/cargo-hack: New port: Rust: Cargo subcommand for testing and continuous integration
---
 devel/Makefile             |   1 +
 devel/cargo-hack/Makefile  |  76 +++++++++++++++++++++++++++++++++
 devel/cargo-hack/distinfo  | 103 +++++++++++++++++++++++++++++++++++++++++++++
 devel/cargo-hack/pkg-descr |   2 +
 4 files changed, 182 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index ea0a16f84ae5..64fb11474053 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -354,6 +354,7 @@
     SUBDIR += cargo-c
     SUBDIR += cargo-depgraph
     SUBDIR += cargo-generate
+    SUBDIR += cargo-hack
     SUBDIR += cargo-leptos
     SUBDIR += cargo-mutants
     SUBDIR += cask
diff --git a/devel/cargo-hack/Makefile b/devel/cargo-hack/Makefile
new file mode 100644
index 000000000000..453884cc3474
--- /dev/null
+++ b/devel/cargo-hack/Makefile
@@ -0,0 +1,76 @@
+PORTNAME=	cargo-hack
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.6.28
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Rust: Cargo subcommand for testing and continuous integration
+WWW=		https://github.com/taiki-e/cargo-hack
+
+LICENSE=	APACHE20 MIT
+LICENSE_COMB=	dual
+LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
+LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT
+
+USES=		cargo
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	taiki-e
+
+CARGO_CRATES=	anyhow-1.0.86 \
+		autocfg-1.3.0 \
+		bitflags-2.5.0 \
+		build-context-0.1.2 \
+		cargo-config2-0.1.26 \
+		cfg-if-1.0.0 \
+		cfg_aliases-0.1.1 \
+		ctrlc-3.4.4 \
+		easy-ext-1.0.1 \
+		equivalent-1.0.1 \
+		errno-0.3.9 \
+		fastrand-2.1.0 \
+		fs-err-2.11.0 \
+		hashbrown-0.14.5 \
+		home-0.5.9 \
+		indexmap-2.2.6 \
+		itoa-1.0.11 \
+		lexopt-0.3.0 \
+		libc-0.2.155 \
+		linux-raw-sys-0.4.14 \
+		memchr-2.7.2 \
+		nix-0.28.0 \
+		proc-macro2-1.0.82 \
+		quote-1.0.36 \
+		rustix-0.38.34 \
+		ryu-1.0.18 \
+		same-file-1.0.6 \
+		serde-1.0.202 \
+		serde_derive-1.0.202 \
+		serde_json-1.0.117 \
+		serde_spanned-0.6.6 \
+		slab-0.4.9 \
+		syn-2.0.64 \
+		tempfile-3.10.1 \
+		termcolor-1.4.1 \
+		toml_datetime-0.6.6 \
+		toml_edit-0.22.13 \
+		unicode-ident-1.0.12 \
+		winapi-util-0.1.8 \
+		windows-sys-0.52.0 \
+		windows-targets-0.52.5 \
+		windows_aarch64_gnullvm-0.52.5 \
+		windows_aarch64_msvc-0.52.5 \
+		windows_i686_gnu-0.52.5 \
+		windows_i686_gnullvm-0.52.5 \
+		windows_i686_msvc-0.52.5 \
+		windows_x86_64_gnu-0.52.5 \
+		windows_x86_64_gnullvm-0.52.5 \
+		windows_x86_64_msvc-0.52.5 \
+		winnow-0.6.8
+
+PLIST_FILES=	bin/${PORTNAME}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/devel/cargo-hack/distinfo b/devel/cargo-hack/distinfo
new file mode 100644
index 000000000000..aa3f5ab49c0b
--- /dev/null
+++ b/devel/cargo-hack/distinfo
@@ -0,0 +1,103 @@
+TIMESTAMP = 1716078981
+SHA256 (rust/crates/anyhow-1.0.86.crate) = b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da
+SIZE (rust/crates/anyhow-1.0.86.crate) = 46741
+SHA256 (rust/crates/autocfg-1.3.0.crate) = 0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0
+SIZE (rust/crates/autocfg-1.3.0.crate) = 16524
+SHA256 (rust/crates/bitflags-2.5.0.crate) = cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1
+SIZE (rust/crates/bitflags-2.5.0.crate) = 43821
+SHA256 (rust/crates/build-context-0.1.2.crate) = 53cc09198d5eef1d91e3fd5bafcdea45c5fe44464e8c92dd985d49bc9c563fba
+SIZE (rust/crates/build-context-0.1.2.crate) = 7950
+SHA256 (rust/crates/cargo-config2-0.1.26.crate) = d83ce0be8bd1479e5de6202def660e6c7e27e4e0599bffa4fed05bd380ec2ede
+SIZE (rust/crates/cargo-config2-0.1.26.crate) = 63535
+SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
+SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934
+SHA256 (rust/crates/cfg_aliases-0.1.1.crate) = fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e
+SIZE (rust/crates/cfg_aliases-0.1.1.crate) = 6009
+SHA256 (rust/crates/ctrlc-3.4.4.crate) = 672465ae37dc1bc6380a6547a8883d5dd397b0f1faaad4f265726cc7042a5345
+SIZE (rust/crates/ctrlc-3.4.4.crate) = 14660
+SHA256 (rust/crates/easy-ext-1.0.1.crate) = 49457524c7e65648794c98283282a0b7c73b10018e7091f1cdcfff314fd7ae59
+SIZE (rust/crates/easy-ext-1.0.1.crate) = 27914
+SHA256 (rust/crates/equivalent-1.0.1.crate) = 5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5
+SIZE (rust/crates/equivalent-1.0.1.crate) = 6615
+SHA256 (rust/crates/errno-0.3.9.crate) = 534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba
+SIZE (rust/crates/errno-0.3.9.crate) = 10690
+SHA256 (rust/crates/fastrand-2.1.0.crate) = 9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a
+SIZE (rust/crates/fastrand-2.1.0.crate) = 14907
+SHA256 (rust/crates/fs-err-2.11.0.crate) = 88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41
+SIZE (rust/crates/fs-err-2.11.0.crate) = 20449
+SHA256 (rust/crates/hashbrown-0.14.5.crate) = e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1
+SIZE (rust/crates/hashbrown-0.14.5.crate) = 141498
+SHA256 (rust/crates/home-0.5.9.crate) = e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5
+SIZE (rust/crates/home-0.5.9.crate) = 8760
+SHA256 (rust/crates/indexmap-2.2.6.crate) = 168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26
+SIZE (rust/crates/indexmap-2.2.6.crate) = 82420
+SHA256 (rust/crates/itoa-1.0.11.crate) = 49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b
+SIZE (rust/crates/itoa-1.0.11.crate) = 10563
+SHA256 (rust/crates/lexopt-0.3.0.crate) = baff4b617f7df3d896f97fe922b64817f6cd9a756bb81d40f8883f2f66dcb401
+SIZE (rust/crates/lexopt-0.3.0.crate) = 24767
+SHA256 (rust/crates/libc-0.2.155.crate) = 97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c
+SIZE (rust/crates/libc-0.2.155.crate) = 743539
+SHA256 (rust/crates/linux-raw-sys-0.4.14.crate) = 78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89
+SIZE (rust/crates/linux-raw-sys-0.4.14.crate) = 1826665
+SHA256 (rust/crates/memchr-2.7.2.crate) = 6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d
+SIZE (rust/crates/memchr-2.7.2.crate) = 96220
+SHA256 (rust/crates/nix-0.28.0.crate) = ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4
+SIZE (rust/crates/nix-0.28.0.crate) = 311086
+SHA256 (rust/crates/proc-macro2-1.0.82.crate) = 8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b
+SIZE (rust/crates/proc-macro2-1.0.82.crate) = 48452
+SHA256 (rust/crates/quote-1.0.36.crate) = 0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7
+SIZE (rust/crates/quote-1.0.36.crate) = 28507
+SHA256 (rust/crates/rustix-0.38.34.crate) = 70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f
+SIZE (rust/crates/rustix-0.38.34.crate) = 365160
+SHA256 (rust/crates/ryu-1.0.18.crate) = f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f
+SIZE (rust/crates/ryu-1.0.18.crate) = 47713
+SHA256 (rust/crates/same-file-1.0.6.crate) = 93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502
+SIZE (rust/crates/same-file-1.0.6.crate) = 10183
+SHA256 (rust/crates/serde-1.0.202.crate) = 226b61a0d411b2ba5ff6d7f73a476ac4f8bb900373459cd00fab8512828ba395
+SIZE (rust/crates/serde-1.0.202.crate) = 77722
+SHA256 (rust/crates/serde_derive-1.0.202.crate) = 6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838
+SIZE (rust/crates/serde_derive-1.0.202.crate) = 55867
+SHA256 (rust/crates/serde_json-1.0.117.crate) = 455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3
+SIZE (rust/crates/serde_json-1.0.117.crate) = 146921
+SHA256 (rust/crates/serde_spanned-0.6.6.crate) = 79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0
+SIZE (rust/crates/serde_spanned-0.6.6.crate) = 9120
+SHA256 (rust/crates/slab-0.4.9.crate) = 8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67
+SIZE (rust/crates/slab-0.4.9.crate) = 17108
+SHA256 (rust/crates/syn-2.0.64.crate) = 7ad3dee41f36859875573074334c200d1add8e4a87bb37113ebd31d926b7b11f
+SIZE (rust/crates/syn-2.0.64.crate) = 264945
+SHA256 (rust/crates/tempfile-3.10.1.crate) = 85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1
+SIZE (rust/crates/tempfile-3.10.1.crate) = 33653
+SHA256 (rust/crates/termcolor-1.4.1.crate) = 06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755
+SIZE (rust/crates/termcolor-1.4.1.crate) = 18773
+SHA256 (rust/crates/toml_datetime-0.6.6.crate) = 4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf
+SIZE (rust/crates/toml_datetime-0.6.6.crate) = 11698
+SHA256 (rust/crates/toml_edit-0.22.13.crate) = c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c
+SIZE (rust/crates/toml_edit-0.22.13.crate) = 103518
+SHA256 (rust/crates/unicode-ident-1.0.12.crate) = 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b
+SIZE (rust/crates/unicode-ident-1.0.12.crate) = 42168
+SHA256 (rust/crates/winapi-util-0.1.8.crate) = 4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b
+SIZE (rust/crates/winapi-util-0.1.8.crate) = 12416
+SHA256 (rust/crates/windows-sys-0.52.0.crate) = 282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d
+SIZE (rust/crates/windows-sys-0.52.0.crate) = 2576877
+SHA256 (rust/crates/windows-targets-0.52.5.crate) = 6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb
+SIZE (rust/crates/windows-targets-0.52.5.crate) = 6376
+SHA256 (rust/crates/windows_aarch64_gnullvm-0.52.5.crate) = 7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263
+SIZE (rust/crates/windows_aarch64_gnullvm-0.52.5.crate) = 433266
+SHA256 (rust/crates/windows_aarch64_msvc-0.52.5.crate) = 9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6
+SIZE (rust/crates/windows_aarch64_msvc-0.52.5.crate) = 827944
+SHA256 (rust/crates/windows_i686_gnu-0.52.5.crate) = 88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670
+SIZE (rust/crates/windows_i686_gnu-0.52.5.crate) = 875699
+SHA256 (rust/crates/windows_i686_gnullvm-0.52.5.crate) = 87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9
+SIZE (rust/crates/windows_i686_gnullvm-0.52.5.crate) = 473064
+SHA256 (rust/crates/windows_i686_msvc-0.52.5.crate) = db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf
+SIZE (rust/crates/windows_i686_msvc-0.52.5.crate) = 895404
+SHA256 (rust/crates/windows_x86_64_gnu-0.52.5.crate) = 4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9
+SIZE (rust/crates/windows_x86_64_gnu-0.52.5.crate) = 831539
+SHA256 (rust/crates/windows_x86_64_gnullvm-0.52.5.crate) = 852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596
+SIZE (rust/crates/windows_x86_64_gnullvm-0.52.5.crate) = 433246
+SHA256 (rust/crates/windows_x86_64_msvc-0.52.5.crate) = bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0
+SIZE (rust/crates/windows_x86_64_msvc-0.52.5.crate) = 827905
+SHA256 (rust/crates/winnow-0.6.8.crate) = c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d
+SIZE (rust/crates/winnow-0.6.8.crate) = 159453
+SHA256 (taiki-e-cargo-hack-v0.6.28_GH0.tar.gz) = bb01d15d55c05a1efe6edcc7880e4d6d6cbc46fa06334a062b29b6bbaba42be5
+SIZE (taiki-e-cargo-hack-v0.6.28_GH0.tar.gz) = 77231
diff --git a/devel/cargo-hack/pkg-descr b/devel/cargo-hack/pkg-descr
new file mode 100644
index 000000000000..dce95ccb335c
--- /dev/null
+++ b/devel/cargo-hack/pkg-descr
@@ -0,0 +1,2 @@
+cargo-hack is a Rust cargo subcommand to provide various options useful for
+testing and continuous integration.



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