From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2CF34138334 for ; Sun, 17 Mar 2019 20:09:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20DDEE0905; Sun, 17 Mar 2019 20:09:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED5A8E0905 for ; Sun, 17 Mar 2019 20:09:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BEA3F335D19 for ; Sun, 17 Mar 2019 20:09:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 66FAD326 for ; Sun, 17 Mar 2019 20:09:07 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1552853341.6126025d9e083171a54d571de461f7eee348e485.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mate-base/mate-menus/ X-VCS-Repository: repo/gentoo X-VCS-Files: mate-base/mate-menus/mate-menus-1.22.0.ebuild X-VCS-Directories: mate-base/mate-menus/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 6126025d9e083171a54d571de461f7eee348e485 X-VCS-Branch: master Date: Sun, 17 Mar 2019 20:09:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 476f11dd-85fb-47ed-8883-a571206e8e50 X-Archives-Hash: bdef9af36659372ab0db9d7a044adc2e commit: 6126025d9e083171a54d571de461f7eee348e485 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Mar 17 20:07:01 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sun Mar 17 20:09:01 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6126025d mate-base/mate-menus: Drop python support (now obsolete) Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 mate-base/mate-menus/mate-menus-1.22.0.ebuild | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/mate-base/mate-menus/mate-menus-1.22.0.ebuild b/mate-base/mate-menus/mate-menus-1.22.0.ebuild index 9f30adb69d6..41f8745853e 100644 --- a/mate-base/mate-menus/mate-menus-1.22.0.ebuild +++ b/mate-base/mate-menus/mate-menus-1.22.0.ebuild @@ -4,9 +4,8 @@ EAPI=6 GNOME2_LA_PUNT="yes" -PYTHON_COMPAT=( python2_7 ) -inherit python-r1 mate +inherit mate if [[ ${PV} != 9999 ]]; then KEYWORDS="~amd64 ~arm ~arm64 ~x86" @@ -22,11 +21,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" COMMON_DEPEND=">=dev-libs/glib-2.50:2 virtual/libintl - introspection? ( >=dev-libs/gobject-introspection-0.6.7:= ) - python? ( - dev-python/pygtk:2[${PYTHON_USEDEP}] - ${PYTHON_DEPS} - )" + introspection? ( >=dev-libs/gobject-introspection-0.6.7:= )" RDEPEND="${COMMON_DEPEND}" @@ -35,30 +30,16 @@ DEPEND="${COMMON_DEPEND} sys-devel/gettext:* virtual/pkgconfig:*" -src_prepare() { - mate_src_prepare - use python && python_copy_sources -} - src_configure() { # Do NOT compile with --disable-debug/--enable-debug=no as it disables API # usage checks. - mate_py_cond_func_wrap mate_src_configure \ + mate_src_configure \ --enable-debug=$(usex debug yes minimum) \ - $(use_enable python) \ $(use_enable introspection) } -src_compile() { - mate_py_cond_func_wrap default -} - -src_test() { - mate_py_cond_func_wrap emake check -} - src_install() { - mate_py_cond_func_wrap mate_src_install + mate_src_install exeinto /etc/X11/xinit/xinitrc.d/ doexe "${FILESDIR}/10-xdg-menu-mate"