1 |
commit: 24bff02af59f35483d3d9ab2b55d00d67e087858 |
2 |
Author: David Denoncin <ddenoncin <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Nov 3 16:53:57 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 7 04:09:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24bff02a |
7 |
|
8 |
app-misc/task: vbump 2.6.1 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/684920 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: David Denoncin <ddenoncin <AT> gmail.com> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/22807 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
app-misc/task/Manifest | 2 ++ |
17 |
app-misc/task/task-2.6.1.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 69 insertions(+) |
19 |
|
20 |
diff --git a/app-misc/task/Manifest b/app-misc/task/Manifest |
21 |
index e0b029e3e7f..d212afdc5e2 100644 |
22 |
--- a/app-misc/task/Manifest |
23 |
+++ b/app-misc/task/Manifest |
24 |
@@ -1,2 +1,4 @@ |
25 |
DIST task-2.5.3.tar.gz 788760 BLAKE2B 3e8a4f2ebf6c39d3d51dc9b044cf1c8fbce23ab8178b6645405f26522bbb6f29e9f78247fe52601f6c8f87f966a3b7aad130417d0f416b9d969e9e396c10eafc SHA512 e906c8f42ad4b9a7e20a82defe31b89194d72957f18dd5129ecc41a2a60a9d8b0d01abb9b44ecce79b65cd9064af4a4a4c9dd695f98152e77908f130dc3f9677 |
26 |
+DIST task-2.6.1.tar.gz 836830 BLAKE2B 18531a462e9466d2bfc21af70c05ec75f504c82e67ff4160378dd1dc2438955284eb430ec92969ffd212e9e92b14d6bea6013beda8eb353bfb7b8aac03bbbb2d SHA512 996690831967b5b248d336f0848aa243d5929a34238d05a78d49930f477a7927966d097119cf2dd935aa1c159e930f74bac07b05327504b15d235348927b657b |
27 |
DIST tests-2.5.3.tar.gz 223579 BLAKE2B 89a7fda3726d9923388675f34fe40a6a597901b2ab6c90a345b89d4ba00660e6a7533c4752fc4fe6f77344594a322c17eb43866028c26d005ce44cf12c11c355 SHA512 f6a58407f172385e9955b21b7fffeb510f852bd055ada4869547e396856c7df01b8414a51de6bc8530b29d8ca0fa7e74a8e35aa7bc88fe1e15bda7035a5fadd1 |
28 |
+DIST tests-2.6.1.tar.gz 221364 BLAKE2B 6aac691ba1828abb3469dfa2a9c093b92431591ac21113f71550676f7f9c40394770ddd2c649bf6cda5655d5f1c25aa6c7ef174e9da7ea0c647109d25771dc2d SHA512 df252b252ac7e319d46ef7e72c587c52a97bf7b496ad401342611114db15b7fdab501b4fffc60ea6a8dca7820abc267120375a1aafd1da0a0c41b925e9fd62da |
29 |
|
30 |
diff --git a/app-misc/task/task-2.6.1.ebuild b/app-misc/task/task-2.6.1.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..220608c028f |
33 |
--- /dev/null |
34 |
+++ b/app-misc/task/task-2.6.1.ebuild |
35 |
@@ -0,0 +1,67 @@ |
36 |
+# Copyright 1999-2021 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+CMAKE_MAKEFILE_GENERATOR="emake" |
42 |
+inherit bash-completion-r1 cmake |
43 |
+ |
44 |
+DESCRIPTION="Taskwarrior is a command-line todo list manager" |
45 |
+HOMEPAGE="https://taskwarrior.org/" |
46 |
+SRC_URI="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${PV}/${P}.tar.gz |
47 |
+ https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${PV}/tests-${PV}.tar.gz" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" |
52 |
+IUSE="+sync" |
53 |
+ |
54 |
+DEPEND=" |
55 |
+ sync? ( net-libs/gnutls ) |
56 |
+" |
57 |
+RDEPEND="${DEPEND}" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ # move test directory into source directory |
61 |
+ mv "${WORKDIR}"/test "${WORKDIR}"/${P} || die |
62 |
+ |
63 |
+ cmake_src_prepare |
64 |
+ |
65 |
+ # don't automatically install scripts |
66 |
+ sed -i '/scripts/d' CMakeLists.txt || die |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ mycmakeargs=( |
71 |
+ -DENABLE_SYNC=$(usex sync) |
72 |
+ -DTASK_DOCDIR=share/doc/${PF} |
73 |
+ -DTASK_RCDIR=share/${PN}/rc |
74 |
+ -DBUILD_SHARED_LIBS=off # bug 764224 |
75 |
+ ) |
76 |
+ |
77 |
+ cmake_src_configure |
78 |
+} |
79 |
+ |
80 |
+src_test() { |
81 |
+ cd "${WORKDIR}"/"${P}"_build || die |
82 |
+ |
83 |
+ emake test |
84 |
+} |
85 |
+ |
86 |
+src_install() { |
87 |
+ cmake_src_install |
88 |
+ |
89 |
+ newbashcomp scripts/bash/task.sh task |
90 |
+ |
91 |
+ # vim syntax |
92 |
+ rm scripts/vim/README || die |
93 |
+ insinto /usr/share/vim/vimfiles |
94 |
+ doins -r scripts/vim/* |
95 |
+ |
96 |
+ # zsh-completions |
97 |
+ insinto /usr/share/zsh/site-functions |
98 |
+ doins scripts/zsh/* |
99 |
+ |
100 |
+ exeinto "/usr/share/${PN}/scripts" |
101 |
+ doexe scripts/add-ons/* |
102 |
+} |