1 |
commit: 54b5f8db3dac5a8e8e5ff81b1d88f4292ee4221f |
2 |
Author: David Denoncin <ddenoncin <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Feb 21 09:11:52 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 09:03:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54b5f8db |
7 |
|
8 |
app-misc/task: vbump 2.5.3 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/764224 |
11 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
12 |
Signed-off-by: David Denoncin <ddenoncin <AT> gmail.com> |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
app-misc/task/Manifest | 1 + |
16 |
app-misc/task/task-2.5.3.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 58 insertions(+) |
18 |
|
19 |
diff --git a/app-misc/task/Manifest b/app-misc/task/Manifest |
20 |
index 637c9be9517..ae8a2ca6c36 100644 |
21 |
--- a/app-misc/task/Manifest |
22 |
+++ b/app-misc/task/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST task-2.5.1.tar.gz 903428 BLAKE2B afa17364984237ea589921afb4379297b128ea1bb6b0834f875b1b02b38dbfde5e961122fdde00dc5ff29b56226a5ce0f805bd1be8a8194c9e185ab80ad6d6c2 SHA512 ec17e5cefff55ecd2c1cb717801c02683d94030906c8d86450c3c79c0bc5a18d82559a5e9e26a91411a1025a241b78ddbc1de51cafc1a2dd531e8229e5e61c10 |
25 |
+DIST task-2.5.3.tar.gz 788760 BLAKE2B 3e8a4f2ebf6c39d3d51dc9b044cf1c8fbce23ab8178b6645405f26522bbb6f29e9f78247fe52601f6c8f87f966a3b7aad130417d0f416b9d969e9e396c10eafc SHA512 e906c8f42ad4b9a7e20a82defe31b89194d72957f18dd5129ecc41a2a60a9d8b0d01abb9b44ecce79b65cd9064af4a4a4c9dd695f98152e77908f130dc3f9677 |
26 |
|
27 |
diff --git a/app-misc/task/task-2.5.3.ebuild b/app-misc/task/task-2.5.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..cf99cc313c3 |
30 |
--- /dev/null |
31 |
+++ b/app-misc/task/task-2.5.3.ebuild |
32 |
@@ -0,0 +1,57 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit bash-completion-r1 cmake |
39 |
+ |
40 |
+DESCRIPTION="Taskwarrior is a command-line todo list manager" |
41 |
+HOMEPAGE="https://taskwarrior.org/" |
42 |
+SRC_URI="https://taskwarrior.org/download/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" |
47 |
+IUSE="+sync" |
48 |
+ |
49 |
+DEPEND=" |
50 |
+ sync? ( net-libs/gnutls ) |
51 |
+" |
52 |
+ |
53 |
+RDEPEND="${DEPEND}" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ cmake_src_prepare |
57 |
+ |
58 |
+ # don't automatically install scripts |
59 |
+ sed -i '/scripts/d' CMakeLists.txt || die |
60 |
+} |
61 |
+ |
62 |
+src_configure() { |
63 |
+ mycmakeargs=( |
64 |
+ -DENABLE_SYNC=$(usex sync) |
65 |
+ -DTASK_DOCDIR=share/doc/${PF} |
66 |
+ -DTASK_RCDIR=share/${PN}/rc |
67 |
+ -DBUILD_SHARED_LIBS=off # bug 764224 |
68 |
+ ) |
69 |
+ |
70 |
+ cmake_src_configure |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ cmake_src_install |
75 |
+ |
76 |
+ newbashcomp scripts/bash/task.sh task |
77 |
+ |
78 |
+ # vim syntax |
79 |
+ rm scripts/vim/README || die |
80 |
+ insinto /usr/share/vim/vimfiles |
81 |
+ doins -r scripts/vim/* |
82 |
+ |
83 |
+ # zsh-completions |
84 |
+ insinto /usr/share/zsh/site-functions |
85 |
+ doins scripts/zsh/* |
86 |
+ |
87 |
+ exeinto "/usr/share/${PN}/scripts" |
88 |
+ doexe scripts/add-ons/* |
89 |
+} |