summaryrefslogtreecommitdiff
path: root/sys-apps/pkgcraft-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-30 05:39:05 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-30 05:39:05 +0100
commit49fadb6686800eac5ce039896df6437ac7240c8c (patch)
treebb8d772a99971082b6958d589874e7db938cd2ca /sys-apps/pkgcraft-tools
parenta55dc4dc2b72859e439db575f57f02ce4ba700f1 (diff)
gentoo auto-resync : 30:09:2023 - 05:39:05
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.12.ebuild55
-rw-r--r--sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild4
3 files changed, 60 insertions, 3 deletions
diff --git a/sys-apps/pkgcraft-tools/Manifest b/sys-apps/pkgcraft-tools/Manifest
index 568dce5ac53f..685ce2bb62b5 100644
--- a/sys-apps/pkgcraft-tools/Manifest
+++ b/sys-apps/pkgcraft-tools/Manifest
@@ -1,4 +1,6 @@
DIST pkgcraft-tools-0.0.11.tar.xz 31755828 BLAKE2B c47f59849ebb0b80ee9615d9b16e66f75cea2786e81a4cc521158d3e814f112328d2dbb5933bf247652772fce5277f5102f095b302df20a4f781077b2cdb0627 SHA512 59c38a888a7fb7da51001f3eff415dc8189a2073a5f06be11af2065265e7e8bf9e5747947f6d36b9ddfaaa261a4b4acfad05ba759f6f27dbe1c37d96d5976f45
+DIST pkgcraft-tools-0.0.12.tar.xz 30016728 BLAKE2B 45ab7b1fc4f03e854bd121b97096932bbf62e46efdaef31449cb923d90e93e28ee450163e8748bc2f2f6b6efacc0a06e485ea63ab69c1754a5b1cfc2e4861ccc SHA512 a679d81adc8175f18f9800ef67797c0f0d8d80aaa336018077216e3117fe96da289ffd2a3efa552ec53e82c8401a2454b4050f1a4ab41a1b68b9e8e2803e2ccd
EBUILD pkgcraft-tools-0.0.11.ebuild 1138 BLAKE2B 22af57d851645af091ea1897b708e01445a4fa6ee7227f5be46bac9ab820a708a22d9bbbc7b69a931a929870e9d1402ee2314caeafaf009f006d427234438f7e SHA512 7ba57405870d5249089df22d015c11a0e40b0b0fa086472e326b4baf448d074273924cc03cf13d551c45a9d5dfc27811f09c86891f76f0d50c62cd55697228a1
-EBUILD pkgcraft-tools-9999.ebuild 1131 BLAKE2B 99e205dc085aa5246dcd350b064913e328449f2e929f89649d32317b7058c559834c64c297ec19791d4faa554730279557c8e264e3ac56bcb6ad5b05b3d3a337 SHA512 35c38480b562dc485c6feeddbbb3c342e12e5ab0c301c6f493c701abfcbfd9edc34d0f465b5924f548de5af67cdb79324f195d68777f530b8d08ce463c11d6a6
+EBUILD pkgcraft-tools-0.0.12.ebuild 1138 BLAKE2B e0d6cb57250fdeffa8111a894ceb0f0b17b0cf01909517b7d6ce339f716dea1e4960a58ddc6ad32c7a2ce73db248819a74d87e6c3fc12835d74367bc0513a750 SHA512 918e322421789ed26c747e54499dad9fb2c5aa37fef5ed096f0853322cb0639efc30f3b26b91f5a23d2aac3d983310017fa406d57a00553b9e8ed6aadc845aaa
+EBUILD pkgcraft-tools-9999.ebuild 1138 BLAKE2B e0d6cb57250fdeffa8111a894ceb0f0b17b0cf01909517b7d6ce339f716dea1e4960a58ddc6ad32c7a2ce73db248819a74d87e6c3fc12835d74367bc0513a750 SHA512 918e322421789ed26c747e54499dad9fb2c5aa37fef5ed096f0853322cb0639efc30f3b26b91f5a23d2aac3d983310017fa406d57a00553b9e8ed6aadc845aaa
MISC metadata.xml 322 BLAKE2B b0ee0fc53eb8b4b485f74806a78b5560aaf53f1772d7bd3e5af4e03385b3f3aed18fc52462c2d49de6c0d735db0cae3fab175b8adc0e5f7c4baa89e28973776f SHA512 9343cd5028750182fe9325c44f4c4c7df0976b79e0422b66e0fd16f94be76eaa203e8ecad5ec2cbed3535f455f038e51968850ced9afb27af9a98b6b968df88a
diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.12.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.12.ebuild
new file mode 100644
index 000000000000..e35ac9b73a53
--- /dev/null
+++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.12.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=" "
+LLVM_MAX_SLOT=17
+inherit edo cargo llvm
+
+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="
+ <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1))
+ >=virtual/rust-1.70
+ 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
+ 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 bf887a5953d8..e35ac9b73a53 100644
--- a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
+++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
CRATES=" "
-LLVM_MAX_SLOT=16
+LLVM_MAX_SLOT=17
inherit edo cargo llvm
DESCRIPTION="pkgcraft-based tools for Gentoo"
@@ -18,7 +18,7 @@ if [[ ${PV} == 9999 ]] ; then
else
SRC_URI="https://github.com/pkgcraft/pkgcraft/releases/download/${P}/${P}.tar.xz"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~arm64"
fi
LICENSE="MIT"