diff options
author | Sam James <sam@gentoo.org> | 2023-06-17 23:46:36 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-17 23:46:46 +0100 |
commit | d460d8b3cdd5a4757ad9e62d153df6baf86d3172 (patch) | |
tree | ae7cae116bd5eea9f6aa3730bd547cabfd962fa6 /sys-apps/pkgcraft-tools | |
parent | sys-apps/coreutils: append-lfs-flags for alpha & friends (diff) | |
download | gentoo-d460d8b3cdd5a4757ad9e62d153df6baf86d3172.tar.gz gentoo-d460d8b3cdd5a4757ad9e62d153df6baf86d3172.tar.bz2 gentoo-d460d8b3cdd5a4757ad9e62d153df6baf86d3172.zip |
sys-apps/pkgcraft-tools: add 0.0.9
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.9.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-apps/pkgcraft-tools/Manifest b/sys-apps/pkgcraft-tools/Manifest index 27272fa40f6d..16e31490ea63 100644 --- a/sys-apps/pkgcraft-tools/Manifest +++ b/sys-apps/pkgcraft-tools/Manifest @@ -1,2 +1,3 @@ DIST pkgcraft-tools-0.0.7.tar.xz 18854348 BLAKE2B 1a7c22df87b994c3c58ae00d964e422ff1d9d5eb479b183178e33e517e5c0c1ff802c4c43ef4e49437c699eeeb81c1db8aa4825736fdef2d0548f92ea15c3f13 SHA512 a97da4a477f399238f0257c1dc1e93cdcaa14bf1c39014e42d39220566fc582a4c24a6cbaf23b8635cf1bc74d24ff1cdc6aa04619437788f2d2ef73e5f833cc8 DIST pkgcraft-tools-0.0.8.tar.xz 19137448 BLAKE2B 81e8315115f2baa0ade249125b096bc22ef8a06d69fd0ea6a5773f547c3969ec8096066cc6bccfed3ed71e8d5268881d9d7b81daffc95c9ae9892de24acf5b34 SHA512 0b834da7df84b677c3a2e6195bd5e2f9295ecf04f5f5d6d076b1d117762f928e4497d83c13bdcba9365343296ac5be294d5d303fe79708bfa65bb21a671c96ad +DIST pkgcraft-tools-0.0.9.tar.xz 18168280 BLAKE2B 3608c2dbe2443cca8335f0d119cf02904680c9795179ec9cecf82be350b232faab50fdc01ded9b6270659c3b097c6cd1b9256baec9a8c313e1f592b9a82f9d26 SHA512 32bf93adafcdf02f736282af0398c0cc12619589e41e9488b8dd38947cfb0f7b0e1916629c5f51bb5b2d2c00f165e3f2c4f15b34333e739789b1896f60599b64 diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.9.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.9.ebuild new file mode 100644 index 000000000000..249efde287e3 --- /dev/null +++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.9.ebuild @@ -0,0 +1,47 @@ +# 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)) +" + +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 +} |