From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 334991384B4 for ; Thu, 31 Dec 2015 06:26:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 994E721C013; Thu, 31 Dec 2015 06:25:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2BD1721C013 for ; Thu, 31 Dec 2015 06:25:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 701573407AF for ; Thu, 31 Dec 2015 06:25:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15B55B5D for ; Thu, 31 Dec 2015 06:25:54 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1451541161.2106ef62c9e8846e19ebf883fb85eb086d534462.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/task/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/task/Manifest app-misc/task/task-2.5.0.ebuild X-VCS-Directories: app-misc/task/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: 2106ef62c9e8846e19ebf883fb85eb086d534462 X-VCS-Branch: master Date: Thu, 31 Dec 2015 06:25:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0bc63d2a-0c12-499e-ba40-0db3b87d1ce3 X-Archives-Hash: 07e5e7afa977721d284b11e155a9a97f commit: 2106ef62c9e8846e19ebf883fb85eb086d534462 Author: Craig Inches xayto net> AuthorDate: Thu Dec 31 05:52:41 2015 +0000 Commit: Ian Delaney gentoo org> CommitDate: Thu Dec 31 05:52:41 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2106ef62 Version bump to 2.5.0 Package-Manager: portage-2.3.6-r9 Manifest-Sign-Key: 0x6f5032f633ed1a3e Package-Manager: portage-2.2.24 app-misc/task/Manifest | 1 + app-misc/task/task-2.5.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/app-misc/task/Manifest b/app-misc/task/Manifest index 7ab22c0..596027a 100644 --- a/app-misc/task/Manifest +++ b/app-misc/task/Manifest @@ -1 +1,2 @@ DIST task-2.4.4.tar.gz 2352265 SHA256 7ff406414e0be480f91981831507ac255297aab33d8246f98dbfd2b1b2df8e3b SHA512 23565dc21bb5a05af5fe44235756ac5ecbd3b7cd94b2edc2ed0b0bd4efc5a12739cc8e3474174878595188ba726428b865dee3a79f0ad2550d5a0bc25415b103 WHIRLPOOL f071926d77a228289e2fb6a9e5c53e9db9e2d278879bf6249b04b0e7f7afe5f4195f9ea3fb42ac4aac318d0f53eda378ac24c73321d99a83c0f22295ad1dcaf4 +DIST task-2.5.0.tar.gz 900285 SHA256 4d8e67415a6993108c11b8eeef99b76a991af11b22874adbb7ae367e09334636 SHA512 911ed33553c71d0578dda20774ff1c5762700957ed637ed849ef51c4cd00a53feabc18c477dbc4b618371d9ddc8fec71795f96d8474acbec8a91be8bb1ff1bfd WHIRLPOOL e17995f173c6935f46ab476517e16157771a52bb930a6287e3f17b68ebae19db380da0643ae7a1fe6ce549ccb11d8ebe71ed45b5b650eef4343902b70459e1e6 diff --git a/app-misc/task/task-2.5.0.ebuild b/app-misc/task/task-2.5.0.ebuild new file mode 100644 index 0000000..338e35f --- /dev/null +++ b/app-misc/task/task-2.5.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils cmake-utils bash-completion-r1 + +DESCRIPTION="Taskwarrior is a command-line todo list manager" +HOMEPAGE="http://taskwarrior.org/" +SRC_URI="http://taskwarrior.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" +IUSE="gnutls vim-syntax zsh-completion" + +DEPEND="sys-libs/readline:0 + gnutls? ( net-libs/gnutls ) + elibc_glibc? ( sys-apps/util-linux )" +RDEPEND="${DEPEND}" + +src_prepare() { + # use the correct directory locations + sed -i "s:/usr/local/bin:${EPREFIX}/usr/bin:" \ + scripts/add-ons/* || die + + # don't automatically install scripts + sed -i '/scripts/d' CMakeLists.txt || die +} + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_use gnutls GNUTLS) + -DTASK_DOCDIR=share/doc/${PF} + -DTASK_RCDIR=share/${PN}/rc + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + newbashcomp scripts/bash/task.sh task + + if use vim-syntax ; then + rm scripts/vim/README + insinto /usr/share/vim/vimfiles + doins -r scripts/vim/* + fi + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins scripts/zsh/* + fi + + exeinto /usr/share/${PN}/scripts + doexe scripts/add-ons/* +}