1 |
commit: 3e7575aba789ceeecfe8b18916698b9d306f02f1 |
2 |
Author: David Denoncin <ddenoncin <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jul 22 09:36:25 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 16 08:00:58 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e7575ab |
7 |
|
8 |
app-misc/timew: vbump 1.3.0, EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.22 |
11 |
Signed-off-by: David Denoncin <ddenoncin <AT> gmail.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
app-misc/timew/Manifest | 1 + |
15 |
app-misc/timew/timew-1.3.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 38 insertions(+) |
17 |
|
18 |
diff --git a/app-misc/timew/Manifest b/app-misc/timew/Manifest |
19 |
index 0470c1cbfb8..c1c08e29e95 100644 |
20 |
--- a/app-misc/timew/Manifest |
21 |
+++ b/app-misc/timew/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST timew-1.0.0.tar.gz 140539 BLAKE2B 486c1e99a587597a040e3fb45c15602e56798b5a13ce3f47fb8d73b3995ee270ef2601e49dc4efe3023d1179a111b55c50c92a3feece87d9bad6a26123dc9008 SHA512 0539ff93b2375c154d126c39aa84f21b57b62f51c220c80b2e323a4d6aefd2eda6f87c04112e096222102b019ee3683a78b9ee9d6fbf6736d4a34c529f6152f5 |
24 |
DIST timew-1.1.1.tar.gz 166484 BLAKE2B 64b8560220550299c76207873184252b1100d146ac745e46f38790a90294c59e5da95852836433f1d5213a2f1272063a534c20b2963a88fbaa1bcb888e40b70b SHA512 d262227d6dc99994599252c9fc55d32e4caac9d5ff1f223b8637005ed9f4f7fa238bd5cb7392c8e42a468f6246a7afad9b6fdb02af636e53d3bd813cfc3ee110 |
25 |
DIST timew-1.2.0.tar.gz 181477 BLAKE2B 03c815dddbcc1801bd5d6849b4a6b97291ccfcae98421a3c89582b97b0214e57886a2ed485b506aafd11e16e5e8444bcfe6f457289598eb1ac671ac85004b5df SHA512 e576aff06dde1e3d5d46f4a9a425991c91c8484aa8f2eeeb8dda7a4bd40716863432740e7810c2acb43adf223a090af4e95d77994ceba03c043c57bcab745c21 |
26 |
+DIST timew-1.3.0.tar.gz 1125892 BLAKE2B 7ef9f6f405d710addd90758ea1188678aa3269354f81be583f63eb920c0163d0a428e9b62d896ba189f842494835df785e1f26d877bda03205a94067af8456d0 SHA512 38bf44c83d2315155ee43085957824db69d9501abf2cf0bdf51636169043d82b701ebfac3176bc1dfc0186abb7db7a3a40111968c85597e7edb73c66083f0ab0 |
27 |
|
28 |
diff --git a/app-misc/timew/timew-1.3.0.ebuild b/app-misc/timew/timew-1.3.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..86785cd3972 |
31 |
--- /dev/null |
32 |
+++ b/app-misc/timew/timew-1.3.0.ebuild |
33 |
@@ -0,0 +1,37 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit cmake |
40 |
+ |
41 |
+DESCRIPTION="Tracks your time from the command line, and generates reports" |
42 |
+HOMEPAGE="https://timewarrior.net" |
43 |
+SRC_URI="https://github.com/GothenburgBitFactory/timewarrior/releases/download/v${PV}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+src_configure() { |
50 |
+ mycmakeargs=( |
51 |
+ -DCMAKE_BUILD_TYPE=release |
52 |
+ -DTIMEW_DOCDIR=share/doc/"${PF}" |
53 |
+ ) |
54 |
+ |
55 |
+ cmake_src_configure |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ cmake_src_install |
60 |
+ |
61 |
+ dodoc -r ext |
62 |
+ docompress -x /usr/share/doc/${PF}/ext/{on-modify.timewarrior,README} |
63 |
+} |
64 |
+ |
65 |
+pkg_postinst() { |
66 |
+ elog "To integrate timewarrior with taskwarrior, issue the following commands:" |
67 |
+ elog "cp /usr/share/doc/${PF}/ext/on-modify.timewarrior ~/.task/hooks/" |
68 |
+ elog "chmod +x ~/.task/hooks/on-modify.timewarrior" |
69 |
+ elog "see https://timewarrior.net/docs/taskwarrior.html" |
70 |
+} |