From: Michał Górny Date: Tue, 19 Sep 2017 08:54:54 +0000 (+0200) Subject: dev-python/pygit2: Use eapi7-ver.eclass X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e2a3ae48f423ee381ab385912810275327da255f;p=gentoo.git dev-python/pygit2: Use eapi7-ver.eclass --- diff --git a/dev-python/pygit2/pygit2-0.26.0.ebuild b/dev-python/pygit2/pygit2-0.26.0.ebuild index a88aff4993c4..f250bd2d58d2 100644 --- a/dev-python/pygit2/pygit2-0.26.0.ebuild +++ b/dev-python/pygit2/pygit2-0.26.0.ebuild @@ -4,7 +4,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) -inherit distutils-r1 versionator +inherit distutils-r1 eapi7-ver DESCRIPTION="Python bindings for libgit2" HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.python.org/pypi/pygit2" @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" - =dev-libs/libgit2-$(get_version_component_range 1-2)* + =dev-libs/libgit2-$(ver_cut 1-2)* >=dev-python/cffi-1.0:=[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] "