From: Patrice Clement Date: Sun, 29 Jan 2017 21:32:46 +0000 (+0100) Subject: app-misc/todo: new package. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c24a30d6ce67243dd8589592d15b3a0eba3a0bf9;p=gentoo.git app-misc/todo: new package. todo is a CLI-based TODO list manager written in Bash. Gentoo-Bug: https://bugs.gentoo.org/149233 Package-Manager: portage-2.3.3 --- diff --git a/app-misc/todo/Manifest b/app-misc/todo/Manifest new file mode 100644 index 000000000000..1a302b9e9c61 --- /dev/null +++ b/app-misc/todo/Manifest @@ -0,0 +1 @@ +DIST todo-2.10.tar.gz 56509 SHA256 55b6b86a970c25efcd05b24b37e8141bab623ddfa681638d49fd6fd6907eda2c SHA512 b14d9d13948836d971f72b941770e8e2c59d171d35f074205900619c5c3efd7ca0a482887046c1865890afb6595fe27c69677c54ea5824163d291e16fa5329d3 WHIRLPOOL 4282bad14c1ffac5642577ed9de4bec273eb56be28b9a019e06b11d181b56bef708167eef31fafaec607a502edd1f4edf82b1d5ba0eb4df4c27e01944f9795d6 diff --git a/app-misc/todo/metadata.xml b/app-misc/todo/metadata.xml new file mode 100644 index 000000000000..58c1077b82e4 --- /dev/null +++ b/app-misc/todo/metadata.xml @@ -0,0 +1,8 @@ + + + + + monsieurp@gentoo.org + Patrice Clement + + diff --git a/app-misc/todo/todo-2.10.ebuild b/app-misc/todo/todo-2.10.ebuild new file mode 100644 index 000000000000..c8eefae79b64 --- /dev/null +++ b/app-misc/todo/todo-2.10.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit bash-completion-r1 + +DESCRIPTION="A CLI-based TODO list manager" +HOMEPAGE="http://todotxt.com/" +SRC_URI="https://github.com/ginatrapani/${PN}.txt-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="app-shells/bash" + +S="${WORKDIR}/${PN}.txt-cli-${PV}" + +DOCS=( README.textile CONTRIBUTING.md LICENSE todo.cfg ) + +src_test() { + make test || die "tests failed" +} + +src_install() { + newbin "${PN}.sh" "${PN}" + newbashcomp "${PN}_completion" "${PN}" + einstalldocs +}