dev-util/tokei: update EAPI 7 -> 8

Remove ${PN} from SRC_URI
Use cargo_src_configure to propagate `--features all` to all cargo*
functions

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2024-06-12 17:44:50 +02:00
parent 84fd797920
commit a6b9b24fe2
2 changed files with 10 additions and 12 deletions

View File

@@ -3,7 +3,7 @@
# Auto-Generated by cargo-ebuild 0.3.1
EAPI=7
EAPI=8
CRATES="
ahash@0.3.8
@@ -167,7 +167,7 @@ inherit cargo
DESCRIPTION="Count your code, quickly"
HOMEPAGE="https://tokei.rs"
SRC_URI="https://github.com/XAMPPRocky/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
SRC_URI="https://github.com/XAMPPRocky/tokei/archive/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}"
LICENSE="BSD BSD-2 CC0-1.0 MIT ZLIB || ( Apache-2.0 Boost-1.0 )"
@@ -176,12 +176,11 @@ KEYWORDS="~amd64 ~x86"
QA_FLAGS_IGNORED="usr/bin/tokei"
src_compile() {
cargo_src_compile --features all
src_configure() {
cargo_src_configure --features all
}
src_install() {
cargo_src_install --features all
cargo_src_install
dodoc CHANGELOG.md README.md tokei.example.toml
}

View File

@@ -3,7 +3,7 @@
# Auto-Generated by cargo-ebuild 0.3.1
EAPI=7
EAPI=8
CRATES="
aho-corasick@0.7.15
@@ -163,7 +163,7 @@ inherit cargo
DESCRIPTION="Count your code, quickly"
HOMEPAGE="https://tokei.rs"
SRC_URI="https://github.com/XAMPPRocky/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
SRC_URI="https://github.com/XAMPPRocky/tokei/archive/v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}"
LICENSE="BSD BSD-2 CC0-1.0 MIT ZLIB || ( Apache-2.0 Boost-1.0 )"
@@ -172,12 +172,11 @@ KEYWORDS="~amd64 ~x86"
QA_FLAGS_IGNORED="usr/bin/tokei"
src_compile() {
cargo_src_compile --features all
src_configure() {
cargo_src_configure --features all
}
src_install() {
cargo_src_install --features all
cargo_src_install
dodoc CHANGELOG.md README.md tokei.example.toml
}