From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4295513877A for ; Fri, 18 Jul 2014 06:42:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4974E0880; Fri, 18 Jul 2014 06:42:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53C2AE0880 for ; Fri, 18 Jul 2014 06:42:40 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 85BAD3401F6 for ; Fri, 18 Jul 2014 06:42:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 422B21807D for ; Fri, 18 Jul 2014 06:42:38 +0000 (UTC) From: "Tiziano Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tiziano Müller" Message-ID: <1405665751.da7f11be599fbf00fb37ae73df29cfec06209c65.dev-zero@gentoo> Subject: [gentoo-commits] dev/dev-zero:master commit in: dev-vcs/git-review/ X-VCS-Repository: dev/dev-zero X-VCS-Files: dev-vcs/git-review/git-review-scm.ebuild X-VCS-Directories: dev-vcs/git-review/ X-VCS-Committer: dev-zero X-VCS-Committer-Name: Tiziano Müller X-VCS-Revision: da7f11be599fbf00fb37ae73df29cfec06209c65 X-VCS-Branch: master Date: Fri, 18 Jul 2014 06:42:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 103b4819-81ff-4851-837b-35d03b63a950 X-Archives-Hash: 8a02572e569bc545273b2502b6d224f2 commit: da7f11be599fbf00fb37ae73df29cfec06209c65 Author: Tiziano Müller gentoo org> AuthorDate: Fri Jul 18 06:42:31 2014 +0000 Commit: Tiziano Müller gentoo 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 +}