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 64976138359 for ; Fri, 25 Sep 2020 20:32:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F5FBE085B; Fri, 25 Sep 2020 20:32:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 4AB2FE085B for ; Fri, 25 Sep 2020 20:32:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6F624340D32 for ; Fri, 25 Sep 2020 20:32:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C45F0397 for ; Fri, 25 Sep 2020 20:32:51 +0000 (UTC) From: "Adam Feldman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Adam Feldman" Message-ID: <1601065956.57866a6cee443d6edbfe1e9c7d62105f85e0382f.np-hardass@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/mozo/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/mozo/mozo-1.24.0-r1.ebuild X-VCS-Directories: x11-misc/mozo/ X-VCS-Committer: np-hardass X-VCS-Committer-Name: Adam Feldman X-VCS-Revision: 57866a6cee443d6edbfe1e9c7d62105f85e0382f X-VCS-Branch: master Date: Fri, 25 Sep 2020 20:32:51 +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: 9a2144fa-b3d2-48e2-af2e-d86f5dc99115 X-Archives-Hash: a8448b03f5395ae0f20461312ca7d3f6 commit: 57866a6cee443d6edbfe1e9c7d62105f85e0382f Author: Adam Feldman gentoo org> AuthorDate: Sun Sep 6 22:28:14 2020 +0000 Commit: Adam Feldman gentoo org> CommitDate: Fri Sep 25 20:32:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57866a6c x11-misc/mozo: Update python, fix deps Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Adam Feldman gentoo.org> x11-misc/mozo/mozo-1.24.0-r1.ebuild | 69 +++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/x11-misc/mozo/mozo-1.24.0-r1.ebuild b/x11-misc/mozo/mozo-1.24.0-r1.ebuild new file mode 100644 index 00000000000..8977a145b15 --- /dev/null +++ b/x11-misc/mozo/mozo-1.24.0-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) +PYTHON_REQ_USE="xml" + +inherit mate python-r1 + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +DESCRIPTION="Mozo menu editor for MATE" +LICENSE="GPL-2+ GPL-3+ LGPL-2+ LGPL-2.1+" +SLOT="0" +IUSE="" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +COMMON_DEPEND="${PYTHON_DEPS} + >=dev-python/pygobject-3:3[${PYTHON_USEDEP}] + >=mate-base/mate-menus-1.21.0[introspection] + x11-libs/gdk-pixbuf:2[introspection] + >=x11-libs/gtk+-3.22:3[introspection] + !!x11-misc/mate-menu-editor +" + +RDEPEND="${COMMON_DEPEND} + virtual/libintl +" + +DEPEND="${COMMON_DEPEND} + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_prepare() { + mate_src_prepare + python_copy_sources +} + +src_configure() { + python_foreach_impl run_in_build_dir mate_src_configure \ + --disable-icon-update +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_test() { + python_foreach_impl run_in_build_dir emake check +} + +src_install() { + installing() { + mate_src_install + + # Massage shebang to make python_doscript happy + sed -e 's:#! '"${PYTHON}:#!/usr/bin/python:" \ + -i mozo || die + + python_doscript mozo + python_optimize + } + + python_foreach_impl run_in_build_dir installing +}