Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/devtodo/, app-misc/klavaro/, app-misc/devtodo/files/
Date: Thu, 11 Feb 2021 03:04:29
Message-Id: 1613011791.eee598673c7af3dcb75c673f87e60ccc21985ee9.sam@gentoo
1 commit: eee598673c7af3dcb75c673f87e60ccc21985ee9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 11 02:46:21 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 11 02:49:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee59867
7
8 app-misc/devtodo: port to EAPI 7
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-misc/devtodo/devtodo-0.1.20-r3.ebuild | 21 ++++++++---------
14 .../files/devtodo-0.1.20-bashcom_spaces.patch | 5 -----
15 app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch | 4 ++--
16 app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff | 26 +++++++++++-----------
17 app-misc/klavaro/Manifest | 1 +
18 5 files changed, 27 insertions(+), 30 deletions(-)
19
20 diff --git a/app-misc/devtodo/devtodo-0.1.20-r3.ebuild b/app-misc/devtodo/devtodo-0.1.20-r3.ebuild
21 index 8e8653c6250..9c52eec150d 100644
22 --- a/app-misc/devtodo/devtodo-0.1.20-r3.ebuild
23 +++ b/app-misc/devtodo/devtodo-0.1.20-r3.ebuild
24 @@ -1,12 +1,9 @@
25 -# Copyright 1999-2020 Gentoo Authors
26 +# Copyright 1999-2021 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 -EAPI=5
30 +EAPI=7
31
32 -AUTOTOOLS_AUTORECONF=1
33 -AUTOTOOLS_IN_SOURCE_BUILD=1
34 -
35 -inherit autotools-utils bash-completion-r1 eutils flag-o-matic toolchain-funcs
36 +inherit autotools bash-completion-r1 flag-o-matic
37
38 DESCRIPTION="A nice command line todo list for developers"
39 HOMEPAGE="http://swapoff.org/DevTodo"
40 @@ -15,7 +12,6 @@ SRC_URI="http://swapoff.org/files/${PN}/${P}.tar.gz"
41 LICENSE="GPL-2"
42 SLOT="0"
43 KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
44 -IUSE=""
45
46 RDEPEND="
47 >=sys-libs/ncurses-5.2:0=
48 @@ -31,6 +27,10 @@ PATCHES=(
49 )
50
51 src_prepare() {
52 + default
53 +
54 + mv configure.{in,ac} || die
55 +
56 # fix regex.h issue on case-insensitive file-systems #332235
57 sed \
58 -e 's/Regex.h/DTRegex.h/' \
59 @@ -41,7 +41,7 @@ src_prepare() {
60 -e "/^LIBS/s:$: $($(tc-getPKG_CONFIG) --libs ncursesw):g" \
61 -i src/Makefile.am || die
62
63 - autotools-utils_src_prepare
64 + eautoreconf
65 }
66
67 src_configure() {
68 @@ -50,11 +50,12 @@ src_configure() {
69 local myeconfargs=(
70 --sysconfdir="${EPREFIX}/etc/devtodo"
71 )
72 - autotools-utils_src_configure
73 +
74 + econf "${myeconfargs[@]}"
75 }
76
77 src_install() {
78 - autotools-utils_src_install
79 + default
80
81 newbashcomp contrib/${PN}.bash-completion ${PN}
82 rm contrib/${PN}.bash-completion || die 'rm failed'
83
84 diff --git a/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch b/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch
85 index 8567ab4b056..6fd38a07721 100644
86 --- a/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch
87 +++ b/app-misc/devtodo/files/devtodo-0.1.20-bashcom_spaces.patch
88 @@ -1,8 +1,3 @@
89 - contrib/devtodo.bash-completion | 8 ++++----
90 - 1 file changed, 4 insertions(+), 4 deletions(-)
91 -
92 -diff --git a/contrib/devtodo.bash-completion b/contrib/devtodo.bash-completion
93 -index 07139b0..c058dad 100644
94 --- a/contrib/devtodo.bash-completion
95 +++ b/contrib/devtodo.bash-completion
96 @@ -15,20 +15,20 @@ _devtodo() {
97
98 diff --git a/app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch b/app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch
99 index f9f92054580..cc388953fbb 100644
100 --- a/app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch
101 +++ b/app-misc/devtodo/files/devtodo-0.1.20-gcc43.patch
102 @@ -1,5 +1,5 @@
103 ---- devtodo-0.1.20.orig/src/todoterm.cc
104 -+++ devtodo-0.1.20/src/todoterm.cc
105 +--- a/src/todoterm.cc
106 ++++ b/src/todoterm.cc
107 @@ -2,6 +2,7 @@
108 #include "todoterm.h"
109
110
111 diff --git a/app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff b/app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff
112 index 05c36a31880..5be7bdca9c8 100644
113 --- a/app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff
114 +++ b/app-misc/devtodo/files/devtodo-0.1.20-gentoo.diff
115 @@ -1,5 +1,5 @@
116 ---- devtodo-0.1.20.orig/doc/devtodo.1.in 2004-12-17 10:21:09.135350872 -0500
117 -+++ devtodo-0.1.20/doc/devtodo.1.in 2004-12-17 10:21:34.050210242 -0500
118 +--- a/doc/devtodo.1.in
119 ++++ b/doc/devtodo.1.in
120 @@ -20,9 +20,6 @@
121 .TP
122 \fBtdd \fI<indices>\fP\fP
123 @@ -16,13 +16,13 @@
124 User-specific options are specified in this file. Please refer to the section \fBTODORC\fR for more information.
125 +.SH "BUGS"
126 +.LP
127 -+Because of a conflict with app-misc/tdl, the tdl symbolic link and the tdl manual page have been removed.
128 ++Because of a conflict with app-misc/tdl, the tdl symbolic link and the tdl manual page have been removed.
129 +See \fIhttp://bugs.gentoo.org/show_bug.cgi?id=55371\fR for more information.
130 .SH "AUTHORS"
131 .LP
132 Alec Thomas \fI<alec@×××××××.org>\fR
133 ---- devtodo-0.1.20.orig/doc/Makefile.am 2004-12-17 10:21:09.135350872 -0500
134 -+++ devtodo-0.1.20/doc/Makefile.am 2004-12-17 10:21:34.050210242 -0500
135 +--- a/doc/Makefile.am
136 ++++ b/doc/Makefile.am
137 @@ -1,5 +1,5 @@
138 man_MANS=devtodo.1
139 -manlinks=tda tdr tdd tde tdl todo
140 @@ -30,8 +30,8 @@
141
142 install-data-local:
143 mkdir -p $(DESTDIR)$(mandir)/man1
144 ---- devtodo-0.1.20.orig/src/TodoDB.cc 2004-12-17 10:21:09.136350706 -0500
145 -+++ devtodo-0.1.20/src/TodoDB.cc 2004-12-17 10:21:34.054209577 -0500
146 +--- a/src/TodoDB.cc
147 ++++ b/src/TodoDB.cc
148 @@ -949,7 +948,11 @@
149 if (out.bad())
150 throw exception("couldn't open TODO for generation");
151 @@ -45,8 +45,8 @@
152 if (options.verbose > 1)
153 cout << "todo: generating using format '" << options.format["verbose-generated"] << "'" << endl;
154 filterView();
155 ---- devtodo-0.1.20/contrib/devtodo.bash-completion {cset 9b4d9f02-fdb7-4641-b07f-7359b794d6b0}
156 -+++ devtodo-0.1.20/contrib/devtodo.bash-completion {local clone}
157 +--- a/contrib/devtodo.bash-completion
158 ++++ b/contrib/devtodo.bash-completion
159 @@ -35,6 +35,6 @@ _devtodo() {
160 ;;
161 esac
162 @@ -55,8 +55,8 @@
163 +complete -o filenames -F _devtodo devtodo todo tda tde tdr tdd
164
165 # vim: set ft=sh tw=80 sw=4 et :
166 ---- devtodo-0.1.20/src/support.cc {cset 5f5bd9cb-18fb-4046-bff5-4f3dbd781e47}
167 -+++ devtodo-0.1.20/src/support.cc {local clone}
168 +--- a/src/support.cc
169 ++++ b/src/support.cc
170 @@ -289,11 +289,10 @@ enum { Help = -100, Remove, Version, Tit
171 << "Where <arguments> can be any of the following:" << endl;
172 args.displayHelp(cout, options.columns);
173 @@ -72,8 +72,8 @@
174 << "eg. tde 1" << endl;
175 exit(0);
176 break;
177 ---- devtodo-0.1.20/src/Makefile.am 2007-09-17 12:12:55.000000000 +0200
178 -+++ devtodo-0.1.20/src/Makefile.am 2007-09-17 12:13:43.000000000 +0200
179 +--- a/src/Makefile.am
180 ++++ b/src/Makefile.am
181 @@ -1,7 +1,7 @@
182 bin_PROGRAMS=devtodo
183 devtodo_SOURCES=Todo.cc Todo.h TodoDB.cc TodoDB.h support.cc support.h \
184
185 diff --git a/app-misc/klavaro/Manifest b/app-misc/klavaro/Manifest
186 index 21e1a7daec5..69d556df1a5 100644
187 --- a/app-misc/klavaro/Manifest
188 +++ b/app-misc/klavaro/Manifest
189 @@ -1 +1,2 @@
190 DIST klavaro-3.01.tar.bz2 1140146 BLAKE2B fcd26cc6dfabd7ae0147fc279361a890ab928e42e02837a3322eae51fc6e959b02896ce789fae6a10b2f600eeb026c45955571d5264a29950cc7183eeb22a4cf SHA512 5d58269867d2b39309e07ca9dd6c525d67acaca93dea0010332e39e8f3dd444070dbc75abad00ac4ca3fd4155f41cf871cb8ccee3dc332aa31f85c8b17d7c48b
191 +DIST klavaro-3.11.tar.bz2 1266392 BLAKE2B 1b19caaf7910147478e744383a282ab81d2de63d099531bfd71f887df8fb95b507d7939f1c4a8721fc733b35991e29223213c55f6a884ac76043ed37c667d616 SHA512 7344a9e047e99f8a0ab1bfbea2950e2b49b8603dcac0dfe7391ac5a2a985c2b09dc9dd453d28daefab8a3d6bd92736075dc53d0d5f3b801efd061c16594cbe20