commit:     1ba383b2ead494d913c191b028014446a478c836
Author:     Dirkjan Ochtman <dirkjan <AT> ochtman <DOT> nl>
AuthorDate: Fri May 13 10:09:40 2016 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Fri May 13 10:09:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ba383b2

dev-vcs/hgsubversion: update live ebuild

Package-Manager: portage-2.2.28

 dev-vcs/hgsubversion/hgsubversion-9999.ebuild | 35 ++++++++-------------------
 1 file changed, 10 insertions(+), 25 deletions(-)

diff --git a/dev-vcs/hgsubversion/hgsubversion-9999.ebuild 
b/dev-vcs/hgsubversion/hgsubversion-9999.ebuild
index 3b08abf..9f901ad 100644
--- a/dev-vcs/hgsubversion/hgsubversion-9999.ebuild
+++ b/dev-vcs/hgsubversion/hgsubversion-9999.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
 
-inherit distutils mercurial
+inherit distutils-r1 mercurial
 
 DESCRIPTION="hgsubversion is a Mercurial extension for working with Subversion 
repositories"
 HOMEPAGE="https://bitbucket.org/durin42/hgsubversion/wiki/Home 
https://pypi.python.org/pypi/hgsubversion";
@@ -19,25 +17,12 @@ SLOT="0"
 KEYWORDS=""
 IUSE="test"
 
-RDEPEND="
-       >=dev-vcs/mercurial-1.4
+RDEPEND="dev-vcs/mercurial[${PYTHON_USEDEP}]
        || (
-               dev-python/subvertpy
+               dev-python/subvertpy[${PYTHON_USEDEP}]
                >=dev-vcs/subversion-1.5[python]
-       )
-"
-DEPEND="
-       dev-python/setuptools
-       test? ( dev-python/nose )
-"
+       )"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+               test? ( dev-python/nose[${PYTHON_USEDEP}] )"
 
-DOCS="README"
-
-src_test() {
-       cd tests
-
-       testing() {
-               PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" run.py
-       }
-       python_execute_function testing
-}
+DOCS=( README )

Reply via email to