mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
app-emulation/google-compute-engine: EAPI 8, fix pkgcheck, use eclass
I can't find any evidence that this actually uses setuptools at runtime. Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
3d544fe172
commit
d3a90670c8
@ -1 +1 @@
|
||||
DIST 20190124.tar.gz 126211 BLAKE2B 7608ec8370f9c1aa1da4cf0f0ec20ff86ef07846bdcb6aabac6de441326a78e98b559502b11ee4028065eb8056f9ee6c2f3247e26485e8c9af70892d955236f7 SHA512 8f12c2a361ebd833b0eb3fa6ef26f42a82b4ef6497d8e5231eeaaf5b2e6dd1662ec596e1bbad73e06207ac29e098863311538c360c62efe9fd5cc9b58d1b8ad4
|
||||
DIST google-compute-engine-20190124.tar.gz 126211 BLAKE2B 7608ec8370f9c1aa1da4cf0f0ec20ff86ef07846bdcb6aabac6de441326a78e98b559502b11ee4028065eb8056f9ee6c2f3247e26485e8c9af70892d955236f7 SHA512 8f12c2a361ebd833b0eb3fa6ef26f42a82b4ef6497d8e5231eeaaf5b2e6dd1662ec596e1bbad73e06207ac29e098863311538c360c62efe9fd5cc9b58d1b8ad4
|
||||
|
@ -1,27 +1,26 @@
|
||||
# Copyright (c) 2016-2018 CoreOS, Inc. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=8
|
||||
|
||||
inherit eutils
|
||||
PYTHON_COMPAT=( python3_11 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Linux Guest Environment for Google Compute Engine"
|
||||
HOMEPAGE="https://github.com/GoogleCloudPlatform/compute-image-packages"
|
||||
SRC_URI="https://github.com/GoogleCloudPlatform/compute-image-packages/archive/${PV}.tar.gz"
|
||||
|
||||
SRC_URI="https://github.com/GoogleCloudPlatform/compute-image-packages/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/compute-image-packages-${PV}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
# These dependencies cover all commands called by the scripts.
|
||||
RDEPEND="
|
||||
app-admin/sudo
|
||||
dev-python/boto
|
||||
dev-python/distro
|
||||
dev-python/setuptools
|
||||
dev-python/boto[${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
sys-apps/ethtool
|
||||
sys-apps/coreutils
|
||||
sys-apps/gawk
|
||||
@ -29,13 +28,3 @@ RDEPEND="
|
||||
sys-apps/iproute2
|
||||
sys-apps/shadow
|
||||
"
|
||||
|
||||
S="${WORKDIR}/compute-image-packages-${PV}"
|
||||
|
||||
src_compile() {
|
||||
(cd "${S}" && exec python3 setup.py build)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
(cd "${S}" && exec python3 setup.py install -O1 --skip-build --root "${D}")
|
||||
}
|
@ -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">GoogleCloudPlatform/compute-image-packages</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user