From ccca2b9ebcabf52967df6d438e280e5c62497afb Mon Sep 17 00:00:00 2001 From: Matthias Coppens Date: Mon, 29 Jun 2020 22:14:09 +0200 Subject: [PATCH] gui-apps/wofi: All versions have live ebuilds now Upstream timestamps their tarballs, which makes it impossible to validate them. This is why every ebuild is now a live ebuild. Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Matthias Coppens --- gui-apps/wofi/wofi-1.1.1.ebuild | 11 ++++++----- gui-apps/wofi/wofi-1.1.2.ebuild | 11 ++++++----- gui-apps/wofi/wofi-9999.ebuild | 9 +++++---- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/gui-apps/wofi/wofi-1.1.1.ebuild b/gui-apps/wofi/wofi-1.1.1.ebuild index 791e0d6fca..7f527dae0f 100644 --- a/gui-apps/wofi/wofi-1.1.1.ebuild +++ b/gui-apps/wofi/wofi-1.1.1.ebuild @@ -3,20 +3,21 @@ EAPI=7 +# Upstream's tarballs are timestamped (https://todo.sr.ht/~sircmpwn/hg.sr.ht/33). +# This makes them impossible to validate, so every version has a live ebuild. + EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}" +inherit meson mercurial case "${PV}" in "9999") - inherit mercurial ;; *) - SRC_URI="${EHG_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-v${PV}" + EHG_REVISION="v${PV}" esac -inherit meson DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway" HOMEPAGE="${EHG_REPO_URI}" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="" diff --git a/gui-apps/wofi/wofi-1.1.2.ebuild b/gui-apps/wofi/wofi-1.1.2.ebuild index 791e0d6fca..7f527dae0f 100644 --- a/gui-apps/wofi/wofi-1.1.2.ebuild +++ b/gui-apps/wofi/wofi-1.1.2.ebuild @@ -3,20 +3,21 @@ EAPI=7 +# Upstream's tarballs are timestamped (https://todo.sr.ht/~sircmpwn/hg.sr.ht/33). +# This makes them impossible to validate, so every version has a live ebuild. + EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}" +inherit meson mercurial case "${PV}" in "9999") - inherit mercurial ;; *) - SRC_URI="${EHG_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-v${PV}" + EHG_REVISION="v${PV}" esac -inherit meson DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway" HOMEPAGE="${EHG_REPO_URI}" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="" diff --git a/gui-apps/wofi/wofi-9999.ebuild b/gui-apps/wofi/wofi-9999.ebuild index d9a1fc7dc7..7f527dae0f 100644 --- a/gui-apps/wofi/wofi-9999.ebuild +++ b/gui-apps/wofi/wofi-9999.ebuild @@ -3,16 +3,17 @@ EAPI=7 +# Upstream's tarballs are timestamped (https://todo.sr.ht/~sircmpwn/hg.sr.ht/33). +# This makes them impossible to validate, so every version has a live ebuild. + EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}" +inherit meson mercurial case "${PV}" in "9999") - inherit mercurial ;; *) - SRC_URI="${EHG_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-v${PV}" + EHG_REVISION="v${PV}" esac -inherit meson DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway" HOMEPAGE="${EHG_REPO_URI}"