From b310e7a994fc92a66c99604d4b2ee641fa0054ed Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 9 Sep 2020 12:31:18 +0200 Subject: media-libs/libkate: Eradicate wxwidgets (python2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/735386 Signed-off-by: Michał Górny --- media-libs/libkate/libkate-0.4.1-r4.ebuild | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'media-libs') diff --git a/media-libs/libkate/libkate-0.4.1-r4.ebuild b/media-libs/libkate/libkate-0.4.1-r4.ebuild index 21c8c8a455aa..18704d8cba5d 100644 --- a/media-libs/libkate/libkate-0.4.1-r4.ebuild +++ b/media-libs/libkate/libkate-0.4.1-r4.ebuild @@ -3,8 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 ) -inherit multilib-minimal python-single-r1 +inherit multilib-minimal DESCRIPTION="Codec for karaoke and text encapsulation for Ogg" HOMEPAGE="https://code.google.com/p/libkate/" @@ -14,31 +13,18 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 ~sparc x86" -IUSE="debug doc wxwidgets" -REQUIRED_USE="wxwidgets? ( ${PYTHON_REQUIRED_USE} )" +IUSE="debug doc" -COMMON_DEPEND=" +RDEPEND=" media-libs/libogg:=[${MULTILIB_USEDEP}] media-libs/libpng:0=[${MULTILIB_USEDEP}] " -DEPEND="${COMMON_DEPEND} +DEPEND="${RDEPEND} virtual/pkgconfig sys-devel/flex[${MULTILIB_USEDEP}] sys-devel/bison doc? ( app-doc/doxygen ) " -RDEPEND="${COMMON_DEPEND} - wxwidgets? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/wxpython:3.0[${PYTHON_MULTI_USEDEP}] - ') - media-libs/liboggz ) -" - -pkg_setup() { - use wxwidgets && python-single-r1_pkg_setup -} multilib_src_configure() { local ECONF_SOURCE=${S} @@ -46,11 +32,10 @@ multilib_src_configure() { --disable-static \ $(use_enable debug) \ $(multilib_native_use_enable doc) \ - $(multilib_native_usex wxwidgets '' 'PYTHON=:') + PYTHON=: } multilib_src_install_all() { einstalldocs find "${D}" -name '*.la' -delete || die - use wxwidgets && python_fix_shebang "${D}" } -- cgit v1.2.3-65-gdbad