summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-11-23 00:14:04 +0100
committerMarek Szuba <marecki@gentoo.org>2021-11-23 00:23:13 +0100
commitc2b149ffbbe5a90b1b297b4f5bec8f56355545a2 (patch)
tree0025e9d7e19f790888b808cf9239439f0367d385 /app-misc/smtm
parentapp-emulation/fs-uae-launcher: Keyword 3.1.43 for ~ppc64 (diff)
downloadgentoo-c2b149ffbbe5a90b1b297b4f5bec8f56355545a2.tar.gz
gentoo-c2b149ffbbe5a90b1b297b4f5bec8f56355545a2.tar.bz2
gentoo-c2b149ffbbe5a90b1b297b4f5bec8f56355545a2.zip
app-misc/smtm: update EAPI 5 -> 8
Closes: https://bugs.gentoo.org/826434 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-misc/smtm')
-rw-r--r--app-misc/smtm/smtm-1.6.10-r1.ebuild32
-rw-r--r--app-misc/smtm/smtm-1.6.10-r2.ebuild29
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
+}