dev-util/gertty: add git master version
authorMatthew Thode <prometheanfire@gentoo.org>
Mon, 22 Apr 2019 02:06:53 +0000 (21:06 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Mon, 22 Apr 2019 02:07:18 +0000 (21:07 -0500)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
dev-util/gertty/gertty-9999.ebuild [new file with mode: 0644]

diff --git a/dev-util/gertty/gertty-9999.ebuild b/dev-util/gertty/gertty-9999.ebuild
new file mode 100644 (file)
index 0000000..c59d3ed
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Gertty is a console-based interface to the Gerrit Code Review system."
+HOMEPAGE="https://pypi.org/project/gertty/"
+if [[ ${PV} == *9999 ]];then
+       inherit git-r3
+       EGIT_REPO_URI="https://opendev.org/ttygroup/gertty"
+       EGIT_BRANCH="master"
+else
+       SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+SLOT="0"
+IUSE=""
+
+CDEPEND=">=dev-python/pbr-0.11[${PYTHON_USEDEP}]"
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       ${CDEPEND}"
+RDEPEND="
+       ${CDEPEND}
+       >=dev-python/urwid-1.2.1[${PYTHON_USEDEP}]
+       !~dev-python/urwid-1.3.0[${PYTHON_USEDEP}]
+       >=dev-python/sqlalchemy-1.0.4[${PYTHON_USEDEP}]
+       >=dev-python/git-python-0.3.7[${PYTHON_USEDEP}]
+       dev-python/python-dateutil[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.5.3[${PYTHON_USEDEP}]
+       <dev-python/requests-3.0.0[${PYTHON_USEDEP}]
+       dev-python/ordereddict[${PYTHON_USEDEP}]
+       >=dev-python/alembic-0.6.4[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
+       >=dev-python/voluptuous-0.7[${PYTHON_USEDEP}]
+       >=dev-python/ply-3.4[${PYTHON_USEDEP}]
+       dev-python/six[${PYTHON_USEDEP}]"