Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/when/
Date: Thu, 12 Oct 2017 17:16:05
Message-Id: 1507828550.b40d9c83225d21852c841d3f17efde26c1cbc0d9.radhermit@gentoo
1 commit: b40d9c83225d21852c841d3f17efde26c1cbc0d9
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 12 17:15:08 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 12 17:15:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b40d9c83
7
8 app-misc/when: version bump to 1.1.37
9
10 app-misc/when/Manifest | 1 +
11 app-misc/when/when-1.1.37.ebuild | 41 ++++++++++++++++++++++++++++++++++++++++
12 2 files changed, 42 insertions(+)
13
14 diff --git a/app-misc/when/Manifest b/app-misc/when/Manifest
15 index 268ee044b60..34242da444e 100644
16 --- a/app-misc/when/Manifest
17 +++ b/app-misc/when/Manifest
18 @@ -1 +1,2 @@
19 DIST when-1.1.36.tar.gz 50926 SHA256 3ff95c1881e8fe25c82943720a81c9b9b3bd4ac002cd8ffc2d25c588fe7d50b1 SHA512 04b2efbcebae79325d8410a5aa5cdf59662fe42c06229ebc91f3b7163091d305a6ba91914a2a9117d86807d5ca0c875d48679dbc3545162a7263679bf605a52e WHIRLPOOL 1e7ed8d6e2939eaf898e01acebcd74f340e33eff5af17613e60eed62b756e8dd4df300990194b3cbebec64751c2adc1cb44848f1aad3d0b840bc9fe7174ea144
20 +DIST when-1.1.37.tar.gz 51020 SHA256 475e4b5070b383d2ad610e6610f8d2ff7995feab96e5d4de8d676063ad204733 SHA512 b1f0cb9cb797a5a32263ef2851498dfbf6a769d3e708b79ca1c5b37c7c877124194dd9b5ae78bfafebc0e73e82f306b3ae734a5ef7140fe3bf0e6b2cfcc4bb18 WHIRLPOOL 658a9307cca49f2ebc39ea06f2f61c5248280347dfa66f8c4ba158fa8f295fa956866310ad06be5e6c3d663a3ba1c3e3158586f56b972c52c1586215f636af1a
21
22 diff --git a/app-misc/when/when-1.1.37.ebuild b/app-misc/when/when-1.1.37.ebuild
23 new file mode 100644
24 index 00000000000..533d342eb72
25 --- /dev/null
26 +++ b/app-misc/when/when-1.1.37.ebuild
27 @@ -0,0 +1,41 @@
28 +# Copyright 1999-2017 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=6
32 +
33 +DESCRIPTION="Minimalistic personal calendar program"
34 +HOMEPAGE="http://www.lightandmatter.com/when/when.html"
35 +SRC_URI="http://www.lightandmatter.com/when/when.tar.gz -> ${P}.tar.gz"
36 +
37 +LICENSE="Artistic"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
40 +
41 +DEPEND="dev-lang/perl"
42 +RDEPEND="${DEPEND}"
43 +
44 +S="${WORKDIR}/when_dist"
45 +
46 +DOCS=( README )
47 +
48 +src_prepare() {
49 + default
50 +
51 + # Fix path for tests
52 + sed -i 's,^ when, ./when,' Makefile || die 'sed failed'
53 +}
54 +
55 +src_compile() { :; }
56 +
57 +src_test() {
58 + # The when command requires these files, or attempts to run setup function.
59 + mkdir "${HOME}"/.when || die 'mkdir failed'
60 + touch "${HOME}"/.when/{calendar,preferences} || die 'touch failed'
61 + emake test
62 +}
63 +
64 +src_install() {
65 + dobin "${PN}"
66 + doman "${PN}.1"
67 + einstalldocs
68 +}