dev-python/pygit2: Use eapi7-ver.eclass
authorMichał Górny <mgorny@gentoo.org>
Tue, 19 Sep 2017 08:54:54 +0000 (10:54 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 19 Sep 2017 11:08:27 +0000 (13:08 +0200)
dev-python/pygit2/pygit2-0.26.0.ebuild

index a88aff4993c465ab2028a5889c67130272b01e28..f250bd2d58d231144730c8fc782484dbccdb9998 100644 (file)
@@ -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}]
 "