dev-util/glib-utils: drop python2 from compat
authorMart Raudsepp <leio@gentoo.org>
Mon, 20 Aug 2018 06:39:46 +0000 (09:39 +0300)
committerMart Raudsepp <leio@gentoo.org>
Mon, 20 Aug 2018 06:39:46 +0000 (09:39 +0300)
python2 handles non-utf8 files badly for glib-mkenums, while
it seems to be just a warning with python3. So drop python2
support, at least for now.
Before it was kept due to bad glib[$PYTHON_USEDEP] deps, when
mkenums was part of dev-libs/glib, but that's not a concern
with this new package.

Bug: https://bugs.gentoo.org/647892
Package-Manager: Portage-2.3.47, Repoman-2.3.10

dev-util/glib-utils/glib-utils-2.56.2.ebuild

index fb52a8b8a925b3948808078b791fb4561e4fc095..29a579b0b9e5872b2a4d0b06ba5eac23681f8dbe 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_5,3_6,3_7} )
+PYTHON_COMPAT=( python{3_5,3_6,3_7} )
 GNOME_ORG_MODULE="glib"
 
 inherit gnome.org python-single-r1