commit:     56382f3de98199ce0c4498c75da52af353192814
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 17 09:00:07 2018 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Tue Jul 17 09:00:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56382f3d

app-misc/screenfetch: EAPI 7

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild | 20 ++++++++++----------
 app-misc/screenfetch/screenfetch-9999.ebuild     | 20 ++++++++++----------
 2 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild 
b/app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild
index 673c98a4a09..f2c6bb16d7d 100644
--- a/app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild
+++ b/app-misc/screenfetch/screenfetch-3.8.0-r1.ebuild
@@ -1,13 +1,22 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 MY_PN="${PN/f/F}"
 
 DESCRIPTION="Bash Screenshot Information Tool"
 HOMEPAGE="https://github.com/KittyKatt/screenFetch";
 
+if [[ ${PV} == *9999 ]] ; then
+       EGIT_REPO_URI="${HOMEPAGE}.git"
+       inherit git-r3
+else
+       KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
+       SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
 LICENSE="GPL-3"
 SLOT="0"
 IUSE="curl X"
@@ -20,15 +29,6 @@ RDEPEND="
                x11-apps/xdpyinfo
        )"
 
-if [[ ${PV} == *9999 ]] ; then
-       EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch.git";
-       inherit git-r3
-else
-       KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
-       SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-       S="${WORKDIR}/${MY_PN}-${PV}"
-fi
-
 src_install() {
        newbin ${PN}-dev ${PN}
        einstalldocs

diff --git a/app-misc/screenfetch/screenfetch-9999.ebuild 
b/app-misc/screenfetch/screenfetch-9999.ebuild
index 0c17327b86a..f2c6bb16d7d 100644
--- a/app-misc/screenfetch/screenfetch-9999.ebuild
+++ b/app-misc/screenfetch/screenfetch-9999.ebuild
@@ -1,13 +1,22 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 MY_PN="${PN/f/F}"
 
 DESCRIPTION="Bash Screenshot Information Tool"
 HOMEPAGE="https://github.com/KittyKatt/screenFetch";
 
+if [[ ${PV} == *9999 ]] ; then
+       EGIT_REPO_URI="${HOMEPAGE}.git"
+       inherit git-r3
+else
+       KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
+       SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
 LICENSE="GPL-3"
 SLOT="0"
 IUSE="curl X"
@@ -20,15 +29,6 @@ RDEPEND="
                x11-apps/xdpyinfo
        )"
 
-if [[ ${PV} == *9999 ]] ; then
-       EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch.git";
-       inherit git-r3
-else
-       KEYWORDS="~amd64 ~x86 ~x64-macos"
-       SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-       S="${WORKDIR}/${MY_PN}-${PV}"
-fi
-
 src_install() {
        newbin ${PN}-dev ${PN}
        einstalldocs

Reply via email to