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 D8233138359 for ; Wed, 16 Sep 2020 02:07:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26CAFE0806; Wed, 16 Sep 2020 02:07:13 +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 0AF9EE0806 for ; Wed, 16 Sep 2020 02:07:13 +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 0AA9433F698 for ; Wed, 16 Sep 2020 02:07:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC5BE361 for ; Wed, 16 Sep 2020 02:07:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1600221925.94fa574aee6117e61a339044d58215ba8c0d799c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/timew/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/timew/Manifest app-misc/timew/timew-1.4.2.ebuild X-VCS-Directories: app-misc/timew/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 94fa574aee6117e61a339044d58215ba8c0d799c X-VCS-Branch: master Date: Wed, 16 Sep 2020 02:07:10 +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: b021d964-ca9d-4f51-9963-46ba3457b567 X-Archives-Hash: 18bf29165afe686aa2a9313731399821 commit: 94fa574aee6117e61a339044d58215ba8c0d799c Author: David Denoncin gmail com> AuthorDate: Thu Sep 3 11:41:38 2020 +0000 Commit: Sam James gentoo org> CommitDate: Wed Sep 16 02:05:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94fa574a app-misc/timew: vbump 1.4.2 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: David Denoncin gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17397 Signed-off-by: Sam James gentoo.org> app-misc/timew/Manifest | 1 + app-misc/timew/timew-1.4.2.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/app-misc/timew/Manifest b/app-misc/timew/Manifest index 49739f10865..2b76625ad9c 100644 --- a/app-misc/timew/Manifest +++ b/app-misc/timew/Manifest @@ -1 +1,2 @@ DIST timew-1.3.0.tar.gz 1125892 BLAKE2B 7ef9f6f405d710addd90758ea1188678aa3269354f81be583f63eb920c0163d0a428e9b62d896ba189f842494835df785e1f26d877bda03205a94067af8456d0 SHA512 38bf44c83d2315155ee43085957824db69d9501abf2cf0bdf51636169043d82b701ebfac3176bc1dfc0186abb7db7a3a40111968c85597e7edb73c66083f0ab0 +DIST timew-1.4.2.tar.gz 1316841 BLAKE2B c451f37aeb32e999fe2cdca2eb5f234c7424b76f489324d5723a3649da37f53f5094989bdf8d5c2d27f5daa0d75c72ec4a01e3c19b8b064f28e4db82587498b9 SHA512 fe4c3def6b2cd78793dd97a38a61497b3910cd87a3315f826c64893b96a998bf30363f0df1892b74b718d03a279d51c1a636739225e101c5c126794e434076f0 diff --git a/app-misc/timew/timew-1.4.2.ebuild b/app-misc/timew/timew-1.4.2.ebuild new file mode 100644 index 00000000000..86785cd3972 --- /dev/null +++ b/app-misc/timew/timew-1.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Tracks your time from the command line, and generates reports" +HOMEPAGE="https://timewarrior.net" +SRC_URI="https://github.com/GothenburgBitFactory/timewarrior/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_configure() { + mycmakeargs=( + -DCMAKE_BUILD_TYPE=release + -DTIMEW_DOCDIR=share/doc/"${PF}" + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + dodoc -r ext + docompress -x /usr/share/doc/${PF}/ext/{on-modify.timewarrior,README} +} + +pkg_postinst() { + elog "To integrate timewarrior with taskwarrior, issue the following commands:" + elog "cp /usr/share/doc/${PF}/ext/on-modify.timewarrior ~/.task/hooks/" + elog "chmod +x ~/.task/hooks/on-modify.timewarrior" + elog "see https://timewarrior.net/docs/taskwarrior.html" +}