mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-apps/pkgcraft-tools: drop 0.0.26, 0.0.27-r1, 0.0.28
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1 @@
|
||||
DIST pkgcraft-tools-0.0.26.tar.xz 29784080 BLAKE2B 9be1716b50682415a983cb0400823c8219fb9b26874135b84353143cbc9b32bf1dcb9bf17964d48fc6b5b30f9a78b1aaef17acbddf30f684daacf5e353a9c5cb SHA512 aef64ef0af70d2635e7aaf7edfc4104e9c09cb9c4df9573de04da12e0452fc5235940a8f9caefd4c53d1bf25d33a615c6c0f2e03c58af8ecf2d20b6613132de8
|
||||
DIST pkgcraft-tools-0.0.27.tar.xz 35127920 BLAKE2B 4faf41ad66b65af94abe5f7cce42a186ec2b9d5bec72f212f04fa7730bde12f8a39bf44c1daa5784045019ee94fa3d6b6b229c66427e376b8d2356816f76a8ba SHA512 dd362d859dacfe3895f8a330eb46c4f872db4b8ea791ed2e27ff213c7c71c8413a3c5267165f8a95b3561c444bc52f8ba5e74350739e79fb7281b5e754731f1c
|
||||
DIST pkgcraft-tools-0.0.28.tar.xz 42229296 BLAKE2B 6c80e241092a604aba2a59a78180b8253e9178bdfce9f85ad1c263a8e51972c85cfc77598bb70ef8c2dc06c09cf3d5d3189f003ac14fb09814a542afde533575 SHA512 783a7c00f4fd12aecdc652b53e125e63d82579b5ab423a5855b8d383aa9e4a44e0c57bec28d14ea90131603dfaf398f4f2e89a482ae08e0afd143f2e36a4d630
|
||||
DIST pkgcraft-tools-0.0.29.tar.xz 43544852 BLAKE2B b6207a9900951ac4543881d3c267c497ce2c2e37f4c8e8dd69dcb1d7f114279826dd06fc9751da84b87e0045bfd0f666630041a678187ad56684914a00f83b30 SHA512 7ccdd6ae2fa69ca383e79663a24faa1ba8b0fe79998815774f0308010b335f8199087478cf3341712c4032a14a678ec5eef07e19b4a0a2abe37982d295533e8e
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES=" "
|
||||
LLVM_COMPAT=( {17..19} )
|
||||
RUST_MIN_VER="1.84.0"
|
||||
|
||||
inherit cargo edo multiprocessing llvm-r1 shell-completion
|
||||
|
||||
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 '
|
||||
llvm-core/clang:${LLVM_SLOT}
|
||||
')
|
||||
test? ( dev-util/cargo-nextest )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
llvm-r1_pkg_setup
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
cargo_live_src_unpack
|
||||
else
|
||||
cargo_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset CLICOLOR CLICOLOR_FORCE
|
||||
|
||||
local -x NEXTEST_TEST_THREADS="$(makeopts_jobs)"
|
||||
|
||||
# pkg::env::current_dir is likely sensitive to ebuild env
|
||||
edo ${CARGO} nextest run $(usev !debug '--release') \
|
||||
--color always \
|
||||
--all-features \
|
||||
--tests \
|
||||
-- --skip pkg::env::current_dir
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
newbashcomp shell/pk.bash pk
|
||||
dozshcomp shell/_pk
|
||||
dofishcomp shell/pk.fish
|
||||
fi
|
||||
}
|
||||
@@ -1,94 +0,0 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES=" "
|
||||
LLVM_COMPAT=( {17..19} )
|
||||
RUST_MIN_VER="1.85.0"
|
||||
|
||||
inherit cargo edo multiprocessing llvm-r1 shell-completion
|
||||
|
||||
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 CDLA-Permissive-2.0 ISC MIT MPL-2.0
|
||||
Unicode-3.0
|
||||
"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test ) "
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/pk"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgit2:0/1.9
|
||||
dev-libs/openssl:=
|
||||
net-libs/libssh2:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# Clang needed for bindgen
|
||||
BDEPEND="
|
||||
$(llvm_gen_dep '
|
||||
llvm-core/clang:${LLVM_SLOT}
|
||||
')
|
||||
test? ( dev-util/cargo-nextest )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
llvm-r1_pkg_setup
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
cargo_live_src_unpack
|
||||
else
|
||||
cargo_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||
export LIBGIT2_NO_VENDOR=1
|
||||
cargo_src_compile
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
einfo "Generating shell completions"
|
||||
local BIN="${WORKDIR}/${P}/$(cargo_target_dir)/pk"
|
||||
"${BIN}" completion --dir shell || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset CLICOLOR CLICOLOR_FORCE
|
||||
|
||||
local -x NEXTEST_TEST_THREADS="$(makeopts_jobs)"
|
||||
|
||||
edo ${CARGO} nextest run $(usev !debug '--release') \
|
||||
--color always \
|
||||
--tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
newbashcomp shell/pk.bash pk
|
||||
dozshcomp shell/_pk
|
||||
dofishcomp shell/pk.fish
|
||||
}
|
||||
@@ -1,94 +0,0 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES=" "
|
||||
LLVM_COMPAT=( {17..21} )
|
||||
RUST_MIN_VER="1.88.0"
|
||||
|
||||
inherit cargo edo multiprocessing llvm-r1 shell-completion
|
||||
|
||||
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 CDLA-Permissive-2.0 ISC MIT MPL-2.0
|
||||
Unicode-3.0
|
||||
"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test ) "
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/pk"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgit2:0/1.9
|
||||
dev-libs/openssl:=
|
||||
net-libs/libssh2:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# Clang needed for bindgen
|
||||
BDEPEND="
|
||||
$(llvm_gen_dep '
|
||||
llvm-core/clang:${LLVM_SLOT}
|
||||
')
|
||||
test? ( dev-util/cargo-nextest )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
llvm-r1_pkg_setup
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
cargo_live_src_unpack
|
||||
else
|
||||
cargo_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||
export LIBGIT2_NO_VENDOR=1
|
||||
cargo_src_compile
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
einfo "Generating shell completions"
|
||||
local BIN="${WORKDIR}/${P}/$(cargo_target_dir)/pk"
|
||||
"${BIN}" completion --dir shell || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset CLICOLOR CLICOLOR_FORCE
|
||||
|
||||
local -x NEXTEST_TEST_THREADS="$(makeopts_jobs)"
|
||||
|
||||
edo ${CARGO} nextest run $(usev !debug '--release') \
|
||||
--color always \
|
||||
--tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
newbashcomp shell/pk.bash pk
|
||||
dozshcomp shell/_pk
|
||||
dofishcomp shell/pk.fish
|
||||
}
|
||||
Reference in New Issue
Block a user