coreos-base/ue-rs: 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:13:37 +01:00
parent 278050271b
commit d5216b4884
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
2 changed files with 194 additions and 187 deletions

View File

@ -0,0 +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/ue-rs</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,4 +1,4 @@
# Copyright (c) 2023 Flatcar Maintainers # Copyright (c) 2023-2024 Flatcar Maintainers
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -16,212 +16,212 @@ fi
# https://github.com/gentoo/cargo-ebuild # https://github.com/gentoo/cargo-ebuild
CRATES=" CRATES="
addr2line-0.21.0 addr2line@0.21.0
adler-1.0.2 adler@1.0.2
aho-corasick-1.0.5 aho-corasick@1.0.5
anyhow-1.0.75 anyhow@1.0.75
argh-0.1.12 argh@0.1.12
argh_derive-0.1.12 argh_derive@0.1.12
argh_shared-0.1.12 argh_shared@0.1.12
autocfg-1.1.0 autocfg@1.1.0
backtrace-0.3.69 backtrace@0.3.69
base64-0.21.3 base64@0.21.3
base64ct-1.6.0 base64ct@1.6.0
bitflags-1.3.2 bitflags@1.3.2
bitflags-2.4.0 bitflags@2.4.0
block-buffer-0.10.4 block-buffer@0.10.4
bstr-1.6.2 bstr@1.6.2
bumpalo-3.13.0 bumpalo@3.13.0
byteorder-1.4.3 byteorder@1.4.3
bytes-1.4.0 bytes@1.4.0
bzip2-0.4.4 bzip2@0.4.4
bzip2-sys-0.1.11+1.0.8 bzip2-sys@0.1.11+1.0.8
cc-1.0.83 cc@1.0.83
cfg-if-1.0.0 cfg-if@1.0.0
const-oid-0.9.5 const-oid@0.9.5
core-foundation-0.9.3 core-foundation@0.9.3
core-foundation-sys-0.8.4 core-foundation-sys@0.8.4
cpufeatures-0.2.9 cpufeatures@0.2.9
crypto-common-0.1.6 crypto-common@0.1.6
ct-codecs-1.1.1 ct-codecs@1.1.1
der-0.7.8 der@0.7.8
digest-0.10.7 digest@0.10.7
encoding_rs-0.8.33 encoding_rs@0.8.33
env_logger-0.10.0 env_logger@0.10.0
equivalent-1.0.1 equivalent@1.0.1
errno-0.3.3 errno@0.3.3
errno-dragonfly-0.1.2 errno-dragonfly@0.1.2
fastrand-2.0.0 fastrand@2.0.0
fnv-1.0.7 fnv@1.0.7
foreign-types-0.3.2 foreign-types@0.3.2
foreign-types-shared-0.1.1 foreign-types-shared@0.1.1
form_urlencoded-1.2.0 form_urlencoded@1.2.0
futures-channel-0.3.28 futures-channel@0.3.28
futures-core-0.3.28 futures-core@0.3.28
futures-io-0.3.29 futures-io@0.3.29
futures-sink-0.3.28 futures-sink@0.3.28
futures-task-0.3.28 futures-task@0.3.28
futures-util-0.3.28 futures-util@0.3.28
generic-array-0.14.7 generic-array@0.14.7
getrandom-0.2.10 getrandom@0.2.10
gimli-0.28.0 gimli@0.28.0
globset-0.4.13 globset@0.4.13
h2-0.3.26 h2@0.3.26
hashbrown-0.14.3 hashbrown@0.14.3
hermit-abi-0.3.2 hermit-abi@0.3.2
http-0.2.9 http@0.2.9
http-body-0.4.5 http-body@0.4.5
httparse-1.8.0 httparse@1.8.0
httpdate-1.0.3 httpdate@1.0.3
humantime-2.1.0 humantime@2.1.0
hyper-0.14.28 hyper@0.14.28
hyper-tls-0.5.0 hyper-tls@0.5.0
idna-0.4.0 idna@0.4.0
indexmap-2.2.1 indexmap@2.2.1
ipnet-2.8.0 ipnet@2.8.0
is-terminal-0.4.9 is-terminal@0.4.9
itoa-1.0.9 itoa@1.0.9
jetscii-0.5.3 jetscii@0.5.3
js-sys-0.3.64 js-sys@0.3.64
lazy_static-1.4.0 lazy_static@1.4.0
libc-0.2.150 libc@0.2.150
libm-0.2.7 libm@0.2.7
linux-raw-sys-0.4.11 linux-raw-sys@0.4.11
log-0.4.20 log@0.4.20
memchr-2.6.3 memchr@2.6.3
mime-0.3.17 mime@0.3.17
miniz_oxide-0.7.1 miniz_oxide@0.7.1
mio-0.8.11 mio@0.8.11
native-tls-0.2.11 native-tls@0.2.11
num-bigint-dig-0.8.4 num-bigint-dig@0.8.4
num-integer-0.1.45 num-integer@0.1.45
num-iter-0.1.43 num-iter@0.1.43
num-traits-0.2.16 num-traits@0.2.16
object-0.32.1 object@0.32.1
once_cell-1.18.0 once_cell@1.18.0
openssl-0.10.60 openssl@0.10.60
openssl-macros-0.1.1 openssl-macros@0.1.1
openssl-probe-0.1.5 openssl-probe@0.1.5
openssl-sys-0.9.96 openssl-sys@0.9.96
pem-rfc7468-0.7.0 pem-rfc7468@0.7.0
percent-encoding-2.3.0 percent-encoding@2.3.0
pin-project-lite-0.2.13 pin-project-lite@0.2.13
pin-utils-0.1.0 pin-utils@0.1.0
pkcs1-0.7.5 pkcs1@0.7.5
pkcs8-0.10.2 pkcs8@0.10.2
pkg-config-0.3.27 pkg-config@0.3.27
ppv-lite86-0.2.17 ppv-lite86@0.2.17
proc-macro2-1.0.66 proc-macro2@1.0.66
protobuf-3.2.0 protobuf@3.2.0
protobuf-support-3.2.0 protobuf-support@3.2.0
quote-1.0.33 quote@1.0.33
rand-0.8.5 rand@0.8.5
rand_chacha-0.3.1 rand_chacha@0.3.1
rand_core-0.6.4 rand_core@0.6.4
redox_syscall-0.4.1 redox_syscall@0.4.1
regex-1.9.5 regex@1.9.5
regex-automata-0.3.8 regex-automata@0.3.8
regex-syntax-0.7.5 regex-syntax@0.7.5
reqwest-0.11.26 reqwest@0.11.26
rsa-0.9.2 rsa@0.9.2
rustc-demangle-0.1.23 rustc-demangle@0.1.23
rustix-0.38.23 rustix@0.38.23
rustls-pemfile-1.0.4 rustls-pemfile@1.0.4
ryu-1.0.15 ryu@1.0.15
schannel-0.1.22 schannel@0.1.22
security-framework-2.9.2 security-framework@2.9.2
security-framework-sys-2.9.1 security-framework-sys@2.9.1
serde-1.0.188 serde@1.0.188
serde_derive-1.0.188 serde_derive@1.0.188
serde_json-1.0.105 serde_json@1.0.105
serde_urlencoded-0.7.1 serde_urlencoded@0.7.1
sha1-0.10.6 sha1@0.10.6
sha2-0.10.8 sha2@0.10.8
signature-2.1.0 signature@2.1.0
slab-0.4.9 slab@0.4.9
smallvec-1.11.0 smallvec@1.11.0
socket2-0.5.3 socket2@0.5.3
spin-0.5.2 spin@0.5.2
spki-0.7.2 spki@0.7.2
subtle-2.5.0 subtle@2.5.0
syn-1.0.109 syn@1.0.109
syn-2.0.31 syn@2.0.31
sync_wrapper-0.1.2 sync_wrapper@0.1.2
system-configuration-0.5.1 system-configuration@0.5.1
system-configuration-sys-0.5.0 system-configuration-sys@0.5.0
tempfile-3.8.1 tempfile@3.8.1
termcolor-1.2.0 termcolor@1.2.0
thiserror-1.0.48 thiserror@1.0.48
thiserror-impl-1.0.48 thiserror-impl@1.0.48
tinyvec-1.6.0 tinyvec@1.6.0
tinyvec_macros-0.1.1 tinyvec_macros@0.1.1
tokio-1.32.0 tokio@1.32.0
tokio-native-tls-0.3.1 tokio-native-tls@0.3.1
tokio-util-0.7.8 tokio-util@0.7.8
tower-service-0.3.2 tower-service@0.3.2
tracing-0.1.37 tracing@0.1.37
tracing-core-0.1.31 tracing-core@0.1.31
try-lock-0.2.4 try-lock@0.2.4
typenum-1.16.0 typenum@1.16.0
unicode-bidi-0.3.13 unicode-bidi@0.3.13
unicode-ident-1.0.11 unicode-ident@1.0.11
unicode-normalization-0.1.22 unicode-normalization@0.1.22
url-2.4.1 url@2.4.1
uuid-1.8.0 uuid@1.8.0
vcpkg-0.2.15 vcpkg@0.2.15
version_check-0.9.4 version_check@0.9.4
want-0.3.1 want@0.3.1
wasi-0.11.0+wasi-snapshot-preview1 wasi@0.11.0+wasi-snapshot-preview1
wasm-bindgen-0.2.87 wasm-bindgen@0.2.87
wasm-bindgen-backend-0.2.87 wasm-bindgen-backend@0.2.87
wasm-bindgen-futures-0.4.37 wasm-bindgen-futures@0.4.37
wasm-bindgen-macro-0.2.87 wasm-bindgen-macro@0.2.87
wasm-bindgen-macro-support-0.2.87 wasm-bindgen-macro-support@0.2.87
wasm-bindgen-shared-0.2.87 wasm-bindgen-shared@0.2.87
web-sys-0.3.64 web-sys@0.3.64
winapi-0.3.9 winapi@0.3.9
winapi-i686-pc-windows-gnu-0.4.0 winapi-i686-pc-windows-gnu@0.4.0
winapi-util-0.1.5 winapi-util@0.1.5
winapi-x86_64-pc-windows-gnu-0.4.0 winapi-x86_64-pc-windows-gnu@0.4.0
windows-sys-0.48.0 windows-sys@0.48.0
windows-targets-0.48.5 windows-targets@0.48.5
windows_aarch64_gnullvm-0.48.5 windows_aarch64_gnullvm@0.48.5
windows_aarch64_msvc-0.48.5 windows_aarch64_msvc@0.48.5
windows_i686_gnu-0.48.5 windows_i686_gnu@0.48.5
windows_i686_msvc-0.48.5 windows_i686_msvc@0.48.5
windows_x86_64_gnu-0.48.5 windows_x86_64_gnu@0.48.5
windows_x86_64_gnullvm-0.48.5 windows_x86_64_gnullvm@0.48.5
windows_x86_64_msvc-0.48.5 windows_x86_64_msvc@0.48.5
winreg-0.50.0 winreg@0.50.0
xmlparser-0.13.5 xmlparser@0.13.5
zeroize-1.6.0 zeroize@1.6.0
" "
inherit coreos-cargo cros-workon systemd inherit cargo cros-workon
DESCRIPTION="Prototype Omaha Rust implementation" DESCRIPTION="Prototype Omaha Rust implementation"
HOMEPAGE="https://github.com/flatcar/ue-rs" HOMEPAGE="https://github.com/flatcar/ue-rs"
SRC_URI="$(cargo_crate_uris)" SRC_URI="${CARGO_CRATE_URIS}"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
IUSE="test" IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="dev-libs/openssl:0=" DEPEND="dev-libs/openssl:0="
RDEPEND=" RDEPEND="
${DEPEND} ${DEPEND}
" "
BDEPEND=""
src_unpack() { src_unpack() {
cros-workon_src_unpack "$@" cros-workon_src_unpack
coreos-cargo_src_unpack "$@" cargo_src_unpack
} }
src_compile() { src_compile() {
cargo_src_compile $(usex test '' '--bin download_sysext') "$@" cargo_src_compile $(usex test '' '--bin download_sysext')
} }
src_install() { src_install() {
cargo_src_install $(usex test '' '--bin download_sysext') "$@" cargo_src_install $(usex test '' '--bin download_sysext')
} }