From e2a3ae48f423ee381ab385912810275327da255f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 19 Sep 2017 10:54:54 +0200 Subject: [PATCH] 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 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}] " -- 2.26.2