summaryrefslogtreecommitdiff
path: root/sys-apps/pkgcraft-tools
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 /sys-apps/pkgcraft-tools
parentbff543bb632933380da922cbfc07c67157d72d42 (diff)
gentoo auto-resync : 24:06:2024 - 00:11:52
Diffstat (limited to 'sys-apps/pkgcraft-tools')
-rw-r--r--sys-apps/pkgcraft-tools/Manifest4
-rw-r--r--sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.15.ebuild53
-rw-r--r--sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild14
3 files changed, 62 insertions, 9 deletions
diff --git a/sys-apps/pkgcraft-tools/Manifest b/sys-apps/pkgcraft-tools/Manifest
index 607322671b84..e9ea1c1795d0 100644
--- a/sys-apps/pkgcraft-tools/Manifest
+++ b/sys-apps/pkgcraft-tools/Manifest
@@ -1,4 +1,6 @@
DIST pkgcraft-tools-0.0.14.tar.xz 30138240 BLAKE2B b9d0b238f26d980f032cfad26602348dabe574e3968e8adf5172e91efeea051b9720b158941a1bea53e2c1fa8180d516b1bb9668d9178f17c789fb5ba76b7bd9 SHA512 ca7c0f429228567c91a18db793b2fa81f6918cde54f302269deb6a1d2f6445756fbc73e3957ad7b29c8a0e8e000c1b939290c6bbc34bb693cc54b87841fef06c
+DIST pkgcraft-tools-0.0.15.tar.xz 23029344 BLAKE2B 7e5f6e119a98bc061578bcfad954bc286bef2bfa93687d16daab615e17ede1512bb0fcbd7ce342c915f4494397169a05b7846029c1c59f2f5f0565ef34ae1bb3 SHA512 6009582531f21c3896441a04ad462fc6d06b509bc4faaa3944ae3696b7b67a0d492ec6345cc6bedc7388b20d558a01bb8a24f3c439da3972c01fcae9277d2c2c
EBUILD pkgcraft-tools-0.0.14.ebuild 1143 BLAKE2B db8d072ac5674edd8de492a4df64c9da5b3e87c288159e71e5376bfb11776129e70f69c979d03a60f5a780d30b940800f16d924881cb93fa69ede13af750c5ec SHA512 1441db25715bdf6ded23ceb9fde80e53bcd66b349fb6d588a524236751a64e9676235b1ddbd54c4cda66919b49b107f4e759e25a710419c1570cda4c91ffa8c6
-EBUILD pkgcraft-tools-9999.ebuild 1143 BLAKE2B 41fc28049557fa8b0c8744aabaf5bf7f7c6b69a661b66377375bd4e6365b96aa178b17fdc4251419df986212c271c93c2b88b66b05c4ae1429215ff8004979ce SHA512 1c6643a547b3be610be712b68955b136c1904400c1ed19bf296dd4fd917b50cb2662beecd153b81e412938074170c2a43e4c8089d391da5fee02e4948fdedd5b
+EBUILD pkgcraft-tools-0.0.15.ebuild 1093 BLAKE2B 4addd2b956f6b7b293e4f54c3b9211da7d27319256066daa27fc629abae4924b6c29976462e591dbc3534456557df0c92f746a522b9df186070a03c553d235cf SHA512 74eb328c077066cba08a6bc032dd815d2a1c510cf71c7ddaf66485037a5c4fe427f0b004f859e4a587c11af91886d523e930fbbb74ece877d5d994fb76c849fd
+EBUILD pkgcraft-tools-9999.ebuild 1093 BLAKE2B 4addd2b956f6b7b293e4f54c3b9211da7d27319256066daa27fc629abae4924b6c29976462e591dbc3534456557df0c92f746a522b9df186070a03c553d235cf SHA512 74eb328c077066cba08a6bc032dd815d2a1c510cf71c7ddaf66485037a5c4fe427f0b004f859e4a587c11af91886d523e930fbbb74ece877d5d994fb76c849fd
MISC metadata.xml 322 BLAKE2B b0ee0fc53eb8b4b485f74806a78b5560aaf53f1772d7bd3e5af4e03385b3f3aed18fc52462c2d49de6c0d735db0cae3fab175b8adc0e5f7c4baa89e28973776f SHA512 9343cd5028750182fe9325c44f4c4c7df0976b79e0422b66e0fd16f94be76eaa203e8ecad5ec2cbed3535f455f038e51968850ced9afb27af9a98b6b968df88a
diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.15.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.15.ebuild
new file mode 100644
index 000000000000..e12a623430f6
--- /dev/null
+++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.15.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=" "
+LLVM_COMPAT=( {17..18} )
+inherit edo cargo llvm-r1
+
+DESCRIPTION="pkgcraft-based tools for Gentoo"
+HOMEPAGE="https://pkgcraft.github.io/"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/pkgcraft/pkgcraft"
+ inherit git-r3
+
+ S="${WORKDIR}"/${P}/crates/pkgcraft-tools
+else
+ SRC_URI="https://github.com/pkgcraft/pkgcraft/releases/download/${P}/${P}.tar.xz"
+
+ KEYWORDS="~amd64 ~arm64"
+fi
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD-2 BSD CC0-1.0 GPL-3+ ISC MIT Unicode-DFS-2016"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test ) "
+
+QA_FLAGS_IGNORED="usr/bin/pk"
+
+# Clang needed for bindgen
+BDEPEND="
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ ')
+ >=virtual/rust-1.76
+ test? ( dev-util/cargo-nextest )
+"
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ fi
+}
+
+src_test() {
+ edo cargo nextest run $(usev !debug '--release') --color always --all-features --tests
+}
diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
index 7f18fbdca06e..e12a623430f6 100644
--- a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
+++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
@@ -4,8 +4,8 @@
EAPI=8
CRATES=" "
-LLVM_MAX_SLOT=17
-inherit edo cargo llvm
+LLVM_COMPAT=( {17..18} )
+inherit edo cargo llvm-r1
DESCRIPTION="pkgcraft-based tools for Gentoo"
HOMEPAGE="https://pkgcraft.github.io/"
@@ -32,15 +32,13 @@ QA_FLAGS_IGNORED="usr/bin/pk"
# Clang needed for bindgen
BDEPEND="
- <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1))
- >=virtual/rust-1.74
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ ')
+ >=virtual/rust-1.76
test? ( dev-util/cargo-nextest )
"
-llvm_check_deps() {
- has_version -b "sys-devel/clang:${LLVM_SLOT}"
-}
-
src_unpack() {
if [[ ${PV} == 9999 ]] ; then
git-r3_src_unpack