summaryrefslogtreecommitdiff
path: root/app-misc/jira-cli
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/jira-cli')
-rw-r--r--app-misc/jira-cli/Manifest3
-rw-r--r--app-misc/jira-cli/jira-cli-2.1.5.ebuild46
-rw-r--r--app-misc/jira-cli/metadata.xml8
3 files changed, 57 insertions, 0 deletions
diff --git a/app-misc/jira-cli/Manifest b/app-misc/jira-cli/Manifest
new file mode 100644
index 000000000000..dcb3da86e3f1
--- /dev/null
+++ b/app-misc/jira-cli/Manifest
@@ -0,0 +1,3 @@
+DIST jira-cli-2.1.5.tar.gz 122947 BLAKE2B 981f2df0e695da4c7a1db312f148f848f633a65a4fdf74e0235bfc69c1940697558a3c0ab49cab85ea7c7833e7c7ee754d6cd8db01a90370250ec46a8c66d0ee SHA512 8d8cad01d93fcca63ac9420856bca4825bba1e1954e674378c2a3f501c7716125afbda96c5ef12ba4d90e4e771b1d80165aaff1db883af5706510476bd9d8799
+EBUILD jira-cli-2.1.5.ebuild 1227 BLAKE2B d45b3945ec815be085357a6dd94ec20bbf74ca96248c44cc70e6e554a8131df6a2d3d0ebe9e33a7cae53c0f79d2c152a58ea55a50dc6e15d57ada9ce33b03828 SHA512 27db6baac917b364e22338653a4957d92bee9a94bd6cd3221dad41c5500d553a664f9a33f60ca4902fdd8aef9a2633936ff4b14890979c8bda35331d7daa7c55
+MISC metadata.xml 250 BLAKE2B e7d7932fc0bcee598bd952a4eae1b4d987781e4760bbff47cf76fb07cd0c20e11c5f4cd2435a142a95061903894fe4f19436b90dbc2b90fa0a69916e98da2d7a SHA512 a83961ae0675dc47814c64d67093438c96266c1714be601841bc2836dabc9b1ae8fb9c9f2c6f412f2b88aee8b3638648ea9232f7c49faa4c88f1bd4ea00a02bd
diff --git a/app-misc/jira-cli/jira-cli-2.1.5.ebuild b/app-misc/jira-cli/jira-cli-2.1.5.ebuild
new file mode 100644
index 000000000000..8965187ccee3
--- /dev/null
+++ b/app-misc/jira-cli/jira-cli-2.1.5.ebuild
@@ -0,0 +1,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
+}
diff --git a/app-misc/jira-cli/metadata.xml b/app-misc/jira-cli/metadata.xml
new file mode 100644
index 000000000000..1b73437545ed
--- /dev/null
+++ b/app-misc/jira-cli/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">alisaifee/jira-cli</remote-id>
+ </upstream>
+</pkgmetadata>