logo

overlay

My (experimental) gentoo overlay
commit: 142fd015ef1a48ec2abbc8f086b15965261ec40f
parent: 15d5a4430d26f5e55ecba24b1c690316e828236b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat,  2 Jun 2018 15:06:48 +0200

app-misc/todoman: New Package

See: https://bugs.gentoo.org/601386

Diffstat:

Aapp-misc/todoman/Manifest1+
Aapp-misc/todoman/metadata.xml11+++++++++++
Aapp-misc/todoman/todoman-3.4.0.ebuild46++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/app-misc/todoman/Manifest b/app-misc/todoman/Manifest @@ -0,0 +1 @@ +DIST todoman-3.4.0.tar.gz 59254 BLAKE2B f6e0be584828fe9b403917ea26faaa2883c03a8e9aa1a52fe7df5445a6312c6d5396ebd7090a28ba3fc4c05701673a3161e330424198382b1867f65f22cb382f SHA512 6d49416f35f5f4375e861d9f20e0076813faed6aa8b02b63de331c3c11ffd27902db10bd7a1ed455075ec09feff24ca5500b7eb348486bcb3250dbbf503a4ade diff --git a/app-misc/todoman/metadata.xml b/app-misc/todoman/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> +</maintainer> +<use> + <flag name="repl">Add support for REPL (~shell)</flag> +</use> +</pkgmetadata> diff --git a/app-misc/todoman/todoman-3.4.0.ebuild b/app-misc/todoman/todoman-3.4.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=(python{3_4,3_5,3_6}) + +inherit distutils-r1 bash-completion-r1 + +DESCRIPTION="A simple CalDav-based todo manager" +HOMEPAGE="https://github.com/pimutils/todoman" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="ISC" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="bash-completion test repl zsh-completion" + +RDEPEND=">=dev-python/click-6.0[${PYTHON_USEDEP}] + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/humanize[${PYTHON_USEDEP}] + dev-python/icalendar[${PYTHON_USEDEP}] + dev-python/urwid[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/parsedatetime[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/click-log-0.2.1[${PYTHON_USEDEP}] + repl? ( dev-python/click-repl[${PYTHON_USEDEP}] )" + +DEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( dev-python/pytest-runner[${PYTHON_USEDEP}] )" + +DOCS=( docs/source/contributing.rst README.rst todoman.conf.sample ) + +src_install() { + distutils-r1_src_install + + dobashcomp contrib/completion/bash/_todo + + if use zsh-completion; then + insinto /usr/share/zsh/site-functions + doins contrib/completion/zsh/_todo + fi +}