summaryrefslogtreecommitdiff
path: root/dev-util/pkgcruft
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-24 00:11:52 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-24 00:11:52 +0100
commit67e5603b2844a6657dd0438fa26626b013e5567f (patch)
treee7319631fdf1c41ddbe888e89a717d1ba42af992 /dev-util/pkgcruft
parentbff543bb632933380da922cbfc07c67157d72d42 (diff)
gentoo auto-resync : 24:06:2024 - 00:11:52
Diffstat (limited to 'dev-util/pkgcruft')
-rw-r--r--dev-util/pkgcruft/Manifest4
-rw-r--r--dev-util/pkgcruft/pkgcruft-0.0.2.ebuild59
-rw-r--r--dev-util/pkgcruft/pkgcruft-9999.ebuild2
3 files changed, 63 insertions, 2 deletions
diff --git a/dev-util/pkgcruft/Manifest b/dev-util/pkgcruft/Manifest
index e8c8dbf32589..d6911dc20dea 100644
--- a/dev-util/pkgcruft/Manifest
+++ b/dev-util/pkgcruft/Manifest
@@ -1,4 +1,6 @@
DIST pkgcruft-0.0.1.tar.xz 30144864 BLAKE2B af309ac7199640e1ee058ba9206c09ce7a054016f515d99763c40399ed8487807c908f5a5fbabc187ee88f2690cbdaa91c8b374732949b1e03334418140de65b SHA512 d02c91b7683f930eff99fa0cca01f7008c6a8808c25439a880928dc1a680f99a72f76a571bf3ec48f17a1ab337007679384993325b53a9efad1ff4ce59b382cd
+DIST pkgcruft-0.0.2.tar.xz 24861352 BLAKE2B d3e206d97c8e877727a8a659a0d59ee6a62f5a817b74143a2e68861e21023439f0b3dcf9f218da98cabe02c156949a1d1adf1a28ff3daff90da3b581458e42dc SHA512 9734413f2142b01c22ecb708ebc63109c0ce09d00e96ba4ce7d3e34e5e02699a1061bfb852e33654e834a7c403d575470b3e8715dc31184557be0b6f9f8bda1b
EBUILD pkgcruft-0.0.1.ebuild 1132 BLAKE2B 4650b9096510571626fe8b5d5f3a29bbe161a75154d5f95eaf363f4b26e7b66589ca89e351080d8418ba1b42e2d5d7c39c12b9e8a41feff812d8615f2377aa4d SHA512 2d152aa79585175abaa4bc0cdcc17e1030bad1182696c008951cd93c822c97b21e426583d56439499e31d2271005fdc122ceff4e6bf5f40ae6ad87d360c181db
-EBUILD pkgcruft-9999.ebuild 1132 BLAKE2B b754b8cefd4beafed2a09ef8c867f60a87d4258346383aac6d80337fb5137be05c4e0c33f5ed31ac63f08f74b13fdad4d5bc9aa7eaae30356b5866eca668081b SHA512 0fb53744fabc8cc09c748c395d643835d18145cea7adb6a14a19533c80c6eed1866b69ea6e12cc930ad4115f8186e58bf5928375417c72930f21eb5718da16e3
+EBUILD pkgcruft-0.0.2.ebuild 1132 BLAKE2B 335aa07207b226bfaeebda9858434044060ed23aa628e946eb1d9d426a80377103d13324cde7ae6e87f31b84cd7d48d516180a2708a41a42a84deb216b7239a5 SHA512 7875a54747ad80f03cac8db5aa5d1c8106767b207a8d9a2fd35fcf9fd220eaa7cb72453a487aa418cd141855bb25a2cecaa2c7ce1eddf97cfe21f9915e616918
+EBUILD pkgcruft-9999.ebuild 1132 BLAKE2B 335aa07207b226bfaeebda9858434044060ed23aa628e946eb1d9d426a80377103d13324cde7ae6e87f31b84cd7d48d516180a2708a41a42a84deb216b7239a5 SHA512 7875a54747ad80f03cac8db5aa5d1c8106767b207a8d9a2fd35fcf9fd220eaa7cb72453a487aa418cd141855bb25a2cecaa2c7ce1eddf97cfe21f9915e616918
MISC metadata.xml 322 BLAKE2B b0ee0fc53eb8b4b485f74806a78b5560aaf53f1772d7bd3e5af4e03385b3f3aed18fc52462c2d49de6c0d735db0cae3fab175b8adc0e5f7c4baa89e28973776f SHA512 9343cd5028750182fe9325c44f4c4c7df0976b79e0422b66e0fd16f94be76eaa203e8ecad5ec2cbed3535f455f038e51968850ced9afb27af9a98b6b968df88a
diff --git a/dev-util/pkgcruft/pkgcruft-0.0.2.ebuild b/dev-util/pkgcruft/pkgcruft-0.0.2.ebuild
new file mode 100644
index 000000000000..a14a39afdc5c
--- /dev/null
+++ b/dev-util/pkgcruft/pkgcruft-0.0.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=" "
+inherit cargo edo toolchain-funcs
+
+DESCRIPTION="QA library and tools based on pkgcraft"
+HOMEPAGE="https://pkgcraft.github.io/"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft"
+ inherit git-r3
+
+ S="${WORKDIR}"/${P}/crates/${PN}
+else
+ SRC_URI="https://github.com/pkgcraft/pkgcraft/releases/download/${P}/${P}.tar.xz"
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 BSD-2 BSD CC0-1.0 GPL-3+ ISC MIT MPL-2.0 Unicode-DFS-2016
+"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# clang needed for bindgen
+BDEPEND+="
+ sys-devel/clang
+ >=virtual/rust-1.76
+ test? ( dev-util/cargo-nextest )
+"
+
+QA_FLAGS_IGNORED="usr/bin/pkgcruft"
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ fi
+}
+
+src_compile() {
+ # For scallop building bash
+ tc-export AR CC
+
+ cargo_src_compile
+}
+
+src_test() {
+ edo cargo nextest run $(usev !debug '--release') --color always --all-features --tests
+}
diff --git a/dev-util/pkgcruft/pkgcruft-9999.ebuild b/dev-util/pkgcruft/pkgcruft-9999.ebuild
index dc659b541bd1..a14a39afdc5c 100644
--- a/dev-util/pkgcruft/pkgcruft-9999.ebuild
+++ b/dev-util/pkgcruft/pkgcruft-9999.ebuild
@@ -32,7 +32,7 @@ RESTRICT="!test? ( test )"
# clang needed for bindgen
BDEPEND+="
sys-devel/clang
- >=virtual/rust-1.74
+ >=virtual/rust-1.76
test? ( dev-util/cargo-nextest )
"