commit:     c2b149ffbbe5a90b1b297b4f5bec8f56355545a2
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 22 23:14:04 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Nov 22 23:23:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b149ff

app-misc/smtm: update EAPI 5 -> 8

Closes: https://bugs.gentoo.org/826434
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 app-misc/smtm/smtm-1.6.10-r1.ebuild | 32 --------------------------------
 app-misc/smtm/smtm-1.6.10-r2.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 32 deletions(-)

diff --git a/app-misc/smtm/smtm-1.6.10-r1.ebuild 
b/app-misc/smtm/smtm-1.6.10-r1.ebuild
deleted file mode 100644
index c309b8092b42..000000000000
--- a/app-misc/smtm/smtm-1.6.10-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit perl-module
-
-DESCRIPTION="Stock ticker, profit/loss calculator and chart tool"
-HOMEPAGE="http://eddelbuettel.com/dirk/code/smtm.html";
-SRC_URI="http://eddelbuettel.com/dirk/code/smtm/smtm_${PV}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-# This warrants USE examples
-IUSE=""
-
-DEPEND="dev-perl/Tk
-       dev-perl/Date-Manip
-       dev-perl/HTML-Parser
-       dev-perl/Finance-YahooQuote
-       dev-perl/libwww-perl"
-
-SRC_TEST="do parallel"
-
-src_install() {
-       perl-module_src_install
-       # install examples into own folder for now
-       docompress -x usr/share/doc/${PF}/examples
-       insinto usr/share/doc/${PF}/examples
-       doins examples/*
-}

diff --git a/app-misc/smtm/smtm-1.6.10-r2.ebuild 
b/app-misc/smtm/smtm-1.6.10-r2.ebuild
new file mode 100644
index 000000000000..66fe3e299677
--- /dev/null
+++ b/app-misc/smtm/smtm-1.6.10-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit perl-module
+
+DESCRIPTION="Stock ticker, profit/loss calculator and chart tool"
+HOMEPAGE="https://eddelbuettel.com/dirk/code/smtm.html";
+SRC_URI="https://eddelbuettel.com/dirk/code/${PN}/${PN}_${PV}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="examples"
+
+DEPEND="dev-perl/Tk
+       dev-perl/Date-Manip
+       dev-perl/HTML-Parser
+       dev-perl/Finance-YahooQuote
+       dev-perl/libwww-perl"
+
+src_install() {
+       perl-module_src_install
+       if use examples; then
+               docompress -x usr/share/doc/${PF}/examples
+               dodoc -r examples
+       fi
+}

Reply via email to