commit:     f6d0ed6e6f6b16f6b7fd3d4ceb10fc58ed8f456b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 17:03:17 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 18:08:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d0ed6e

dev-vcs/git-bzr-ng: python-single-r1, EAPI=6

 ...0822.ebuild => git-bzr-ng-0_pre20120822-r1.ebuild} | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

diff --git a/dev-vcs/git-bzr-ng/git-bzr-ng-0_pre20120822.ebuild 
b/dev-vcs/git-bzr-ng/git-bzr-ng-0_pre20120822-r1.ebuild
similarity index 67%
rename from dev-vcs/git-bzr-ng/git-bzr-ng-0_pre20120822.ebuild
rename to dev-vcs/git-bzr-ng/git-bzr-ng-0_pre20120822-r1.ebuild
index 8d6457a397..328aad8ad6 100644
--- a/dev-vcs/git-bzr-ng/git-bzr-ng-0_pre20120822.ebuild
+++ b/dev-vcs/git-bzr-ng/git-bzr-ng-0_pre20120822-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
+EAPI=6
 
-PYTHON_DEPEND="2"
+PYTHON_COMPAT=( python2_7 )
 
-inherit python
+inherit python-single-r1
 
 DESCRIPTION="Git subcommand providing a bidirectional bridge to Bazaar 
repositories"
 HOMEPAGE="https://github.com/termie/git-bzr-ng";
@@ -19,17 +19,12 @@ IUSE=""
 
 RDEPEND=">=dev-vcs/bzr-2.2
        dev-vcs/git
-       >=dev-vcs/bzr-fastimport-0.10
-       dev-python/python-fastimport"
+       >=dev-vcs/bzr-fastimport-0.10"
 DEPEND="app-arch/xz-utils"
 
-pkg_setup() {
-       python_set_active_version 2
-       python_pkg_setup
-}
-
 src_prepare() {
-       python_convert_shebangs 2 git-bzr
+       eapply_user
+       python_fix_shebang git-bzr
 }
 
 src_install() {

Reply via email to