commit:     ccca2b9ebcabf52967df6d438e280e5c62497afb
Author:     Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
AuthorDate: Mon Jun 29 20:14:09 2020 +0000
Commit:     Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
CommitDate: Mon Jun 29 20:16:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ccca2b9e

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 <coppens.matthias.abc <AT> gmail.com>

 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 791e0d6..7f527da 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 791e0d6..7f527da 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 d9a1fc7..7f527da 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}"

Reply via email to