kde-plasma/breeze-gtk: Switch to python-r1
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 13 Feb 2019 13:31:07 +0000 (14:31 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 13 Feb 2019 13:31:48 +0000 (14:31 +0100)
Closes: https://bugs.gentoo.org/677864
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

kde-plasma/breeze-gtk/breeze-gtk-5.15.0.ebuild

index dce2075500b2550083a163fe7f3a98d2e2f56192..c8a7ee800a867e7c44f00985d3ed3a928b7589f4 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6,7} )
-inherit kde5 python-any-r1
+inherit kde5 python-r1
 
 DESCRIPTION="Official GTK+ port of Plasma's Breeze widget style"
 HOMEPAGE="https://cgit.kde.org/breeze-gtk.git"
@@ -12,13 +12,15 @@ LICENSE="LGPL-2.1+"
 KEYWORDS="~amd64 ~arm ~x86"
 IUSE=""
 
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
 BDEPEND="${PYTHON_DEPS}
        $(add_plasma_dep breeze)
-       $(python_gen_any_dep 'dev-python/pycairo[${PYTHON_USEDEP}]')
+       dev-python/pycairo[${PYTHON_USEDEP}]
        dev-ruby/sass
 "
 
 pkg_setup() {
-       python-any-r1_pkg_setup
+       python_setup
        kde5_pkg_setup
 }