coreos-base/afterburn: Bump EAPI to 8

EAPI 6 is too old for cargo eclass that gets inherited through
coreos-cargo.
This commit is contained in:
Krzesimir Nowak 2022-03-11 09:59:54 +01:00
parent 5eccaeb306
commit ab735a5df4
2 changed files with 10 additions and 9 deletions

View File

@ -1,7 +1,7 @@
# Copyright (c) 2017 CoreOS, Inc.. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
CROS_WORKON_PROJECT="flatcar-linux/afterburn"
CROS_WORKON_LOCALNAME="afterburn"
@ -14,14 +14,6 @@ else
KEYWORDS="amd64 arm64"
fi
inherit coreos-cargo cros-workon systemd
DESCRIPTION="A tool for collecting instance metadata from various providers"
HOMEPAGE="https://github.com/flatcar-linux/afterburn"
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="!coreos-base/coreos-metadata"
# sed -n 's/^"checksum \([^ ]*\) \([^ ]*\) .*/\1-\2/p' Cargo.lock
CRATES="
adler32-1.0.3
@ -234,8 +226,17 @@ ws2_32-sys-0.2.1
xml-rs-0.3.6
"
inherit coreos-cargo cros-workon systemd
DESCRIPTION="A tool for collecting instance metadata from various providers"
HOMEPAGE="https://github.com/flatcar-linux/afterburn"
SRC_URI="$(cargo_crate_uris ${CRATES})"
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="!coreos-base/coreos-metadata"
src_unpack() {
cros-workon_src_unpack "$@"
coreos-cargo_src_unpack "$@"