1 |
commit: c2b149ffbbe5a90b1b297b4f5bec8f56355545a2 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 22 23:14:04 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 22 23:23:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b149ff |
7 |
|
8 |
app-misc/smtm: update EAPI 5 -> 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/826434 |
11 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
12 |
|
13 |
app-misc/smtm/smtm-1.6.10-r1.ebuild | 32 -------------------------------- |
14 |
app-misc/smtm/smtm-1.6.10-r2.ebuild | 29 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 29 insertions(+), 32 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/smtm/smtm-1.6.10-r1.ebuild b/app-misc/smtm/smtm-1.6.10-r1.ebuild |
18 |
deleted file mode 100644 |
19 |
index c309b8092b42..000000000000 |
20 |
--- a/app-misc/smtm/smtm-1.6.10-r1.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,32 +0,0 @@ |
23 |
-# Copyright 1999-2016 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=5 |
27 |
- |
28 |
-inherit perl-module |
29 |
- |
30 |
-DESCRIPTION="Stock ticker, profit/loss calculator and chart tool" |
31 |
-HOMEPAGE="http://eddelbuettel.com/dirk/code/smtm.html" |
32 |
-SRC_URI="http://eddelbuettel.com/dirk/code/smtm/smtm_${PV}.tar.gz" |
33 |
- |
34 |
-LICENSE="GPL-2" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="amd64 ppc x86" |
37 |
-# This warrants USE examples |
38 |
-IUSE="" |
39 |
- |
40 |
-DEPEND="dev-perl/Tk |
41 |
- dev-perl/Date-Manip |
42 |
- dev-perl/HTML-Parser |
43 |
- dev-perl/Finance-YahooQuote |
44 |
- dev-perl/libwww-perl" |
45 |
- |
46 |
-SRC_TEST="do parallel" |
47 |
- |
48 |
-src_install() { |
49 |
- perl-module_src_install |
50 |
- # install examples into own folder for now |
51 |
- docompress -x usr/share/doc/${PF}/examples |
52 |
- insinto usr/share/doc/${PF}/examples |
53 |
- doins examples/* |
54 |
-} |
55 |
|
56 |
diff --git a/app-misc/smtm/smtm-1.6.10-r2.ebuild b/app-misc/smtm/smtm-1.6.10-r2.ebuild |
57 |
new file mode 100644 |
58 |
index 000000000000..66fe3e299677 |
59 |
--- /dev/null |
60 |
+++ b/app-misc/smtm/smtm-1.6.10-r2.ebuild |
61 |
@@ -0,0 +1,29 @@ |
62 |
+# Copyright 1999-2021 Gentoo Authors |
63 |
+# Distributed under the terms of the GNU General Public License v2 |
64 |
+ |
65 |
+EAPI=8 |
66 |
+ |
67 |
+inherit perl-module |
68 |
+ |
69 |
+DESCRIPTION="Stock ticker, profit/loss calculator and chart tool" |
70 |
+HOMEPAGE="https://eddelbuettel.com/dirk/code/smtm.html" |
71 |
+SRC_URI="https://eddelbuettel.com/dirk/code/${PN}/${PN}_${PV}.tar.gz" |
72 |
+ |
73 |
+LICENSE="GPL-2" |
74 |
+SLOT="0" |
75 |
+KEYWORDS="~amd64 ~ppc ~x86" |
76 |
+IUSE="examples" |
77 |
+ |
78 |
+DEPEND="dev-perl/Tk |
79 |
+ dev-perl/Date-Manip |
80 |
+ dev-perl/HTML-Parser |
81 |
+ dev-perl/Finance-YahooQuote |
82 |
+ dev-perl/libwww-perl" |
83 |
+ |
84 |
+src_install() { |
85 |
+ perl-module_src_install |
86 |
+ if use examples; then |
87 |
+ docompress -x usr/share/doc/${PF}/examples |
88 |
+ dodoc -r examples |
89 |
+ fi |
90 |
+} |