Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/remind/
Date: Tue, 16 Aug 2022 08:42:07
Message-Id: 1660639320.b151e19c38ae315bc7f6d604148de91dd7f80a00.juippis@gentoo
1 commit: b151e19c38ae315bc7f6d604148de91dd7f80a00
2 Author: Zoltan Puskas <zoltan <AT> sinustrom <DOT> info>
3 AuthorDate: Tue Aug 9 06:07:33 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 16 08:42:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b151e19c
7
8 app-misc/remind: add 04.00.02
9
10 Signed-off-by: Zoltan Puskas <zoltan <AT> sinustrom.info>
11 Closes: https://bugs.gentoo.org/832175
12 Closes: https://github.com/gentoo/gentoo/pull/26576
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 app-misc/remind/Manifest | 1 +
16 app-misc/remind/remind-04.00.02.ebuild | 54 ++++++++++++++++++++++++++++++++++
17 2 files changed, 55 insertions(+)
18
19 diff --git a/app-misc/remind/Manifest b/app-misc/remind/Manifest
20 index 122e6dc0db61..e81fa877c8f0 100644
21 --- a/app-misc/remind/Manifest
22 +++ b/app-misc/remind/Manifest
23 @@ -1 +1,2 @@
24 DIST remind-03.03.05.tar.gz 402481 BLAKE2B 8fabc3269a06aaf3502c2245653442ddf6c101c3f62718769418c28850da467d210f381ef3452e95b6dbc921fe06979b4c38be8b7389a9defd76865da66080f3 SHA512 56b37dfc50a6c6a8a284691d7f1c39d542b7309ec12a029c65b68f7921cd43521d3cef9fc8d21f4a9f4a7609b0e00013e7f2793b529f39f80d63ae1fe5194fd4
25 +DIST remind-04.00.02.tar.gz 465760 BLAKE2B fa31747ab8d9aa39da7904334f908a7275932b3fe39919e0aca5b8b5877b5597322aca8916f6fee04ff5c6fa15070f867145596f64c0ab0dfdbebe9f4be97e31 SHA512 655427f1ce246c0911f5896db2c565d77f5046c9bb35675efb74df07b04b247e31882d03062f9797fac24c14994c435a3f1e39194442a278cda67b4de1db851a
26
27 diff --git a/app-misc/remind/remind-04.00.02.ebuild b/app-misc/remind/remind-04.00.02.ebuild
28 new file mode 100644
29 index 000000000000..c2184f326a8e
30 --- /dev/null
31 +++ b/app-misc/remind/remind-04.00.02.ebuild
32 @@ -0,0 +1,54 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DESCRIPTION="Ridiculously functional reminder program"
39 +HOMEPAGE="https://dianne.skoll.ca/projects/remind/"
40 +SRC_URI="https://dianne.skoll.ca/projects/remind/download/${P}.tar.gz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~ppc ~x86"
45 +IUSE="tk"
46 +
47 +RDEPEND="
48 + tk? ( >=dev-lang/tk-8.5 dev-tcltk/tcllib )
49 +"
50 +DEPEND="${RDEPEND}
51 + dev-perl/Cairo
52 + dev-perl/JSON-MaybeXS
53 + dev-perl/Pango
54 + virtual/perl-Getopt-Long
55 +"
56 +DOCS="docs/* examples/defs.rem "
57 +
58 +src_prepare() {
59 + default
60 + sed -i 's:$(MAKE) -C src install:&-nostripped:' "${S}"/Makefile || die
61 +}
62 +
63 +src_test() {
64 + if [[ ${EUID} -eq 0 ]] ; then
65 + ewarn "Testing fails if run as root. Skipping tests"
66 + else
67 + emake test
68 + fi
69 +}
70 +
71 +src_install() {
72 + default
73 +
74 + if ! use tk ; then
75 + rm \
76 + "${D}"/usr/bin/tkremind \
77 + "${D}"/usr/share/man/man1/tkremind* \
78 + || die
79 + fi
80 +
81 + rm "${S}"/contrib/rem2ics-*/{Makefile,rem2ics.spec} || die
82 + insinto /usr/share/${PN}
83 + doins -r contrib/
84 + insinto /usr/share/vim/vimfiles/syntax
85 + doins examples/remind.vim
86 +}