Gentoo Archives: gentoo-commits

From: Adam Feldman <np-hardass@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/mozo/
Date: Wed, 30 Jun 2021 22:43:20
Message-Id: 1625092910.289a0c457ab94542158a6ba8d4e851d452382bc7.np-hardass@gentoo
1 commit: 289a0c457ab94542158a6ba8d4e851d452382bc7
2 Author: Adam Feldman <NP-Hardass <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 15:19:47 2021 +0000
4 Commit: Adam Feldman <np-hardass <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 30 22:41:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289a0c45
7
8 x11-misc/mozo: Bump to 1.24.1
9
10 Bug: https://bugs.gentoo.org/778857
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Adam Feldman <NP-Hardass <AT> gentoo.org>
13
14 x11-misc/mozo/Manifest | 1 +
15 x11-misc/mozo/mozo-1.24.1.ebuild | 69 ++++++++++++++++++++++++++++++++++++++++
16 2 files changed, 70 insertions(+)
17
18 diff --git a/x11-misc/mozo/Manifest b/x11-misc/mozo/Manifest
19 index 1b5b1313c5a..7f3c70c9ea4 100644
20 --- a/x11-misc/mozo/Manifest
21 +++ b/x11-misc/mozo/Manifest
22 @@ -1 +1,2 @@
23 DIST mozo-1.24.0.tar.xz 228180 BLAKE2B 6eb880b82dcb608f84efd8df74e77812f9da68dfa877ec896c6f04fa18088e8e4a82641c715e3620201dbb8a1bea8bb4ded09dd72f50770edae09c1326cbf453 SHA512 e0d217d2e7bb7d2c8df777e51bfb20e8bf4fa1bee0f9f3a9348ec1c8501b386a4afbd8848735ecfa61a0f9576382d784d3ef5b884a2a34af6ba33d3a126fe193
24 +DIST mozo-1.24.1.tar.xz 231032 BLAKE2B 27938aca9810943d19074cc5761ac58bb1dc2c1918b2fefea983f7a1b8788cb555311555515bb4387944c7b48a309de4a80da9003d212ca68ea257fa9ab06c8d SHA512 04b7e93e7302b46a3959f78655de4a6f8b17896be2c506c0e8a9041a9a2d5247e8c2ac00b5c8f86616f6c39a533584923feacfe4b81ae58d41080632af2a24bd
25
26 diff --git a/x11-misc/mozo/mozo-1.24.1.ebuild b/x11-misc/mozo/mozo-1.24.1.ebuild
27 new file mode 100644
28 index 00000000000..2b73ccc2649
29 --- /dev/null
30 +++ b/x11-misc/mozo/mozo-1.24.1.ebuild
31 @@ -0,0 +1,69 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +PYTHON_COMPAT=( python{3_6,3_7,3_8} )
38 +PYTHON_REQ_USE="xml"
39 +
40 +inherit mate python-r1
41 +
42 +if [[ ${PV} != 9999 ]]; then
43 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
44 +fi
45 +
46 +DESCRIPTION="Mozo menu editor for MATE"
47 +LICENSE="GPL-2+ GPL-3+ LGPL-2+ LGPL-2.1+"
48 +SLOT="0"
49 +IUSE=""
50 +REQUIRED_USE=${PYTHON_REQUIRED_USE}
51 +
52 +COMMON_DEPEND="${PYTHON_DEPS}
53 + >=dev-python/pygobject-3:3[${PYTHON_USEDEP}]
54 + >=mate-base/mate-menus-1.21.0[introspection]
55 + x11-libs/gdk-pixbuf:2[introspection]
56 + >=x11-libs/gtk+-3.22:3[introspection]
57 + !!x11-misc/mate-menu-editor
58 +"
59 +
60 +RDEPEND="${COMMON_DEPEND}
61 + virtual/libintl
62 +"
63 +
64 +DEPEND="${COMMON_DEPEND}
65 + >=sys-devel/gettext-0.19.8
66 + virtual/pkgconfig
67 +"
68 +
69 +src_prepare() {
70 + mate_src_prepare
71 + python_copy_sources
72 +}
73 +
74 +src_configure() {
75 + python_foreach_impl run_in_build_dir mate_src_configure \
76 + --disable-icon-update
77 +}
78 +
79 +src_compile() {
80 + python_foreach_impl run_in_build_dir default
81 +}
82 +
83 +src_test() {
84 + python_foreach_impl run_in_build_dir emake check
85 +}
86 +
87 +src_install() {
88 + installing() {
89 + mate_src_install
90 +
91 + # Massage shebang to make python_doscript happy
92 + sed -e 's:#! '"${PYTHON}:#!/usr/bin/python:" \
93 + -i mozo || die
94 +
95 + python_doscript mozo
96 + python_optimize
97 + }
98 +
99 + python_foreach_impl run_in_build_dir installing
100 +}