You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
8 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
8 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
8 years ago
|
PYTHON_COMPAT=( python{2_7,3_4} )
|
||
8 years ago
|
|
||
|
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}]
|
||
8 years ago
|
dev-python/jira[${PYTHON_USEDEP},oauth]
|
||
8 years ago
|
dev-python/suds[${PYTHON_USEDEP}]
|
||
8 years ago
|
>=dev-python/keyring-10.0.2-r1[${PYTHON_USEDEP}]
|
||
|
dev-python/keyrings_alt[${PYTHON_USEDEP}]"
|
||
8 years ago
|
|
||
|
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"
|
||
|
|
||
8 years ago
|
python_prepare_all() {
|
||
|
sed -i -e '/ordereddict/d' -e '/argparse/d' requirements/main.txt || die
|
||
|
distutils-r1_python_prepare_all
|
||
|
}
|
||
|
|
||
8 years ago
|
python_test() {
|
||
|
nosetests || die
|
||
|
}
|