diff options
author | Sam James <sam@gentoo.org> | 2023-06-23 21:19:37 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-23 21:19:37 +0100 |
commit | 4a72c28f49ecf6806001a8d7ab8dfaa724241dfc (patch) | |
tree | 4b0a0108fbcee9a79c841d5c9629ad87d206386f | |
parent | www-servers/tomcat: Stabilize 8.5.89 amd64, #909046 (diff) | |
download | gentoo-4a72c28f49ecf6806001a8d7ab8dfaa724241dfc.tar.gz gentoo-4a72c28f49ecf6806001a8d7ab8dfaa724241dfc.tar.bz2 gentoo-4a72c28f49ecf6806001a8d7ab8dfaa724241dfc.zip |
sys-apps/pkgcraft-tools: add 0.0.10
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-apps/pkgcraft-tools/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.10.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-apps/pkgcraft-tools/Manifest b/sys-apps/pkgcraft-tools/Manifest index 16e31490ea63..5d57ccf8886e 100644 --- a/sys-apps/pkgcraft-tools/Manifest +++ b/sys-apps/pkgcraft-tools/Manifest @@ -1,3 +1,4 @@ +DIST pkgcraft-tools-0.0.10.tar.xz 20306544 BLAKE2B c17d1da2478b6afacb47168c717e3333c2ee74d134e2ce6fe032e022606057afa8ee2ab9a19ca1d74e14c1228da64caf5f59b269c86483d1367711054434da31 SHA512 cf81e9e72f954f0117c13b138ed1151501a83148ed3c39eb39d60337dccada82c79e7af5aafcdde480d3d23bfefd3bd136c3d2332819ae8cb3175968132a6718 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.10.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.10.ebuild new file mode 100644 index 000000000000..249efde287e3 --- /dev/null +++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.10.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 +} |