From c74b4accea8f2e8a64f253d4d5bb9e26dbb9acdc Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Mon, 20 Aug 2018 09:16:11 +0300 Subject: [PATCH] dev-python/python-virtkey: fix invalid dev-libs/glib[$PYTHON_USEDEP] dep Use eapi7-ver instead of versionator while here Package-Manager: Portage-2.3.47, Repoman-2.3.10 --- ...y-0.60.0-r1.ebuild => python-virtkey-0.60.0-r2.ebuild} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename dev-python/python-virtkey/{python-virtkey-0.60.0-r1.ebuild => python-virtkey-0.60.0-r2.ebuild} (68%) diff --git a/dev-python/python-virtkey/python-virtkey-0.60.0-r1.ebuild b/dev-python/python-virtkey/python-virtkey-0.60.0-r2.ebuild similarity index 68% rename from dev-python/python-virtkey/python-virtkey-0.60.0-r1.ebuild rename to dev-python/python-virtkey/python-virtkey-0.60.0-r2.ebuild index b1a384ee576f..b4cfca78c478 100644 --- a/dev-python/python-virtkey/python-virtkey-0.60.0-r1.ebuild +++ b/dev-python/python-virtkey/python-virtkey-0.60.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -6,11 +6,11 @@ EAPI=5 PYTHON_COMPAT=( python2_7 ) DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 flag-o-matic versionator +inherit distutils-r1 eapi7-ver flag-o-matic DESCRIPTION="Python module to simulate keypresses and get current keyboard layout" HOMEPAGE="https://launchpad.net/virtkey" -SRC_URI="https://launchpad.net/python-virtkey/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" +SRC_URI="https://launchpad.net/python-virtkey/$(ver_cut 1-2)/${PV}/+download/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" @@ -18,7 +18,7 @@ KEYWORDS="amd64 x86" IUSE="" RDEPEND=" - dev-libs/glib:2[${PYTHON_USEDEP}] + dev-libs/glib:2 x11-libs/libX11 x11-libs/libXtst x11-libs/gtk+:2" -- 2.26.2