diff options
author | Sam James <sam@gentoo.org> | 2023-09-06 19:56:34 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-06 20:43:30 +0100 |
commit | cedf1afaf7659954e9332be74b5c4c129d89548c (patch) | |
tree | d83b2415e3a753c71fbee3b3d7a015e101535f68 /sys-apps/pkgcraft-tools | |
parent | media-libs/libplacebo: style adjustment (diff) | |
download | gentoo-cedf1afaf7659954e9332be74b5c4c129d89548c.tar.gz gentoo-cedf1afaf7659954e9332be74b5c4c129d89548c.tar.bz2 gentoo-cedf1afaf7659954e9332be74b5c4c129d89548c.zip |
sys-apps/pkgcraft-tools: add 0.0.11
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/pkgcraft-tools')
-rw-r--r-- | sys-apps/pkgcraft-tools/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.11.ebuild | 48 | ||||
-rw-r--r-- | sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild | 1 |
3 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/pkgcraft-tools/Manifest b/sys-apps/pkgcraft-tools/Manifest index e9d0cfdd06c3..eee5a3e33dcf 100644 --- a/sys-apps/pkgcraft-tools/Manifest +++ b/sys-apps/pkgcraft-tools/Manifest @@ -1,2 +1,3 @@ DIST pkgcraft-tools-0.0.10.tar.xz 20306544 BLAKE2B c17d1da2478b6afacb47168c717e3333c2ee74d134e2ce6fe032e022606057afa8ee2ab9a19ca1d74e14c1228da64caf5f59b269c86483d1367711054434da31 SHA512 cf81e9e72f954f0117c13b138ed1151501a83148ed3c39eb39d60337dccada82c79e7af5aafcdde480d3d23bfefd3bd136c3d2332819ae8cb3175968132a6718 +DIST pkgcraft-tools-0.0.11.tar.xz 31755828 BLAKE2B c47f59849ebb0b80ee9615d9b16e66f75cea2786e81a4cc521158d3e814f112328d2dbb5933bf247652772fce5277f5102f095b302df20a4f781077b2cdb0627 SHA512 59c38a888a7fb7da51001f3eff415dc8189a2073a5f06be11af2065265e7e8bf9e5747947f6d36b9ddfaaa261a4b4acfad05ba759f6f27dbe1c37d96d5976f45 DIST pkgcraft-tools-0.0.9.tar.xz 18168280 BLAKE2B 3608c2dbe2443cca8335f0d119cf02904680c9795179ec9cecf82be350b232faab50fdc01ded9b6270659c3b097c6cd1b9256baec9a8c313e1f592b9a82f9d26 SHA512 32bf93adafcdf02f736282af0398c0cc12619589e41e9488b8dd38947cfb0f7b0e1916629c5f51bb5b2d2c00f165e3f2c4f15b34333e739789b1896f60599b64 diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.11.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.11.ebuild new file mode 100644 index 000000000000..ab222d8eafc9 --- /dev/null +++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.11.ebuild @@ -0,0 +1,48 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" " +LLVM_MAX_SLOT=16 +inherit 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" +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" + +QA_FLAGS_IGNORED="usr/bin/pk" + +# Clang needed for bindgen +BDEPEND=" + <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)) + >=virtual/rust-1.70 +" + +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 +} diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild index 249efde287e3..ab222d8eafc9 100644 --- a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild +++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild @@ -31,6 +31,7 @@ QA_FLAGS_IGNORED="usr/bin/pk" # Clang needed for bindgen BDEPEND=" <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)) + >=virtual/rust-1.70 " llvm_check_deps() { |