Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/task/
Date: Thu, 31 Dec 2015 06:26:00
Message-Id: 1451541161.2106ef62c9e8846e19ebf883fb85eb086d534462.idella4@gentoo
1 commit: 2106ef62c9e8846e19ebf883fb85eb086d534462
2 Author: Craig Inches <craig.inches <AT> xayto <DOT> net>
3 AuthorDate: Thu Dec 31 05:52:41 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 05:52:41 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2106ef62
7
8 Version bump to 2.5.0
9 Package-Manager: portage-2.3.6-r9
10 Manifest-Sign-Key: 0x6f5032f633ed1a3e
11
12 Package-Manager: portage-2.2.24
13
14 app-misc/task/Manifest | 1 +
15 app-misc/task/task-2.5.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++
16 2 files changed, 60 insertions(+)
17
18 diff --git a/app-misc/task/Manifest b/app-misc/task/Manifest
19 index 7ab22c0..596027a 100644
20 --- a/app-misc/task/Manifest
21 +++ b/app-misc/task/Manifest
22 @@ -1 +1,2 @@
23 DIST task-2.4.4.tar.gz 2352265 SHA256 7ff406414e0be480f91981831507ac255297aab33d8246f98dbfd2b1b2df8e3b SHA512 23565dc21bb5a05af5fe44235756ac5ecbd3b7cd94b2edc2ed0b0bd4efc5a12739cc8e3474174878595188ba726428b865dee3a79f0ad2550d5a0bc25415b103 WHIRLPOOL f071926d77a228289e2fb6a9e5c53e9db9e2d278879bf6249b04b0e7f7afe5f4195f9ea3fb42ac4aac318d0f53eda378ac24c73321d99a83c0f22295ad1dcaf4
24 +DIST task-2.5.0.tar.gz 900285 SHA256 4d8e67415a6993108c11b8eeef99b76a991af11b22874adbb7ae367e09334636 SHA512 911ed33553c71d0578dda20774ff1c5762700957ed637ed849ef51c4cd00a53feabc18c477dbc4b618371d9ddc8fec71795f96d8474acbec8a91be8bb1ff1bfd WHIRLPOOL e17995f173c6935f46ab476517e16157771a52bb930a6287e3f17b68ebae19db380da0643ae7a1fe6ce549ccb11d8ebe71ed45b5b650eef4343902b70459e1e6
25
26 diff --git a/app-misc/task/task-2.5.0.ebuild b/app-misc/task/task-2.5.0.ebuild
27 new file mode 100644
28 index 0000000..338e35f
29 --- /dev/null
30 +++ b/app-misc/task/task-2.5.0.ebuild
31 @@ -0,0 +1,59 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +inherit eutils cmake-utils bash-completion-r1
39 +
40 +DESCRIPTION="Taskwarrior is a command-line todo list manager"
41 +HOMEPAGE="http://taskwarrior.org/"
42 +SRC_URI="http://taskwarrior.org/download/${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
47 +IUSE="gnutls vim-syntax zsh-completion"
48 +
49 +DEPEND="sys-libs/readline:0
50 + gnutls? ( net-libs/gnutls )
51 + elibc_glibc? ( sys-apps/util-linux )"
52 +RDEPEND="${DEPEND}"
53 +
54 +src_prepare() {
55 + # use the correct directory locations
56 + sed -i "s:/usr/local/bin:${EPREFIX}/usr/bin:" \
57 + scripts/add-ons/* || die
58 +
59 + # don't automatically install scripts
60 + sed -i '/scripts/d' CMakeLists.txt || die
61 +}
62 +
63 +src_configure() {
64 + mycmakeargs=(
65 + $(cmake-utils_use_use gnutls GNUTLS)
66 + -DTASK_DOCDIR=share/doc/${PF}
67 + -DTASK_RCDIR=share/${PN}/rc
68 + )
69 + cmake-utils_src_configure
70 +}
71 +
72 +src_install() {
73 + cmake-utils_src_install
74 +
75 + newbashcomp scripts/bash/task.sh task
76 +
77 + if use vim-syntax ; then
78 + rm scripts/vim/README
79 + insinto /usr/share/vim/vimfiles
80 + doins -r scripts/vim/*
81 + fi
82 +
83 + if use zsh-completion ; then
84 + insinto /usr/share/zsh/site-functions
85 + doins scripts/zsh/*
86 + fi
87 +
88 + exeinto /usr/share/${PN}/scripts
89 + doexe scripts/add-ons/*
90 +}