Skip to content

Commit

Permalink
app-portage/distpatch: python3 support. drop python2. bug #694576
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Rafael Martins <[email protected]>
  • Loading branch information
Rafael Martins committed Feb 26, 2020
1 parent 0a4ba83 commit 9dca59f
Show file tree
Hide file tree
Showing 2 changed files with 427 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

PYTHON_COMPAT=( python2_7 )
PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_USE_SETUPTOOLS=bdepend

inherit distutils-r1

Expand All @@ -16,10 +17,10 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

CDEPEND="
PATCHES=( "${FILESDIR}/${PN}-python3-support.patch" )

DEPEND="
>=sys-apps/portage-2.1.8.3[${PYTHON_USEDEP}]
dev-python/snakeoil[${PYTHON_USEDEP}]"
DEPEND="${CDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${CDEPEND}
>=dev-util/diffball-1.0.1"
Loading

0 comments on commit 9dca59f

Please sign in to comment.