From fdf50e2fb01eadca3a46136f757711ccfeac5e92 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 31 Aug 2022 12:25:06 +0200 Subject: app-emacs/twittering-mode: Update to EAPI 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- .../twittering-mode-3.0.0-r1.ebuild | 34 ++++++++++++++++++ .../twittering-mode/twittering-mode-3.0.0.ebuild | 40 ---------------------- .../twittering-mode/twittering-mode-9999.ebuild | 12 ++----- 3 files changed, 37 insertions(+), 49 deletions(-) create mode 100644 app-emacs/twittering-mode/twittering-mode-3.0.0-r1.ebuild delete mode 100644 app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild (limited to 'app-emacs/twittering-mode') diff --git a/app-emacs/twittering-mode/twittering-mode-3.0.0-r1.ebuild b/app-emacs/twittering-mode/twittering-mode-3.0.0-r1.ebuild new file mode 100644 index 000000000000..ed246a376260 --- /dev/null +++ b/app-emacs/twittering-mode/twittering-mode-3.0.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/hayamiz/twittering-mode.git" + inherit git-r3 + IUSE="doc" +else + SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + RESTRICT="test" +fi + +DESCRIPTION="Emacs major mode for Twitter" +HOMEPAGE="http://twmode.sourceforge.net/" + +LICENSE="GPL-2+" +SLOT="0" + +RDEPEND="app-crypt/gnupg" + +src_compile() { + elisp-compile twittering-mode.el + [[ ${PV} == *9999 ]] && use doc && emake -C doc/manual +} + +src_install() { + elisp-install ${PN} twittering-mode.el *.elc + [[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html +} diff --git a/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild b/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild deleted file mode 100644 index 29249a843c01..000000000000 --- a/app-emacs/twittering-mode/twittering-mode-3.0.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit elisp - -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/hayamiz/twittering-mode.git" - inherit git-r3 - IUSE="doc" -else - SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - RESTRICT="test" - IUSE="" -fi - -DESCRIPTION="Emacs major mode for Twitter" -HOMEPAGE="http://twmode.sourceforge.net/" - -LICENSE="GPL-2+" -SLOT="0" - -DEPEND="" -RDEPEND="app-crypt/gnupg" - -src_compile() { - elisp-compile twittering-mode.el - [[ ${PV} == *9999 ]] && use doc && emake -C doc/manual -} - -src_test() { - emake check -} - -src_install() { - [[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html - elisp-install ${PN} twittering-mode.el *.elc -} diff --git a/app-emacs/twittering-mode/twittering-mode-9999.ebuild b/app-emacs/twittering-mode/twittering-mode-9999.ebuild index 29249a843c01..ed246a376260 100644 --- a/app-emacs/twittering-mode/twittering-mode-9999.ebuild +++ b/app-emacs/twittering-mode/twittering-mode-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit elisp @@ -13,7 +13,6 @@ else SRC_URI="mirror://sourceforge/twmode/${P}.tar.gz" KEYWORDS="~amd64 ~x86" RESTRICT="test" - IUSE="" fi DESCRIPTION="Emacs major mode for Twitter" @@ -22,7 +21,6 @@ HOMEPAGE="http://twmode.sourceforge.net/" LICENSE="GPL-2+" SLOT="0" -DEPEND="" RDEPEND="app-crypt/gnupg" src_compile() { @@ -30,11 +28,7 @@ src_compile() { [[ ${PV} == *9999 ]] && use doc && emake -C doc/manual } -src_test() { - emake check -} - src_install() { - [[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html elisp-install ${PN} twittering-mode.el *.elc + [[ ${PV} == *9999 ]] && use doc && dodoc doc/manual/twmode/twmode.html } -- cgit v1.2.3-65-gdbad