summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-18 18:03:17 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-18 19:08:50 +0100
commitf6d0ed6e6f6b16f6b7fd3d4ceb10fc58ed8f456b (patch)
treeace5e6a25fdd67ea3dbb2ae882254ce7a1eef8f2 /dev-vcs
parentdev-python/pytest-xdist: disable test_xfail_passes (diff)
downloadgentoo-f6d0ed6e6f6b16f6b7fd3d4ceb10fc58ed8f456b.tar.gz
gentoo-f6d0ed6e6f6b16f6b7fd3d4ceb10fc58ed8f456b.tar.bz2
gentoo-f6d0ed6e6f6b16f6b7fd3d4ceb10fc58ed8f456b.zip
dev-vcs/git-bzr-ng: python-single-r1, EAPI=6
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git-bzr-ng/git-bzr-ng-0_pre20120822-r1.ebuild (renamed from dev-vcs/git-bzr-ng/git-bzr-ng-0_pre20120822.ebuild)19
1 files 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
index 8d6457a39722..328aad8ad6e3 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() {