sys-apps/seismograph: Migrate versioned ebuild away from git eclass

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

View File

@ -0,0 +1 @@
DIST seismograph-231f8b31c576133f75151d34cb90890bfaf15ebe.tar.gz 87054 BLAKE2B 921741f471abe0af3097f2d8ae25dfc9f5d09215861a43cdf4dbb8380c1ba3a4520ba233943afd392e84e0b203feb3189aa1ee000071176a9963eee7cb00c94f SHA512 efc59ddf8351567c08b19a6b4b6f6984f49e05fc8d2b494e37cee67f9692680497271b5aa8ab265012d368dae0b8b69959f200d648aa6b296aa70ab689bb62e4

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

View File

@ -1,28 +1,36 @@
# Copyright (c) 2015 The CoreOS 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/seismograph.git"
EAPI=8
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
inherit autotools
DESCRIPTION="Flatcar Disk Utilities (e.g. cgpt)"
HOMEPAGE="https://github.com/flatcar/seismograph"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/flatcar/seismograph.git"
inherit git-r3
else
EGIT_COMMIT="231f8b31c576133f75151d34cb90890bfaf15ebe" # main
EGIT_VERSION="231f8b31c576133f75151d34cb90890bfaf15ebe" # main
SRC_URI="https://github.com/flatcar/seismograph/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_VERSION}"
KEYWORDS="amd64 arm arm64 x86"
fi
inherit autotools git-r3
DESCRIPTION="CoreOS Disk Utilities (e.g. cgpt)"
LICENSE="BSD"
SLOT="0"
IUSE=""
RDEPEND="
sys-apps/util-linux
sys-fs/e2fsprogs
"
DEPEND="${RDEPEND}"
DEPEND="
${RDEPEND}
"
BDEPEND="
virtual/pkgconfig
"
src_prepare() {
default