[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/files/

2022-03-01 Thread Ionen Wolkens
commit: 0b69dd0d007f076fee653c9509515653ff706cf5
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Feb 28 07:06:27 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Mar  1 13:55:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b69dd0d

app-misc/todo: remove unused patch(es)

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/24375
Signed-off-by: Ionen Wolkens  gentoo.org>

 app-misc/todo/files/todo-2.11.0-fix-bash-completion.patch | 15 ---
 1 file changed, 15 deletions(-)

diff --git a/app-misc/todo/files/todo-2.11.0-fix-bash-completion.patch 
b/app-misc/todo/files/todo-2.11.0-fix-bash-completion.patch
deleted file mode 100644
index 254c454ab8ac..
--- a/app-misc/todo/files/todo-2.11.0-fix-bash-completion.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/todo_completion b/todo_completion
-index 644be6e..964383e 100755
 a/todo_completion
-+++ b/todo_completion
-@@ -85,6 +85,10 @@ _todo()
- }
- complete -F _todo todo.sh
- 
-+# Gentoo bug 614400
-+complete -F _todo todocli
-+complete -F _todo todotxt
-+
- # If you define an alias (e.g. "t") to todo.sh, you need to explicitly enable
- # completion for it, too:
- #complete -F _todo t



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2022-02-26 Thread Patrice Clement
commit: 418fd8b269aec9a48b349f65087e54f0425b50a8
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Feb 26 20:51:13 2022 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Feb 26 21:03:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418fd8b2

app-misc/todo: update EAPI 7 -> 8

Signed-off-by: Patrice Clement  gentoo.org>

 app-misc/todo/todo-2.12.0-r2.ebuild | 64 +
 1 file changed, 64 insertions(+)

diff --git a/app-misc/todo/todo-2.12.0-r2.ebuild 
b/app-misc/todo/todo-2.12.0-r2.ebuild
new file mode 100644
index ..0f9cee042d49
--- /dev/null
+++ b/app-misc/todo/todo-2.12.0-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1
+
+DESCRIPTION="A CLI-based TODO list manager"
+HOMEPAGE="http://todotxt.org;
+SRC_URI="https://github.com/todotxt/${PN}.txt-cli/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="app-shells/bash"
+
+DOCS=( README.md LICENSE todo.cfg )
+
+S="${WORKDIR}/${PN}.txt-cli-${PV}"
+
+src_prepare() {
+   default
+
+   # fix version string
+   sed -i -e "s/@DEV_VERSION@/${PV}/" todo.sh || die
+
+   # TODO_DIR variable is bogus
+   sed -i -e '/export TODO_DIR/d' todo.cfg || die
+   sed -i -e '4i export TODO_DIR="$HOME/.todo"' todo.cfg || die
+}
+
+src_install() {
+   dobin "${PN}.sh"
+   newbashcomp "${PN}_completion" "${PN}.sh"
+   einstalldocs
+}
+
+pkg_postinst() {
+   einfo
+   einfo 'Before starting todo, make sure to create'
+   einfo 'a .todo directory in your home directory:'
+   einfo '  $ mkdir -p $HOME/.todo'
+   einfo
+   einfo 'and make sure to copy the default todo'
+   einfo 'configuration file in the same location:'
+   einfo "  $ bzcat /usr/share/doc/${PF}/todo.cfg.bz2 > 
\$HOME/.todo/config"
+   einfo
+   einfo 'Alternatively, you can use XDG directories instead:'
+   einfo '  $ mkdir -p $HOME/.local/share/todo'
+   einfo '  $ mkdir -p $HOME/.config/todo'
+   einfo "  $ bzcat /usr/share/doc/${PF}/todo.cfg.bz2 > 
\$HOME/.config/todo/config"
+   einfo
+   einfo 'You can then edit this file as you see fit.'
+   einfo 'Enjoy!'
+   einfo
+   ewarn 'The Gentoo-specific todocli and todotxt aliases have been 
removed.'
+   ewarn 'If you still need them, add the following lines to your 
~/.bashrc:'
+   ewarn
+   ewarn 'alias todocli=todo.sh'
+   ewarn 'complete -F _todo todocli'
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2022-02-26 Thread Patrice Clement
commit: 61bfb24291f7d052e4234bc3169e59037a5b1f8a
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Feb 26 20:51:28 2022 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Feb 26 21:03:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61bfb242

app-misc/todo: drop 2.11.0, 2.12.0-r1

Signed-off-by: Patrice Clement  gentoo.org>

 app-misc/todo/Manifest  |  1 -
 app-misc/todo/todo-2.11.0.ebuild| 64 -
 app-misc/todo/todo-2.12.0-r1.ebuild | 64 -
 3 files changed, 129 deletions(-)

diff --git a/app-misc/todo/Manifest b/app-misc/todo/Manifest
index aa534da6d988..d4cfd196b9ca 100644
--- a/app-misc/todo/Manifest
+++ b/app-misc/todo/Manifest
@@ -1,2 +1 @@
-DIST todo-2.11.0.tar.gz 712455 BLAKE2B 
f9d0fa53712a49c2f6ee94c02a62c16b8184734f7bb0c9354db9d640e2f619c75e3b3468065cb51204c7872f1f155bda51b9e3387f62f0f478f80f6a99f199b4
 SHA512 
5500ed1aa10eceaaa3e5116605eed4f4228337fdc0f2ceaa5b889753a60576918c0953adbfbf80c40008d6dfdf854e8a538103bfed4d1015aa1c5a9876c2e47c
 DIST todo-2.12.0.tar.gz 716524 BLAKE2B 
168951c50670228ba2e1438ec04f5907181073668f1e260874e48959f2e37d11ee7ba4f2b0e5e5c55c9375a31921eca258f720afe98d2a4841529ef6acbb1510
 SHA512 
3b30d5e395f878811831f57e8e1a040c990e1f042f57050b6381d83ffc8b92b1ce20bfd3c5aa8b5e028b4810a5b289599603b2e16efff8badac559d200ed79f5

diff --git a/app-misc/todo/todo-2.11.0.ebuild b/app-misc/todo/todo-2.11.0.ebuild
deleted file mode 100644
index c3a527e1a45c..
--- a/app-misc/todo/todo-2.11.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1
-
-DESCRIPTION="A CLI-based TODO list manager"
-HOMEPAGE="http://todotxt.org;
-SRC_URI="https://github.com/todotxt/${PN}.txt-cli/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="app-shells/bash"
-
-PATCHES=( "${FILESDIR}/${P}-fix-bash-completion.patch" )
-
-DOCS=( README.md CONTRIBUTING.md LICENSE todo.cfg )
-
-S="${WORKDIR}/${PN}.txt-cli-${PV}"
-
-src_prepare() {
-   default
-
-   # fix version string
-   sed -i -e "s/@DEV_VERSION@/${PV}/" todo.sh || die
-
-   # TODO_DIR variable is bogus
-   sed -i -e '/export TODO_DIR/d' todo.cfg || die
-   sed -i -e '4i export TODO_DIR="$HOME/.todo"' todo.cfg || die
-}
-
-src_install() {
-   dobin "${PN}.sh"
-   dosym "${PN}.sh" "/usr/bin/${PN}cli"
-   dosym "${PN}.sh" "/usr/bin/${PN}txt"
-   newbashcomp "${PN}_completion" "${PN}.sh"
-   bashcomp_alias "${PN}.sh" "${PN}cli" "${PN}txt"
-   einstalldocs
-}
-
-pkg_postinst() {
-   einfo
-   einfo 'Before starting todo, make sure to create'
-   einfo 'a .todo directory in your home directory:'
-   einfo '  $ mkdir -p $HOME/.todo'
-   einfo
-   einfo 'and make sure to copy the default todo'
-   einfo 'configuration file in the same location:'
-   einfo "  $ bzcat /usr/share/doc/${PF}/todo.cfg.bz2 > 
\$HOME/.todo/config"
-   einfo
-   einfo 'Alternatively, you can use XDG directories instead:'
-   einfo '  $ mkdir -p $HOME/.local/share/todo'
-   einfo '  $ mkdir -p $HOME/.config/todo'
-   einfo "  $ bzcat /usr/share/doc/${PF}/todo.cfg.bz2 > 
\$HOME/.config/todo/config"
-   einfo
-   einfo 'You can then edit this file as you see fit.'
-   einfo 'Enjoy!'
-   einfo
-}

diff --git a/app-misc/todo/todo-2.12.0-r1.ebuild 
b/app-misc/todo/todo-2.12.0-r1.ebuild
deleted file mode 100644
index 547d0e721b41..
--- a/app-misc/todo/todo-2.12.0-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit bash-completion-r1
-
-DESCRIPTION="A CLI-based TODO list manager"
-HOMEPAGE="http://todotxt.org;
-SRC_URI="https://github.com/todotxt/${PN}.txt-cli/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="app-shells/bash"
-
-DOCS=( README.md LICENSE todo.cfg )
-
-S="${WORKDIR}/${PN}.txt-cli-${PV}"
-
-src_prepare() {
-   default
-
-   # fix version string
-   sed -i -e "s/@DEV_VERSION@/${PV}/" todo.sh || die
-
-   # TODO_DIR variable is bogus
-   sed -i -e '/export TODO_DIR/d' todo.cfg || die
-   sed -i -e '4i export TODO_DIR="$HOME/.todo"' todo.cfg || die
-}
-
-src_install() {
-   dobin "${PN}.sh"
-   newbashcomp "${PN}_completion" "${PN}.sh"
-   einstalldocs
-}
-
-pkg_postinst() {
-   einfo
-   einfo 'Before starting todo, make sure to create'
-   einfo 'a .todo directory in your home directory:'
-   einfo '  $ mkdir -p $HOME/.todo'
-   einfo
-   einfo 'and make sure to copy the default todo'
-   einfo 'configuration file in the 

[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2021-11-05 Thread Sam James
commit: de5d1ced452359eb8030dcfd852278f0d897db52
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  6 04:39:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  6 04:39:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de5d1ced

app-misc/todo: use default src_test implementation (emake, not make)

Signed-off-by: Sam James  gentoo.org>

 app-misc/todo/todo-2.11.0.ebuild| 6 +-
 app-misc/todo/todo-2.12.0-r1.ebuild | 6 +-
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/app-misc/todo/todo-2.11.0.ebuild b/app-misc/todo/todo-2.11.0.ebuild
index 4db4b749f06..c3a527e1a45 100644
--- a/app-misc/todo/todo-2.11.0.ebuild
+++ b/app-misc/todo/todo-2.11.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -34,10 +34,6 @@ src_prepare() {
sed -i -e '4i export TODO_DIR="$HOME/.todo"' todo.cfg || die
 }
 
-src_test() {
-   make test || die "tests failed"
-}
-
 src_install() {
dobin "${PN}.sh"
dosym "${PN}.sh" "/usr/bin/${PN}cli"

diff --git a/app-misc/todo/todo-2.12.0-r1.ebuild 
b/app-misc/todo/todo-2.12.0-r1.ebuild
index 623c419ac0a..547d0e721b4 100644
--- a/app-misc/todo/todo-2.12.0-r1.ebuild
+++ b/app-misc/todo/todo-2.12.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -32,10 +32,6 @@ src_prepare() {
sed -i -e '4i export TODO_DIR="$HOME/.todo"' todo.cfg || die
 }
 
-src_test() {
-   make test || die "tests failed"
-}
-
 src_install() {
dobin "${PN}.sh"
newbashcomp "${PN}_completion" "${PN}.sh"



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2020-10-09 Thread Patrice Clement
commit: b1a398ee3ee3cfc711b0bd97db23b5a8ebc8007e
Author: Ferenc Erki  gmail  com>
AuthorDate: Thu Oct  8 15:26:58 2020 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Oct  9 19:57:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a398ee

app-misc/todo: clean up aliases.

Signed-off-by: Ferenc Erki  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17863
Signed-off-by: Patrice Clement  gentoo.org>

 app-misc/todo/{todo-2.12.0.ebuild => todo-2.12.0-r1.ebuild} | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/app-misc/todo/todo-2.12.0.ebuild 
b/app-misc/todo/todo-2.12.0-r1.ebuild
similarity index 87%
rename from app-misc/todo/todo-2.12.0.ebuild
rename to app-misc/todo/todo-2.12.0-r1.ebuild
index d1dcad07e58..623c419ac0a 100644
--- a/app-misc/todo/todo-2.12.0.ebuild
+++ b/app-misc/todo/todo-2.12.0-r1.ebuild
@@ -38,10 +38,7 @@ src_test() {
 
 src_install() {
dobin "${PN}.sh"
-   dosym "${PN}.sh" "/usr/bin/${PN}cli"
-   dosym "${PN}.sh" "/usr/bin/${PN}txt"
newbashcomp "${PN}_completion" "${PN}.sh"
-   bashcomp_alias "${PN}.sh" "${PN}cli" "${PN}txt"
einstalldocs
 }
 
@@ -63,4 +60,9 @@ pkg_postinst() {
einfo 'You can then edit this file as you see fit.'
einfo 'Enjoy!'
einfo
+   ewarn 'The Gentoo-specific todocli and todotxt aliases have been 
removed.'
+   ewarn 'If you still need them, add the following lines to your 
~/.bashrc:'
+   ewarn
+   ewarn 'alias todocli=todo.sh'
+   ewarn 'complete -F _todo todocli'
 }



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2020-09-29 Thread Joonas Niilola
commit: 25de663ce0bc6cca18a12648b4d0c3ab01110151
Author: Ferenc Erki  gmail  com>
AuthorDate: Tue Sep 29 05:51:03 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 29 05:51:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25de663c

app-misc/todo: update upstream repo in metadata

Signed-off-by: Ferenc Erki  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17270
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/todo/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/todo/metadata.xml b/app-misc/todo/metadata.xml
index 7c2302dd216..cf82b868122 100644
--- a/app-misc/todo/metadata.xml
+++ b/app-misc/todo/metadata.xml
@@ -14,6 +14,6 @@
Proxy Maintainers


-   ginatrapani/todo.txt-cli
+   todotxt/todo.txt-cli

 



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/files/

2020-09-20 Thread Conrad Kostecki
commit: 2ad6efb742d66af9334e2759ee920bcb2b4c43d3
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu Sep 17 20:34:38 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Sep 20 14:38:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad6efb7

app-misc/todo: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/17578
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/todo/files/todo-2.10-fix-bash-completion.patch | 12 
 1 file changed, 12 deletions(-)

diff --git a/app-misc/todo/files/todo-2.10-fix-bash-completion.patch 
b/app-misc/todo/files/todo-2.10-fix-bash-completion.patch
deleted file mode 100644
index 7e6de2f1056..000
--- a/app-misc/todo/files/todo-2.10-fix-bash-completion.patch
+++ /dev/null
@@ -1,12 +0,0 @@
 ./todo_completion  2017-04-08 15:18:23.102736966 +0200
-+++ ./todo_completion  2017-04-08 15:18:56.839725605 +0200
-@@ -85,6 +85,9 @@
- }
- complete -F _todo todo.sh
- 
-+# Gentoo bug 614400
-+complete -F _todo todotxt
-+
- # If you define an alias (e.g. "t") to todo.sh, you need to explicitly enable
- # completion for it, too:
- #complete -F _todo t



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2020-09-16 Thread Patrice Clement
commit: 9ddae3086b970f6a9e9f4f7e0b246f5b075da0b9
Author: Patrice Clement  gentoo  org>
AuthorDate: Wed Sep 16 20:50:06 2020 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Sep 16 20:50:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ddae308

app-misc/todo: version bump.

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Patrice Clement  gentoo.org>

 app-misc/todo/Manifest|  1 -
 app-misc/todo/todo-2.10-r2.ebuild | 59 ---
 2 files changed, 60 deletions(-)

diff --git a/app-misc/todo/Manifest b/app-misc/todo/Manifest
index bf572065748..aa534da6d98 100644
--- a/app-misc/todo/Manifest
+++ b/app-misc/todo/Manifest
@@ -1,3 +1,2 @@
-DIST todo-2.10.tar.gz 56509 BLAKE2B 
ec89d12506b5025bab8d05bab1122d48ef2e9edb811c4091c1ff96b4b18c2ced54026d3d908a565278804c15c6fbde8aef3ae5a0cb23d4b12bb36133fce5bb2c
 SHA512 
b14d9d13948836d971f72b941770e8e2c59d171d35f074205900619c5c3efd7ca0a482887046c1865890afb6595fe27c69677c54ea5824163d291e16fa5329d3
 DIST todo-2.11.0.tar.gz 712455 BLAKE2B 
f9d0fa53712a49c2f6ee94c02a62c16b8184734f7bb0c9354db9d640e2f619c75e3b3468065cb51204c7872f1f155bda51b9e3387f62f0f478f80f6a99f199b4
 SHA512 
5500ed1aa10eceaaa3e5116605eed4f4228337fdc0f2ceaa5b889753a60576918c0953adbfbf80c40008d6dfdf854e8a538103bfed4d1015aa1c5a9876c2e47c
 DIST todo-2.12.0.tar.gz 716524 BLAKE2B 
168951c50670228ba2e1438ec04f5907181073668f1e260874e48959f2e37d11ee7ba4f2b0e5e5c55c9375a31921eca258f720afe98d2a4841529ef6acbb1510
 SHA512 
3b30d5e395f878811831f57e8e1a040c990e1f042f57050b6381d83ffc8b92b1ce20bfd3c5aa8b5e028b4810a5b289599603b2e16efff8badac559d200ed79f5

diff --git a/app-misc/todo/todo-2.10-r2.ebuild 
b/app-misc/todo/todo-2.10-r2.ebuild
deleted file mode 100644
index 90a86a6929d..000
--- a/app-misc/todo/todo-2.10-r2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-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"
-RESTRICT="!test? ( test )"
-
-RDEPEND="app-shells/bash"
-
-PATCHES=( "${FILESDIR}/${P}-fix-bash-completion.patch" )
-
-DOCS=( README.textile CONTRIBUTING.md LICENSE todo.cfg )
-
-S="${WORKDIR}/${PN}.txt-cli-${PV}"
-
-src_prepare() {
-   default
-
-   # TODO_DIR variable is bogus
-   sed -i -e '/export TODO_DIR/d' todo.cfg || die
-   sed -i -e '4i export TODO_DIR="$HOME/.todo"' todo.cfg || die
-}
-
-src_test() {
-   make test || die "tests failed"
-}
-
-src_install() {
-   newbin "${PN}.sh" "${PN}cli"
-   dosym "${PN}cli" "/usr/bin/${PN}txt"
-   newbashcomp "${PN}_completion" "${PN}cli.sh"
-   bashcomp_alias "${PN}cli.sh" "${PN}txt"
-   einstalldocs
-}
-
-pkg_postinst() {
-   einfo
-   einfo 'Before starting todo, make sure to create'
-   einfo 'a .todo directory in your home directory:'
-   einfo '  $ mkdir -p $HOME/.todo'
-   einfo
-   einfo 'and make sure to copy the default todo'
-   einfo 'configuration file in the same location:'
-   einfo "  $ bzcat /usr/share/doc/${PF}/todo.cfg.bz2 > 
\$HOME/.todo/config"
-   einfo
-   einfo 'You can then edit this file as you see fit.'
-   einfo 'Enjoy!'
-   einfo
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2020-09-16 Thread Patrice Clement
commit: b00b41ce1d62df911bec838b336b1d3cff142ea6
Author: Patrice Clement  gentoo  org>
AuthorDate: Wed Sep 16 20:49:29 2020 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Sep 16 20:49:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b00b41ce

app-misc/todo: version bump.

Closes: https://bugs.gentoo.org/738094
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Patrice Clement  gentoo.org>

 app-misc/todo/Manifest   |  1 +
 app-misc/todo/todo-2.12.0.ebuild | 66 
 2 files changed, 67 insertions(+)

diff --git a/app-misc/todo/Manifest b/app-misc/todo/Manifest
index 4be1e46c267..bf572065748 100644
--- a/app-misc/todo/Manifest
+++ b/app-misc/todo/Manifest
@@ -1,2 +1,3 @@
 DIST todo-2.10.tar.gz 56509 BLAKE2B 
ec89d12506b5025bab8d05bab1122d48ef2e9edb811c4091c1ff96b4b18c2ced54026d3d908a565278804c15c6fbde8aef3ae5a0cb23d4b12bb36133fce5bb2c
 SHA512 
b14d9d13948836d971f72b941770e8e2c59d171d35f074205900619c5c3efd7ca0a482887046c1865890afb6595fe27c69677c54ea5824163d291e16fa5329d3
 DIST todo-2.11.0.tar.gz 712455 BLAKE2B 
f9d0fa53712a49c2f6ee94c02a62c16b8184734f7bb0c9354db9d640e2f619c75e3b3468065cb51204c7872f1f155bda51b9e3387f62f0f478f80f6a99f199b4
 SHA512 
5500ed1aa10eceaaa3e5116605eed4f4228337fdc0f2ceaa5b889753a60576918c0953adbfbf80c40008d6dfdf854e8a538103bfed4d1015aa1c5a9876c2e47c
+DIST todo-2.12.0.tar.gz 716524 BLAKE2B 
168951c50670228ba2e1438ec04f5907181073668f1e260874e48959f2e37d11ee7ba4f2b0e5e5c55c9375a31921eca258f720afe98d2a4841529ef6acbb1510
 SHA512 
3b30d5e395f878811831f57e8e1a040c990e1f042f57050b6381d83ffc8b92b1ce20bfd3c5aa8b5e028b4810a5b289599603b2e16efff8badac559d200ed79f5

diff --git a/app-misc/todo/todo-2.12.0.ebuild b/app-misc/todo/todo-2.12.0.ebuild
new file mode 100644
index 000..d1dcad07e58
--- /dev/null
+++ b/app-misc/todo/todo-2.12.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1
+
+DESCRIPTION="A CLI-based TODO list manager"
+HOMEPAGE="http://todotxt.org;
+SRC_URI="https://github.com/todotxt/${PN}.txt-cli/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="app-shells/bash"
+
+DOCS=( README.md LICENSE todo.cfg )
+
+S="${WORKDIR}/${PN}.txt-cli-${PV}"
+
+src_prepare() {
+   default
+
+   # fix version string
+   sed -i -e "s/@DEV_VERSION@/${PV}/" todo.sh || die
+
+   # TODO_DIR variable is bogus
+   sed -i -e '/export TODO_DIR/d' todo.cfg || die
+   sed -i -e '4i export TODO_DIR="$HOME/.todo"' todo.cfg || die
+}
+
+src_test() {
+   make test || die "tests failed"
+}
+
+src_install() {
+   dobin "${PN}.sh"
+   dosym "${PN}.sh" "/usr/bin/${PN}cli"
+   dosym "${PN}.sh" "/usr/bin/${PN}txt"
+   newbashcomp "${PN}_completion" "${PN}.sh"
+   bashcomp_alias "${PN}.sh" "${PN}cli" "${PN}txt"
+   einstalldocs
+}
+
+pkg_postinst() {
+   einfo
+   einfo 'Before starting todo, make sure to create'
+   einfo 'a .todo directory in your home directory:'
+   einfo '  $ mkdir -p $HOME/.todo'
+   einfo
+   einfo 'and make sure to copy the default todo'
+   einfo 'configuration file in the same location:'
+   einfo "  $ bzcat /usr/share/doc/${PF}/todo.cfg.bz2 > 
\$HOME/.todo/config"
+   einfo
+   einfo 'Alternatively, you can use XDG directories instead:'
+   einfo '  $ mkdir -p $HOME/.local/share/todo'
+   einfo '  $ mkdir -p $HOME/.config/todo'
+   einfo "  $ bzcat /usr/share/doc/${PF}/todo.cfg.bz2 > 
\$HOME/.config/todo/config"
+   einfo
+   einfo 'You can then edit this file as you see fit.'
+   einfo 'Enjoy!'
+   einfo
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/, app-misc/todo/files/

2020-03-09 Thread Patrice Clement
commit: 3a09ce336f19caeca26a32ea10913766687f454a
Author: Ferenc Erki  gmail  com>
AuthorDate: Sun Jan 12 19:46:33 2020 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Mar  9 20:45:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a09ce33

app-misc/todo: bump version to 2.11.0

Closes: https://bugs.gentoo.org/705306
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Ferenc Erki  gmail.com>
Signed-off-by: Patrice Clement  gentoo.org>

 app-misc/todo/Manifest |  1 +
 .../files/todo-2.11.0-fix-bash-completion.patch| 15 +
 app-misc/todo/todo-2.11.0.ebuild   | 68 ++
 3 files changed, 84 insertions(+)

diff --git a/app-misc/todo/Manifest b/app-misc/todo/Manifest
index 620b2cb65da..4be1e46c267 100644
--- a/app-misc/todo/Manifest
+++ b/app-misc/todo/Manifest
@@ -1 +1,2 @@
 DIST todo-2.10.tar.gz 56509 BLAKE2B 
ec89d12506b5025bab8d05bab1122d48ef2e9edb811c4091c1ff96b4b18c2ced54026d3d908a565278804c15c6fbde8aef3ae5a0cb23d4b12bb36133fce5bb2c
 SHA512 
b14d9d13948836d971f72b941770e8e2c59d171d35f074205900619c5c3efd7ca0a482887046c1865890afb6595fe27c69677c54ea5824163d291e16fa5329d3
+DIST todo-2.11.0.tar.gz 712455 BLAKE2B 
f9d0fa53712a49c2f6ee94c02a62c16b8184734f7bb0c9354db9d640e2f619c75e3b3468065cb51204c7872f1f155bda51b9e3387f62f0f478f80f6a99f199b4
 SHA512 
5500ed1aa10eceaaa3e5116605eed4f4228337fdc0f2ceaa5b889753a60576918c0953adbfbf80c40008d6dfdf854e8a538103bfed4d1015aa1c5a9876c2e47c

diff --git a/app-misc/todo/files/todo-2.11.0-fix-bash-completion.patch 
b/app-misc/todo/files/todo-2.11.0-fix-bash-completion.patch
new file mode 100644
index 000..254c454ab8a
--- /dev/null
+++ b/app-misc/todo/files/todo-2.11.0-fix-bash-completion.patch
@@ -0,0 +1,15 @@
+diff --git a/todo_completion b/todo_completion
+index 644be6e..964383e 100755
+--- a/todo_completion
 b/todo_completion
+@@ -85,6 +85,10 @@ _todo()
+ }
+ complete -F _todo todo.sh
+ 
++# Gentoo bug 614400
++complete -F _todo todocli
++complete -F _todo todotxt
++
+ # If you define an alias (e.g. "t") to todo.sh, you need to explicitly enable
+ # completion for it, too:
+ #complete -F _todo t

diff --git a/app-misc/todo/todo-2.11.0.ebuild b/app-misc/todo/todo-2.11.0.ebuild
new file mode 100644
index 000..4db4b749f06
--- /dev/null
+++ b/app-misc/todo/todo-2.11.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1
+
+DESCRIPTION="A CLI-based TODO list manager"
+HOMEPAGE="http://todotxt.org;
+SRC_URI="https://github.com/todotxt/${PN}.txt-cli/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="app-shells/bash"
+
+PATCHES=( "${FILESDIR}/${P}-fix-bash-completion.patch" )
+
+DOCS=( README.md CONTRIBUTING.md LICENSE todo.cfg )
+
+S="${WORKDIR}/${PN}.txt-cli-${PV}"
+
+src_prepare() {
+   default
+
+   # fix version string
+   sed -i -e "s/@DEV_VERSION@/${PV}/" todo.sh || die
+
+   # TODO_DIR variable is bogus
+   sed -i -e '/export TODO_DIR/d' todo.cfg || die
+   sed -i -e '4i export TODO_DIR="$HOME/.todo"' todo.cfg || die
+}
+
+src_test() {
+   make test || die "tests failed"
+}
+
+src_install() {
+   dobin "${PN}.sh"
+   dosym "${PN}.sh" "/usr/bin/${PN}cli"
+   dosym "${PN}.sh" "/usr/bin/${PN}txt"
+   newbashcomp "${PN}_completion" "${PN}.sh"
+   bashcomp_alias "${PN}.sh" "${PN}cli" "${PN}txt"
+   einstalldocs
+}
+
+pkg_postinst() {
+   einfo
+   einfo 'Before starting todo, make sure to create'
+   einfo 'a .todo directory in your home directory:'
+   einfo '  $ mkdir -p $HOME/.todo'
+   einfo
+   einfo 'and make sure to copy the default todo'
+   einfo 'configuration file in the same location:'
+   einfo "  $ bzcat /usr/share/doc/${PF}/todo.cfg.bz2 > 
\$HOME/.todo/config"
+   einfo
+   einfo 'Alternatively, you can use XDG directories instead:'
+   einfo '  $ mkdir -p $HOME/.local/share/todo'
+   einfo '  $ mkdir -p $HOME/.config/todo'
+   einfo "  $ bzcat /usr/share/doc/${PF}/todo.cfg.bz2 > 
\$HOME/.config/todo/config"
+   einfo
+   einfo 'You can then edit this file as you see fit.'
+   einfo 'Enjoy!'
+   einfo
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2020-03-09 Thread Patrice Clement
commit: b6cd95c553cb925b734fd17479688d04374b3d2b
Author: Ferenc Erki  gmail  com>
AuthorDate: Sun Jan 12 19:20:57 2020 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Mar  9 20:45:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6cd95c5

app-misc/todo: add myself as proxied maintainer.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Ferenc Erki  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14322
Signed-off-by: Patrice Clement  gentoo.org>

 app-misc/todo/metadata.xml | 8 
 1 file changed, 8 insertions(+)

diff --git a/app-misc/todo/metadata.xml b/app-misc/todo/metadata.xml
index 18711a51920..7c2302dd216 100644
--- a/app-misc/todo/metadata.xml
+++ b/app-misc/todo/metadata.xml
@@ -5,6 +5,14 @@
monsie...@gentoo.org
Patrice Clement

+   
+   erkifer...@gmail.com
+   Ferenc Erki
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

ginatrapani/todo.txt-cli




[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2017-12-23 Thread Patrice Clement
commit: 1e885942dcc45a620aed9ad91d7e82104bd8d544
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Dec 23 22:58:06 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Dec 23 23:00:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e885942

app-misc/todo: rename script and avoid file collision.

Closes: https://bugs.gentoo.org/610862
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-misc/todo/todo-2.10-r2.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-misc/todo/todo-2.10-r2.ebuild 
b/app-misc/todo/todo-2.10-r2.ebuild
index 6ea3e65d487..69c2994478d 100644
--- a/app-misc/todo/todo-2.10-r2.ebuild
+++ b/app-misc/todo/todo-2.10-r2.ebuild
@@ -35,10 +35,10 @@ src_test() {
 }
 
 src_install() {
-   newbin "${PN}.sh" "${PN}"
-   dosym "${PN}" "/usr/bin/${PN}txt"
-   newbashcomp "${PN}_completion" "${PN}.sh"
-   bashcomp_alias "${PN}.sh" "${PN}txt"
+   newbin "${PN}.sh" "${PN}cli"
+   dosym "${PN}cli" "/usr/bin/${PN}txt"
+   newbashcomp "${PN}_completion" "${PN}cli.sh"
+   bashcomp_alias "${PN}cli.sh" "${PN}txt"
einstalldocs
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2017-10-19 Thread Patrice Clement
commit: eecc53c409a999b827f8334fb0f8832de6bef34a
Author: Patrice Clement  gentoo  org>
AuthorDate: Thu Oct 19 08:21:34 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Oct 19 08:22:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eecc53c4

app-misc/todo: fix configuration file and display a message in the pkg_postinst 
phase.

Closes: https://bugs.gentoo.org/607946
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-misc/todo/todo-2.10-r2.ebuild | 58 +++
 1 file changed, 58 insertions(+)

diff --git a/app-misc/todo/todo-2.10-r2.ebuild 
b/app-misc/todo/todo-2.10-r2.ebuild
new file mode 100644
index 000..6ea3e65d487
--- /dev/null
+++ b/app-misc/todo/todo-2.10-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+
+PATCHES=( "${FILESDIR}/${P}-fix-bash-completion.patch" )
+
+DOCS=( README.textile CONTRIBUTING.md LICENSE todo.cfg )
+
+S="${WORKDIR}/${PN}.txt-cli-${PV}"
+
+src_prepare() {
+   default
+
+   # TODO_DIR variable is bogus
+   sed -i -e '/export TODO_DIR/d' todo.cfg || die
+   sed -i -e '4i export TODO_DIR="$HOME/.todo"' todo.cfg || die
+}
+
+src_test() {
+   make test || die "tests failed"
+}
+
+src_install() {
+   newbin "${PN}.sh" "${PN}"
+   dosym "${PN}" "/usr/bin/${PN}txt"
+   newbashcomp "${PN}_completion" "${PN}.sh"
+   bashcomp_alias "${PN}.sh" "${PN}txt"
+   einstalldocs
+}
+
+pkg_postinst() {
+   einfo
+   einfo 'Before starting todo, make sure to create'
+   einfo 'a .todo directory in your home directory:'
+   einfo '  $ mkdir -p $HOME/.todo'
+   einfo
+   einfo 'and make sure to copy the default todo'
+   einfo 'configuration file in the same location:'
+   einfo "  $ bzcat /usr/share/doc/${PF}/todo.cfg.bz2 > 
\$HOME/.todo/config"
+   einfo
+   einfo 'You can then edit this file as you see fit.'
+   einfo 'Enjoy!'
+   einfo
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2017-10-19 Thread Patrice Clement
commit: 4285b2bbd672b1f11d9dd107dc5a5ab298bb3dd5
Author: Patrice Clement  gentoo  org>
AuthorDate: Thu Oct 19 08:22:10 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Oct 19 08:22:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4285b2bb

app-misc/todo: clean up old.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-misc/todo/todo-2.10-r1.ebuild | 35 ---
 app-misc/todo/todo-2.10.ebuild| 33 -
 2 files changed, 68 deletions(-)

diff --git a/app-misc/todo/todo-2.10-r1.ebuild 
b/app-misc/todo/todo-2.10-r1.ebuild
deleted file mode 100644
index 5fa2cd242a9..000
--- a/app-misc/todo/todo-2.10-r1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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"
-
-PATCHES=( "${FILESDIR}/${P}-fix-bash-completion.patch" )
-
-S="${WORKDIR}/${PN}.txt-cli-${PV}"
-
-DOCS=( README.textile CONTRIBUTING.md LICENSE todo.cfg )
-
-src_test() {
-   make test || die "tests failed"
-}
-
-src_install() {
-   dobin "${PN}.sh"
-   dosym "/usr/bin/${PN}.sh" "/usr/bin/${PN}txt"
-   newbashcomp "${PN}_completion" "${PN}.sh"
-   bashcomp_alias "${PN}.sh" "${PN}txt"
-   einstalldocs
-}

diff --git a/app-misc/todo/todo-2.10.ebuild b/app-misc/todo/todo-2.10.ebuild
deleted file mode 100644
index 4c640236c3e..000
--- a/app-misc/todo/todo-2.10.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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() {
-   # Renaming occur due to a clash with another package.
-   # See bug 610862.
-   newbin "${PN}.sh" "${PN}txt"
-   newbashcomp "${PN}_completion" "${PN}txt"
-   einstalldocs
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/, app-misc/todo/files/

2017-04-08 Thread Patrice Clement
commit: 3ab41e097caa4a39f508aee73da35d51bb9d69c4
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Apr  8 21:56:11 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Apr  8 21:56:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab41e09

app-misc/todo: add patch to fix bash completion.

Courtesy of Ferenc Erki  gmail.com>.

Gentoo-Bug: https://bugs.gentoo.org/614400

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../todo/files/todo-2.10-fix-bash-completion.patch | 12 
 app-misc/todo/todo-2.10-r1.ebuild  | 35 ++
 2 files changed, 47 insertions(+)

diff --git a/app-misc/todo/files/todo-2.10-fix-bash-completion.patch 
b/app-misc/todo/files/todo-2.10-fix-bash-completion.patch
new file mode 100644
index 000..7e6de2f1056
--- /dev/null
+++ b/app-misc/todo/files/todo-2.10-fix-bash-completion.patch
@@ -0,0 +1,12 @@
+--- ./todo_completion  2017-04-08 15:18:23.102736966 +0200
 ./todo_completion  2017-04-08 15:18:56.839725605 +0200
+@@ -85,6 +85,9 @@
+ }
+ complete -F _todo todo.sh
+ 
++# Gentoo bug 614400
++complete -F _todo todotxt
++
+ # If you define an alias (e.g. "t") to todo.sh, you need to explicitly enable
+ # completion for it, too:
+ #complete -F _todo t

diff --git a/app-misc/todo/todo-2.10-r1.ebuild 
b/app-misc/todo/todo-2.10-r1.ebuild
new file mode 100644
index 000..5fa2cd242a9
--- /dev/null
+++ b/app-misc/todo/todo-2.10-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+
+PATCHES=( "${FILESDIR}/${P}-fix-bash-completion.patch" )
+
+S="${WORKDIR}/${PN}.txt-cli-${PV}"
+
+DOCS=( README.textile CONTRIBUTING.md LICENSE todo.cfg )
+
+src_test() {
+   make test || die "tests failed"
+}
+
+src_install() {
+   dobin "${PN}.sh"
+   dosym "/usr/bin/${PN}.sh" "/usr/bin/${PN}txt"
+   newbashcomp "${PN}_completion" "${PN}.sh"
+   bashcomp_alias "${PN}.sh" "${PN}txt"
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2017-02-25 Thread Patrice Clement
commit: 0838f25ded041b1e4dc9ad4485f0c91474261684
Author: Patrice Clement  gentoo  org>
AuthorDate: Sat Feb 25 09:14:26 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sat Feb 25 09:15:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0838f25d

app-misc/todo: rename binary due to a collision with another ebuild.

Gentoo-Bug: https://bugs.gentoo.org/610862

Package-Manager: portage-2.3.3

 app-misc/todo/todo-2.10.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-misc/todo/todo-2.10.ebuild b/app-misc/todo/todo-2.10.ebuild
index c8eefae79b..1d1dc174c7 100644
--- a/app-misc/todo/todo-2.10.ebuild
+++ b/app-misc/todo/todo-2.10.ebuild
@@ -26,7 +26,9 @@ src_test() {
 }
 
 src_install() {
-   newbin "${PN}.sh" "${PN}"
-   newbashcomp "${PN}_completion" "${PN}"
+   # Renaming occur due to a clash with another package.
+   # See bug 610862.
+   newbin "${PN}.sh" "${PN}txt"
+   newbashcomp "${PN}_completion" "${PN}txt"
einstalldocs
 }



[gentoo-commits] repo/gentoo:master commit in: app-misc/todo/

2017-01-29 Thread Patrice Clement
commit: c24a30d6ce67243dd8589592d15b3a0eba3a0bf9
Author: Patrice Clement  gentoo  org>
AuthorDate: Sun Jan 29 21:32:46 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Jan 29 21:33:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24a30d6

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

 app-misc/todo/Manifest |  1 +
 app-misc/todo/metadata.xml |  8 
 app-misc/todo/todo-2.10.ebuild | 32 
 3 files changed, 41 insertions(+)

diff --git a/app-misc/todo/Manifest b/app-misc/todo/Manifest
new file mode 100644
index ..1a302b9
--- /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 ..58c1077
--- /dev/null
+++ b/app-misc/todo/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   monsie...@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 ..c8eefae
--- /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
+}