summaryrefslogtreecommitdiff
path: root/dev-python/taskw/taskw-1.1.0.ebuild
blob: b471321b9feae14b3a0f4ee15cfd5cc46a078d5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 2016 Kenny Ballou
# Distributed under the terms of the GNU General Public License v3
# $Id$

EAPI=6
PYTHON_COMPAT=(python2_7)

inherit distutils-r1

MY_P=${PN}_${PV}

DESCRIPTION="Python API for the Taskwarrior command line tool"
HOMEPAGE="https://github.com/ralphbean/taskw"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"

RDEPEND="dev-python/six[${PYTHON_USEDEP}]
		 dev-python/python-dateutil[${PYTHON_USEDEP}]
		 dev-python/pytz[${PYTHON_USEDEP}]
		 dev-python/kitchen[${PYTHON_USEDEP}]
		 test? ( dev-python/nose[${PYTHON_USEDEP}]
				 dev-python/tox[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
		dev-python/setuptools[${PYTHON_USEDEP}]"

python_test() {
	nosetests || die
}