dev-python/pyudev: Remove py2
authorMichał Górny <mgorny@gentoo.org>
Wed, 5 Feb 2020 20:56:52 +0000 (21:56 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 5 Feb 2020 21:21:24 +0000 (22:21 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/pyudev/pyudev-0.21.0.ebuild

index 88016e8f0f94fb5a746a8b9f2effe2ba8db98f68..684711ee05ca263e915eee7b6d4075f472c3b01d 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 
 inherit distutils-r1
 
@@ -13,14 +13,12 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 arm ~arm64 ~mips x86"
-IUSE="pygobject qt5 test"
+IUSE="qt5 test"
 RESTRICT="!test? ( test )"
-REQUIRED_USE="pygobject? ( || ( $(python_gen_useflags 'python2*') ) )"
 
 RDEPEND="
        dev-python/six[${PYTHON_USEDEP}]
        virtual/udev
-       pygobject? ( dev-python/pygobject:2[$(python_gen_usedep 'python2*')] )
        qt5? ( dev-python/PyQt5[${PYTHON_USEDEP}] )
 "
 DEPEND="${RDEPEND}