coreos-base/update-ssh-keys: Don't use coreos-cargo.eclass, fix warnings

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2024-06-11 17:18:04 +01:00
parent d5216b4884
commit daab7c3970
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
2 changed files with 55 additions and 54 deletions

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">flatcar/update-ssh-keys</remote-id>
</upstream>
</pkgmetadata>

View File

@ -14,65 +14,63 @@ else
KEYWORDS="amd64 arm64"
fi
PATCHES=(
)
# generated by cargo ebuild
CRATES="
anstream-0.6.4
anstyle-1.0.4
anstyle-parse-0.2.2
anstyle-query-1.0.0
anstyle-wincon-3.0.1
base64-0.21.5
block-buffer-0.10.4
byteorder-1.5.0
cfg-if-1.0.0
clap-4.4.6
clap_builder-4.4.6
clap_lex-0.5.1
colorchoice-1.0.0
cpufeatures-0.2.10
crypto-common-0.1.6
digest-0.10.7
error-chain-0.12.4
fs2-0.4.3
generic-array-0.14.7
libc-0.2.149
log-0.4.20
md-5-0.10.6
openssh-keys-0.6.2
proc-macro2-1.0.69
quote-1.0.33
sha2-0.10.8
strsim-0.10.0
syn-2.0.38
thiserror-1.0.50
thiserror-impl-1.0.50
typenum-1.17.0
unicode-ident-1.0.12
utf8parse-0.2.1
uzers-0.11.3
version_check-0.9.4
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
windows-sys-0.48.0
windows-targets-0.48.5
windows_aarch64_gnullvm-0.48.5
windows_aarch64_msvc-0.48.5
windows_i686_gnu-0.48.5
windows_i686_msvc-0.48.5
windows_x86_64_gnu-0.48.5
windows_x86_64_gnullvm-0.48.5
windows_x86_64_msvc-0.48.5
anstream@0.6.4
anstyle@1.0.4
anstyle-parse@0.2.2
anstyle-query@1.0.0
anstyle-wincon@3.0.1
base64@0.21.5
block-buffer@0.10.4
byteorder@1.5.0
cfg-if@1.0.0
clap@4.4.6
clap_builder@4.4.6
clap_lex@0.5.1
colorchoice@1.0.0
cpufeatures@0.2.10
crypto-common@0.1.6
digest@0.10.7
error-chain@0.12.4
fs2@0.4.3
generic-array@0.14.7
libc@0.2.149
log@0.4.20
md-5@0.10.6
openssh-keys@0.6.2
proc-macro2@1.0.69
quote@1.0.33
sha2@0.10.8
strsim@0.10.0
syn@2.0.38
thiserror@1.0.50
thiserror-impl@1.0.50
typenum@1.17.0
unicode-ident@1.0.12
utf8parse@0.2.1
uzers@0.11.3
version_check@0.9.4
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
windows-sys@0.48.0
windows-targets@0.48.5
windows_aarch64_gnullvm@0.48.5
windows_aarch64_msvc@0.48.5
windows_i686_gnu@0.48.5
windows_i686_msvc@0.48.5
windows_x86_64_gnu@0.48.5
windows_x86_64_gnullvm@0.48.5
windows_x86_64_msvc@0.48.5
"
inherit coreos-cargo cros-workon
inherit cargo cros-workon
DESCRIPTION="Utility for managing OpenSSH authorized public keys"
HOMEPAGE="https://github.com/flatcar/update-ssh-keys"
SRC_URI="https://mirror.release.flatcar-linux.net/coreos/openssh-keys-0.5.1-alpha.0.crate -> openssh-keys-0.5.1-alpha.0.crate $(cargo_crate_uris ${CRATES})"
SRC_URI="https://mirror.release.flatcar-linux.net/coreos/openssh-keys-0.5.1-alpha.0.crate
${CARGO_CRATE_URIS}"
LICENSE="Apache-2.0"
SLOT="0"
@ -82,6 +80,6 @@ SLOT="0"
RDEPEND="!<coreos-base/coreos-init-0.0.1-r152"
src_unpack() {
cros-workon_src_unpack "$@"
coreos-cargo_src_unpack "$@"
cros-workon_src_unpack
cargo_src_unpack
}