commit:     2d0e9425e64ddb4b46765e31dc7ae1ce17817d3d
Author:     Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
AuthorDate: Thu Dec 17 14:25:48 2020 +0000
Commit:     Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
CommitDate: Thu Dec 17 14:35:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d0e9425

gui-apps/wofi: Use stable tarballs

Upstream fixed their tarballs, now they're stable

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Matthias Coppens <coppens.matthias.abc <AT> gmail.com>

 gui-apps/wofi/Manifest          |  3 +++
 gui-apps/wofi/wofi-1.2.1.ebuild | 23 ++++++++++++-----------
 gui-apps/wofi/wofi-1.2.2.ebuild | 23 ++++++++++++-----------
 gui-apps/wofi/wofi-1.2.3.ebuild | 23 ++++++++++++-----------
 gui-apps/wofi/wofi-9999.ebuild  | 23 ++++++++++++-----------
 5 files changed, 51 insertions(+), 44 deletions(-)

diff --git a/gui-apps/wofi/Manifest b/gui-apps/wofi/Manifest
new file mode 100644
index 00000000..b45bcfbe
--- /dev/null
+++ b/gui-apps/wofi/Manifest
@@ -0,0 +1,3 @@
+DIST v1.2.1.tar.gz 71338 BLAKE2B 
0c1e4800ab669c9f73b33a751ba116a9f45eade6c2ae3211e65be39f1961b34a51412700f98f7ea77a1bac38d9dcd02c7406e5f46b684980a223e8d638aeb0ad
 SHA512 
b16ffcd83fdaa0029c3a32b08202a31b7ebe29dc0b1ac0cd95b6f7079f4b612db475fbba8751fdf682aeb30acc502f8985289f6b763a44ded3c8b0c0c26afcc7
+DIST v1.2.2.tar.gz 71374 BLAKE2B 
b395c789159685359696078443f3952fd2f164dc8290ed15b6e76e3020446ccbedceb1b433d7b23accc99a21d4225fa91b9e2432c109ed276d1e465c73a30871
 SHA512 
24bf7dcce439450716edc374db8a1f41f86873305f081f880b60d0220370c777c9e585875c74b26aba4b9ba22e683832cb3898b99a7b98c75bfec2d7253b081c
+DIST v1.2.3.tar.gz 71425 BLAKE2B 
88f6911b6fb5cb4a3fcbd6f79e004ceaed1f36b0b236c4ddbd2ef42a6b7eab0319477a5eaa5a7c5935e44793e76e0346455718cec93ca457dfd9ffb76172c21e
 SHA512 
613df12ff3da401d8ca661937cb7a8403ef23ceec328cf45e91b9da8ff6e64f4f669e7052b71c30f4560c975937c18d8912ee55a60bd32ace7498357ab0a8d5a

diff --git a/gui-apps/wofi/wofi-1.2.1.ebuild b/gui-apps/wofi/wofi-1.2.1.ebuild
index ea0789e8..7e60d284 100644
--- a/gui-apps/wofi/wofi-1.2.1.ebuild
+++ b/gui-apps/wofi/wofi-1.2.1.ebuild
@@ -6,17 +6,19 @@ 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")
-               ;;
-       *)
-               EHG_REVISION="v${PV}"
-esac
+inherit meson
+if [ "${PV}" = 9999 ]
+then
+       inherit mercurial
+       EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}";
+else
+       SRC_URI="https://hg.sr.ht/~scoopta/wofi/archive/v${PV}.tar.gz";
+       S="${WORKDIR}/${PN}-v${PV}"
+       KEYWORDS="~amd64"
+fi
 
 DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland 
compositors like sway"
-HOMEPAGE="${EHG_REPO_URI}"
+HOMEPAGE="https://hg.sr.ht/~scoopta/wofi";
 LICENSE="GPL-3"
 
 DEPEND="
@@ -25,7 +27,6 @@ DEPEND="
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-RESTRICT="test"
+RESTRICT="test mirror"
 
 SLOT="0"
-KEYWORDS=""

diff --git a/gui-apps/wofi/wofi-1.2.2.ebuild b/gui-apps/wofi/wofi-1.2.2.ebuild
index ea0789e8..7e60d284 100644
--- a/gui-apps/wofi/wofi-1.2.2.ebuild
+++ b/gui-apps/wofi/wofi-1.2.2.ebuild
@@ -6,17 +6,19 @@ 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")
-               ;;
-       *)
-               EHG_REVISION="v${PV}"
-esac
+inherit meson
+if [ "${PV}" = 9999 ]
+then
+       inherit mercurial
+       EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}";
+else
+       SRC_URI="https://hg.sr.ht/~scoopta/wofi/archive/v${PV}.tar.gz";
+       S="${WORKDIR}/${PN}-v${PV}"
+       KEYWORDS="~amd64"
+fi
 
 DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland 
compositors like sway"
-HOMEPAGE="${EHG_REPO_URI}"
+HOMEPAGE="https://hg.sr.ht/~scoopta/wofi";
 LICENSE="GPL-3"
 
 DEPEND="
@@ -25,7 +27,6 @@ DEPEND="
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-RESTRICT="test"
+RESTRICT="test mirror"
 
 SLOT="0"
-KEYWORDS=""

diff --git a/gui-apps/wofi/wofi-1.2.3.ebuild b/gui-apps/wofi/wofi-1.2.3.ebuild
index ea0789e8..7e60d284 100644
--- a/gui-apps/wofi/wofi-1.2.3.ebuild
+++ b/gui-apps/wofi/wofi-1.2.3.ebuild
@@ -6,17 +6,19 @@ 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")
-               ;;
-       *)
-               EHG_REVISION="v${PV}"
-esac
+inherit meson
+if [ "${PV}" = 9999 ]
+then
+       inherit mercurial
+       EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}";
+else
+       SRC_URI="https://hg.sr.ht/~scoopta/wofi/archive/v${PV}.tar.gz";
+       S="${WORKDIR}/${PN}-v${PV}"
+       KEYWORDS="~amd64"
+fi
 
 DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland 
compositors like sway"
-HOMEPAGE="${EHG_REPO_URI}"
+HOMEPAGE="https://hg.sr.ht/~scoopta/wofi";
 LICENSE="GPL-3"
 
 DEPEND="
@@ -25,7 +27,6 @@ DEPEND="
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-RESTRICT="test"
+RESTRICT="test mirror"
 
 SLOT="0"
-KEYWORDS=""

diff --git a/gui-apps/wofi/wofi-9999.ebuild b/gui-apps/wofi/wofi-9999.ebuild
index ea0789e8..7e60d284 100644
--- a/gui-apps/wofi/wofi-9999.ebuild
+++ b/gui-apps/wofi/wofi-9999.ebuild
@@ -6,17 +6,19 @@ 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")
-               ;;
-       *)
-               EHG_REVISION="v${PV}"
-esac
+inherit meson
+if [ "${PV}" = 9999 ]
+then
+       inherit mercurial
+       EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}";
+else
+       SRC_URI="https://hg.sr.ht/~scoopta/wofi/archive/v${PV}.tar.gz";
+       S="${WORKDIR}/${PN}-v${PV}"
+       KEYWORDS="~amd64"
+fi
 
 DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland 
compositors like sway"
-HOMEPAGE="${EHG_REPO_URI}"
+HOMEPAGE="https://hg.sr.ht/~scoopta/wofi";
 LICENSE="GPL-3"
 
 DEPEND="
@@ -25,7 +27,6 @@ DEPEND="
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
-RESTRICT="test"
+RESTRICT="test mirror"
 
 SLOT="0"
-KEYWORDS=""

Reply via email to