commit:     e2a3ae48f423ee381ab385912810275327da255f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 19 08:54:54 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 11:08:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2a3ae48

dev-python/pygit2: Use eapi7-ver.eclass

 dev-python/pygit2/pygit2-0.26.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pygit2/pygit2-0.26.0.ebuild 
b/dev-python/pygit2/pygit2-0.26.0.ebuild
index a88aff4993c..f250bd2d58d 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}]
 "

Reply via email to