coreos-base/emerge-gitclone: Migrate versioned ebuild from git eclass

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2025-12-22 12:05:50 +00:00
parent bc2c363fe3
commit 2dbcb5c52e
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
3 changed files with 23 additions and 15 deletions

View File

@ -0,0 +1 @@
DIST emerge-gitclone-00396595376d8d6a3c4b9251ba94e9de2d7a9e39.tar.gz 6960 BLAKE2B 0bda7245832ee9355441167a320829d4788def8b82fe81d1bc605858112acc3f4a04a236592f094c67f945b84dd4ff4dc3f613d180a7f95fbdcf2211cfce9726 SHA512 99c66386c183f9821144c155c95e41ee8e99d8c0f9772efb80d652b059ac9c76b09cce060d157524827fffe1c52a107ca68676dc7803f334ed06d3446bfdecef

View File

@ -1,31 +1,35 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_REPO_URI="https://github.com/flatcar/flatcar-dev-util.git"
EAPI=8
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
PYTHON_COMPAT=( python3_{6..11} )
inherit python-single-r1
DESCRIPTION="emerge utilities for Flatcar developer images"
HOMEPAGE="https://github.com/flatcar/flatcar-dev-util"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/flatcar/flatcar-dev-util.git"
inherit git-r3
else
EGIT_COMMIT="00396595376d8d6a3c4b9251ba94e9de2d7a9e39" # flatcar-master
EGIT_VERSION="00396595376d8d6a3c4b9251ba94e9de2d7a9e39" # flatcar-master
SRC_URI="https://github.com/flatcar/flatcar-dev-util/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz"
S="${WORKDIR}/flatcar-dev-util-${EGIT_VERSION}"
KEYWORDS="amd64 arm arm64 x86"
fi
PYTHON_COMPAT=( python3_{6..11} )
inherit git-r3 python-single-r1
DESCRIPTION="emerge utilities for Flatcar developer images"
HOMEPAGE="https://github.com/flatcar/flatcar-dev-util/"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="sys-apps/portage"
RDEPEND="
${PYTHON_DEPS}
sys-apps/portage
"
src_compile() {
echo "Nothing to compile"
:
}
src_install() {

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/flatcar-dev-util</remote-id>
</upstream>
</pkgmetadata>