commit:     da7f11be599fbf00fb37ae73df29cfec06209c65
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 18 06:42:31 2014 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Fri Jul 18 06:42:31 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=da7f11be

Initial commit of git-review

---
 dev-vcs/git-review/git-review-scm.ebuild | 47 ++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/dev-vcs/git-review/git-review-scm.ebuild 
b/dev-vcs/git-review/git-review-scm.ebuild
new file mode 100644
index 0000000..43aabdd
--- /dev/null
+++ b/dev-vcs/git-review/git-review-scm.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1 git-r3
+
+DESCRIPTION="Tool to submit code to Gerrit"
+HOMEPAGE="https://git.openstack.org/cgit/openstack-infra/git-review";
+EGIT_REPO_URI="https://git.openstack.org/openstack-infra/git-review
+       git://git.openstack.org/openstack-infra/git-review"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+CDEPEND=">=dev-python/requests-1.1[${PYTHON_USEDEP}]
+       virtual/python-argparse[${PYTHON_USEDEP}]"
+DEPEND="${CDEPEND}
+       dev-python/pbr[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( >=dev-python/tox-1.7.2[${PYTHON_USEDEP}]
+               >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
+               >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+               >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
+               dev-python/testscenarios[${PYTHON_USEDEP}] )"
+RDEPEND="${CDEPEND}
+       dev-vcs/git"
+
+RESTRICT="test"
+
+python_prepare_all() {
+       # is not used, resp. always included starting with py-2.7
+       sed -i \
+               -e '/hacking/d' \
+               -e '/discover/d' \
+               test-requirements.txt || die
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       tox || die
+}

Reply via email to