app-admin/updateservicectl: 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 16:48:29 +00:00
parent e20526b040
commit dd0079be98
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
3 changed files with 14 additions and 16 deletions

View File

@ -0,0 +1 @@
DIST updateservicectl-bfcb21e4c5ef7077231ef1d879c867f1655da09a.tar.gz 109928 BLAKE2B a9757d3ddd2430e99097ce588ece0bfd807b1af8a7fa5db23e5ce0941cd27c1e976ed22c98ee18c3b15f9cef61eb52d918c1861566897b7f6290222e0ce1b881 SHA512 2e8eaebf706e2513b34b629071f58bcdf1d01749f866b2a5e089fa8c57195c63f800fd6882b5e29c5242d12114fbe8e5553a0d404e1552b893b93c941c516f56

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/updateservicectl</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,30 +1,24 @@
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_REPO_URI="https://github.com/flatcar/updateservicectl.git"
EAPI=8
COREOS_GO_PACKAGE="github.com/flatcar/updateservicectl"
COREOS_GO_GO111MODULE="on"
inherit git-r3 coreos-go
inherit coreos-go
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm64"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/flatcar/updateservicectl.git"
inherit git-r3
else
EGIT_COMMIT="446f13594465503a3fdfc9106fd8a0c3123249c2" # main
EGIT_VERSION="bfcb21e4c5ef7077231ef1d879c867f1655da09a" # main
SRC_URI="https://github.com/flatcar/updateservicectl/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_VERSION}"
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="CoreUpdate Management CLI"
DESCRIPTION="Flatcar Container Linux update service CLI"
HOMEPAGE="https://github.com/flatcar/updateservicectl"
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RDEPEND="!app-admin/updatectl"
src_prepare() {
coreos-go_src_prepare
GOPATH+=":${S}/Godeps/_workspace"
}