commit:     0f3630bc76d444c3480f1c9e17f3c201b183afc2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 14:04:03 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 14:42:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f3630bc

app-emacs/twittering-mode: [QA] Port to git-r3

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild | 12 +++++-------
 app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild | 12 +++++-------
 app-emacs/twittering-mode/twittering-mode-9999.ebuild  | 12 +++++-------
 3 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild 
b/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild
index b858dc10fc4..1e802fc217f 100644
--- a/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild
+++ b/app-emacs/twittering-mode/twittering-mode-2.0.0.ebuild
@@ -1,15 +1,13 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 inherit elisp elisp-common eutils
 
-if [ "${PV}" = "9999" ]; then
+if [[ ${PV} == *9999 ]]; then
        EGIT_REPO_URI="https://github.com/hayamiz/twittering-mode.git";
-       inherit git-2
-       SRC_URI=""
-       KEYWORDS=""
+       inherit git-r3
        IUSE="doc"
 else
        SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
@@ -29,7 +27,7 @@ RDEPEND="app-crypt/gnupg"
 
 src_compile() {
        elisp-compile twittering-mode.el || die
-       [ "${PV}" = "9999" ] && use doc && emake -C doc/manual
+       [[ ${PV} == *9999 ]] && use doc && emake -C doc/manual
 }
 
 src_test() {
@@ -37,6 +35,6 @@ src_test() {
 }
 
 src_install() {
-       [ "${PV}" = "9999" ] && use doc && dodoc doc/manual/twmode/twmode.html
+       [[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html
        elisp-install ${PN} twittering-mode.el *.elc || die
 }

diff --git a/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild 
b/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild
index b858dc10fc4..1e802fc217f 100644
--- a/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild
+++ b/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild
@@ -1,15 +1,13 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 inherit elisp elisp-common eutils
 
-if [ "${PV}" = "9999" ]; then
+if [[ ${PV} == *9999 ]]; then
        EGIT_REPO_URI="https://github.com/hayamiz/twittering-mode.git";
-       inherit git-2
-       SRC_URI=""
-       KEYWORDS=""
+       inherit git-r3
        IUSE="doc"
 else
        SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
@@ -29,7 +27,7 @@ RDEPEND="app-crypt/gnupg"
 
 src_compile() {
        elisp-compile twittering-mode.el || die
-       [ "${PV}" = "9999" ] && use doc && emake -C doc/manual
+       [[ ${PV} == *9999 ]] && use doc && emake -C doc/manual
 }
 
 src_test() {
@@ -37,6 +35,6 @@ src_test() {
 }
 
 src_install() {
-       [ "${PV}" = "9999" ] && use doc && dodoc doc/manual/twmode/twmode.html
+       [[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html
        elisp-install ${PN} twittering-mode.el *.elc || die
 }

diff --git a/app-emacs/twittering-mode/twittering-mode-9999.ebuild 
b/app-emacs/twittering-mode/twittering-mode-9999.ebuild
index b858dc10fc4..1e802fc217f 100644
--- a/app-emacs/twittering-mode/twittering-mode-9999.ebuild
+++ b/app-emacs/twittering-mode/twittering-mode-9999.ebuild
@@ -1,15 +1,13 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 inherit elisp elisp-common eutils
 
-if [ "${PV}" = "9999" ]; then
+if [[ ${PV} == *9999 ]]; then
        EGIT_REPO_URI="https://github.com/hayamiz/twittering-mode.git";
-       inherit git-2
-       SRC_URI=""
-       KEYWORDS=""
+       inherit git-r3
        IUSE="doc"
 else
        SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz"
@@ -29,7 +27,7 @@ RDEPEND="app-crypt/gnupg"
 
 src_compile() {
        elisp-compile twittering-mode.el || die
-       [ "${PV}" = "9999" ] && use doc && emake -C doc/manual
+       [[ ${PV} == *9999 ]] && use doc && emake -C doc/manual
 }
 
 src_test() {
@@ -37,6 +35,6 @@ src_test() {
 }
 
 src_install() {
-       [ "${PV}" = "9999" ] && use doc && dodoc doc/manual/twmode/twmode.html
+       [[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html
        elisp-install ${PN} twittering-mode.el *.elc || die
 }

Reply via email to