add todoist-python-8.0.2

This commit is contained in:
2019-10-07 21:38:21 +02:00
parent becc4fca2a
commit 0d08db17cb
3 changed files with 51 additions and 0 deletions
@@ -0,0 +1,32 @@
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
# Distributed under the terms of the GNU General Public License v3.0
EAPI="7"
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
MY_P=${PN/-/_}-${PV}
DESCRIPTION="todoist-python - The official Todoist Python API library"
HOMEPAGE=" https://pypi.org/project/todoist-python/"
SRC_URI="https://github.com/Doist/${PN}/archive/${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=""
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}