blob: 8965187ccee3512fd869c91daeddf78cb346d925 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit distutils-r1
DESCRIPTION="Simple command line utility to interact with your jira instance"
HOMEPAGE="https://github.com/alisaifee/jira-cli"
SRC_URI="https://github.com/alisaifee/jira-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}
dev-python/requests[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/jira[${PYTHON_USEDEP},oauth]
dev-python/suds[${PYTHON_USEDEP}]
>=dev-python/keyring-10.0.2-r1[${PYTHON_USEDEP}]
dev-python/keyrings_alt[${PYTHON_USEDEP}]"
DEPEND="${CDEPEND}
test? ( ${RDEPEND}
>=dev-python/coverage-4.0.3[${PYTHON_USEDEP}]
dev-python/hiro[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
>=dev-python/vcrpy-1.7.4[${PYTHON_USEDEP}] )"
RESTRICT="test"
python_prepare_all() {
sed -i -e '/ordereddict/d' -e '/argparse/d' requirements/main.txt || die
distutils-r1_python_prepare_all
}
python_test() {
nosetests || die
}
|