From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32F051382C5 for ; Sun, 28 Feb 2021 09:03:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D59BBE08A0; Sun, 28 Feb 2021 09:03:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B9D26E08A0 for ; Sun, 28 Feb 2021 09:03:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 530FA3410B9 for ; Sun, 28 Feb 2021 09:03:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC72A585 for ; Sun, 28 Feb 2021 09:03:20 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1614502988.54b5f8db3dac5a8e8e5ff81b1d88f4292ee4221f.juippis@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.3.ebuild X-VCS-Directories: app-misc/task/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 54b5f8db3dac5a8e8e5ff81b1d88f4292ee4221f X-VCS-Branch: master Date: Sun, 28 Feb 2021 09:03:20 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1cdbef57-74ad-48c7-bffa-e4005c8dc3ea X-Archives-Hash: 657b8435b970585af32dca3f15337d51 commit: 54b5f8db3dac5a8e8e5ff81b1d88f4292ee4221f Author: David Denoncin gmail com> AuthorDate: Sun Feb 21 09:11:52 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Feb 28 09:03:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54b5f8db app-misc/task: vbump 2.5.3 Closes: https://bugs.gentoo.org/764224 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: David Denoncin gmail.com> Signed-off-by: Joonas Niilola gentoo.org> app-misc/task/Manifest | 1 + app-misc/task/task-2.5.3.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/app-misc/task/Manifest b/app-misc/task/Manifest index 637c9be9517..ae8a2ca6c36 100644 --- a/app-misc/task/Manifest +++ b/app-misc/task/Manifest @@ -1 +1,2 @@ DIST task-2.5.1.tar.gz 903428 BLAKE2B afa17364984237ea589921afb4379297b128ea1bb6b0834f875b1b02b38dbfde5e961122fdde00dc5ff29b56226a5ce0f805bd1be8a8194c9e185ab80ad6d6c2 SHA512 ec17e5cefff55ecd2c1cb717801c02683d94030906c8d86450c3c79c0bc5a18d82559a5e9e26a91411a1025a241b78ddbc1de51cafc1a2dd531e8229e5e61c10 +DIST task-2.5.3.tar.gz 788760 BLAKE2B 3e8a4f2ebf6c39d3d51dc9b044cf1c8fbce23ab8178b6645405f26522bbb6f29e9f78247fe52601f6c8f87f966a3b7aad130417d0f416b9d969e9e396c10eafc SHA512 e906c8f42ad4b9a7e20a82defe31b89194d72957f18dd5129ecc41a2a60a9d8b0d01abb9b44ecce79b65cd9064af4a4a4c9dd695f98152e77908f130dc3f9677 diff --git a/app-misc/task/task-2.5.3.ebuild b/app-misc/task/task-2.5.3.ebuild new file mode 100644 index 00000000000..cf99cc313c3 --- /dev/null +++ b/app-misc/task/task-2.5.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit bash-completion-r1 cmake + +DESCRIPTION="Taskwarrior is a command-line todo list manager" +HOMEPAGE="https://taskwarrior.org/" +SRC_URI="https://taskwarrior.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~x64-macos" +IUSE="+sync" + +DEPEND=" + sync? ( net-libs/gnutls ) +" + +RDEPEND="${DEPEND}" + +src_prepare() { + cmake_src_prepare + + # don't automatically install scripts + sed -i '/scripts/d' CMakeLists.txt || die +} + +src_configure() { + mycmakeargs=( + -DENABLE_SYNC=$(usex sync) + -DTASK_DOCDIR=share/doc/${PF} + -DTASK_RCDIR=share/${PN}/rc + -DBUILD_SHARED_LIBS=off # bug 764224 + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + newbashcomp scripts/bash/task.sh task + + # vim syntax + rm scripts/vim/README || die + insinto /usr/share/vim/vimfiles + doins -r scripts/vim/* + + # zsh-completions + insinto /usr/share/zsh/site-functions + doins scripts/zsh/* + + exeinto "/usr/share/${PN}/scripts" + doexe scripts/add-ons/* +}