Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/guake/files/, x11-terms/guake/
Date: Thu, 13 Jan 2022 08:06:36
Message-Id: 1642061177.031343498b462b40cca9b65ece8d4020b2495a5e.ionen@gentoo
1 commit: 031343498b462b40cca9b65ece8d4020b2495a5e
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 13 04:40:36 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 13 08:06:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03134349
7
8 x11-terms/guake: drop 3.7.0, 3.8.0
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 x11-terms/guake/Manifest | 2 -
13 x11-terms/guake/files/guake-3.3.2-paths.patch | 20 -------
14 x11-terms/guake/guake-3.7.0.ebuild | 79 -------------------------
15 x11-terms/guake/guake-3.8.0.ebuild | 84 ---------------------------
16 4 files changed, 185 deletions(-)
17
18 diff --git a/x11-terms/guake/Manifest b/x11-terms/guake/Manifest
19 index a7903699d7fb..dfad83dab875 100644
20 --- a/x11-terms/guake/Manifest
21 +++ b/x11-terms/guake/Manifest
22 @@ -1,3 +1 @@
23 -DIST guake-3.7.0.tar.gz 1215186 BLAKE2B ff60f83fce5fbdd3712e261bbb72247cdcb311b8208af75007183bced88fcc2d2ebe3c49b76e2264786246444e9d07a41f884de949112c249277717070d64c11 SHA512 578c42ed41049acd253e0c409a9ecb103c7f71679fc5efdd94c60461b952ac77c836e59439361e1cd70e5fe6785ab4c15e7bf73b9f4c7d23b47c77468fa05f62
24 -DIST guake-3.8.0.tar.gz 1125090 BLAKE2B 72ee6b5e93c3433fcc2863d2b0aa198326cc4889126454040ce870fdeaa0ba110723410355ae49b5e2e4876fcad3f9d849873adaddfcf1ecfa83dc1583db57eb SHA512 6e0bb6b4a0c92c163bd6151c65936a38d93624166af5a4e2b042f9ade7f28683c8e8fad802b23a07edd478e2dd3b99a559069c9935f1154585be936d1b7a96ed
25 DIST guake-3.8.1.tar.gz 1127132 BLAKE2B e91f74bf119c76ad214b5c29bceb4fe18f19c97f14dbb2973c6118bbb9affc06e919c56e0cd24f96b710d9c2468006289fcf1c13a2050e93cc01972f0c9ebe99 SHA512 5fbf4cc37bc501e4533bd27c1c7e1f783e570457867289702ab2122fcb6a55708df151e4307c4cf84a242ac1d2874ef5e8eb9411318e24eca140102a42b426f4
26
27 diff --git a/x11-terms/guake/files/guake-3.3.2-paths.patch b/x11-terms/guake/files/guake-3.3.2-paths.patch
28 deleted file mode 100644
29 index d2d94daa4b1a..000000000000
30 --- a/x11-terms/guake/files/guake-3.3.2-paths.patch
31 +++ /dev/null
32 @@ -1,20 +0,0 @@
33 ---- a/Makefile
34 -+++ b/Makefile
35 -@@ -81,7 +81,7 @@
36 -
37 - @if [ -f guake/paths.py.dev ]; then rm -f guake/paths.py.dev; fi
38 - @if [ -f guake/paths.py ]; then mv guake/paths.py guake/paths.py.dev; fi
39 -- @cp -f guake/paths.py.in guake/paths.py
40 -+ -@cp -f guake/paths.py.in guake/paths.py
41 - @sed -i -e 's|{{ LOCALE_DIR }}|"$(localedir)"|g' guake/paths.py
42 - @sed -i -e 's|{{ IMAGE_DIR }}|"$(IMAGE_DIR)"|g' guake/paths.py
43 - @sed -i -e 's|{{ GLADE_DIR }}|"$(GLADE_DIR)"|g' guake/paths.py
44 -@@ -368,7 +368,7 @@
45 -
46 - generate-paths:
47 - @echo "Generating path.py..."
48 -- @cp -f guake/paths.py.in guake/paths.py
49 -+ -@cp -f guake/paths.py.in guake/paths.py
50 - @# Generic
51 - @sed -i -e 's|{{ LOGIN_DESTOP_PATH }}|""|g' guake/paths.py
52 - @sed -i -e 's|{{ AUTOSTART_FOLDER }}|""|g' guake/paths.py
53
54 diff --git a/x11-terms/guake/guake-3.7.0.ebuild b/x11-terms/guake/guake-3.7.0.ebuild
55 deleted file mode 100644
56 index 44023bbf3653..000000000000
57 --- a/x11-terms/guake/guake-3.7.0.ebuild
58 +++ /dev/null
59 @@ -1,79 +0,0 @@
60 -# Copyright 1999-2021 Gentoo Authors
61 -# Distributed under the terms of the GNU General Public License v2
62 -
63 -EAPI=7
64 -
65 -PYTHON_COMPAT=( python3_{8..9} )
66 -DISTUTILS_SINGLE_IMPL=1
67 -
68 -inherit distutils-r1 gnome2-utils xdg-utils
69 -
70 -if [[ ${PV} == *9999 ]]; then
71 - inherit git-r3
72 - EGIT_REPO_URI="https://github.com/Guake/guake.git"
73 -else
74 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
75 - KEYWORDS="amd64 arm x86"
76 -fi
77 -
78 -DESCRIPTION="Drop-down terminal for GNOME"
79 -HOMEPAGE="
80 - https://github.com/Guake/guake/
81 - https://pypi.org/project/guake/"
82 -
83 -LICENSE="GPL-2"
84 -SLOT="0"
85 -IUSE="utempter"
86 -
87 -RDEPEND="
88 - dev-libs/glib
89 - dev-libs/keybinder:3[introspection]
90 - $(python_gen_cond_dep '
91 - dev-python/dbus-python[${PYTHON_USEDEP}]
92 - dev-python/pbr[${PYTHON_USEDEP}]
93 - dev-python/pycairo[${PYTHON_USEDEP}]
94 - dev-python/pygobject:3[${PYTHON_USEDEP}]
95 - ')
96 - x11-libs/libnotify[introspection]
97 - x11-libs/libwnck:3[introspection]
98 - x11-libs/vte:2.91[introspection]
99 - utempter? ( sys-libs/libutempter )"
100 -DEPEND="${RDEPEND}"
101 -BDEPEND="
102 - gnome-base/gsettings-desktop-schemas
103 - sys-devel/gettext"
104 -
105 -PATCHES=(
106 - "${FILESDIR}"/${PN}-3.3.2-paths.patch
107 -)
108 -
109 -pkg_setup() {
110 - GUAKE_SCHEMA_DIR="${EROOT}"/usr/share/glib-2.0/schemas
111 - python-single-r1_pkg_setup
112 -}
113 -
114 -src_prepare() {
115 - default
116 - sed -i -e '/^SCHEMA_DIR/s|get_default_schema_dir()|"'"${GUAKE_SCHEMA_DIR}"'"|g' ${PN}/paths.py || die
117 -}
118 -
119 -python_compile_all() {
120 - emake prepare-install PREFIX=/usr
121 - emake generate-paths PREFIX=/usr DATA_DIR='$(datadir)/guake' DEV_SCHEMA_DIR='$(gsettingsschemadir)'
122 - default
123 -}
124 -
125 -python_install_all() {
126 - emake install-schemas install-locale PREFIX=/usr DESTDIR="${D}"
127 - distutils-r1_python_install_all
128 -}
129 -
130 -pkg_postinst() {
131 - gnome2_schemas_update
132 - xdg_desktop_database_update
133 -}
134 -
135 -pkg_postrm() {
136 - gnome2_schemas_update
137 - xdg_desktop_database_update
138 -}
139
140 diff --git a/x11-terms/guake/guake-3.8.0.ebuild b/x11-terms/guake/guake-3.8.0.ebuild
141 deleted file mode 100644
142 index 45bb69d378a7..000000000000
143 --- a/x11-terms/guake/guake-3.8.0.ebuild
144 +++ /dev/null
145 @@ -1,84 +0,0 @@
146 -# Copyright 1999-2021 Gentoo Authors
147 -# Distributed under the terms of the GNU General Public License v2
148 -
149 -EAPI=7
150 -
151 -DISTUTILS_SINGLE_IMPL=1
152 -PYTHON_COMPAT=( python3_{8..10} )
153 -inherit distutils-r1 gnome2-utils virtualx xdg-utils
154 -
155 -DESCRIPTION="Drop-down terminal for GNOME"
156 -HOMEPAGE="http://guake-project.org/"
157 -SRC_URI="https://github.com/Guake/guake/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
158 -
159 -LICENSE="GPL-2+"
160 -SLOT="0"
161 -KEYWORDS="amd64 arm x86"
162 -IUSE="utempter"
163 -
164 -RDEPEND="
165 - $(python_gen_cond_dep '
166 - dev-python/dbus-python[${PYTHON_USEDEP}]
167 - dev-python/pycairo[${PYTHON_USEDEP}]
168 - dev-python/pygobject:3[${PYTHON_USEDEP}]
169 - ')
170 - dev-libs/keybinder:3[introspection]
171 - x11-libs/libnotify[introspection]
172 - x11-libs/libwnck:3[introspection]
173 - x11-libs/vte:2.91[introspection]
174 - utempter? ( sys-libs/libutempter )"
175 -BDEPEND="
176 - $(python_gen_cond_dep '
177 - dev-python/pbr[${PYTHON_USEDEP}]
178 - test? (
179 - dev-python/pyfakefs[${PYTHON_USEDEP}]
180 - dev-python/pytest-mock[${PYTHON_USEDEP}]
181 - )
182 - ')
183 - dev-libs/glib:2
184 - gnome-base/gsettings-desktop-schemas
185 - sys-devel/gettext"
186 -
187 -distutils_enable_tests pytest
188 -
189 -python_prepare_all() {
190 - distutils-r1_python_prepare_all
191 -
192 - emake PREFIX="${EPREFIX}/usr" prepare-install # paths.py.in -> paths.py
193 -
194 - export PBR_VERSION=${PV} # needed if using github's tarball
195 -}
196 -
197 -python_test() {
198 - # - uses /usr/bin/bash if SHELL is not exported
199 - # - pytest-xvfb fails with Terminated, virtx alone works
200 - SHELL=${SHELL} virtx epytest -p no:xvfb
201 -}
202 -
203 -python_install() {
204 - # done here so tests don't use the system's
205 - sed -e "/^SCHEMA_DIR/s|=.*|= \"${EPREFIX}/usr/share/glib-2.0/schemas\"|" \
206 - -e "/def get_default_data_dir/{n;s|=.*|= \"${EPREFIX}/usr/share/guake\"|}" \
207 - -i "${BUILD_DIR}"/lib/guake/paths.py || die
208 - rm -r "${BUILD_DIR}"/lib/guake/tests || die
209 -
210 - distutils-r1_python_install
211 -}
212 -
213 -python_install_all() {
214 - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install-{locale,schemas}
215 -
216 - dodoc NEWS.rst README.rst
217 -
218 - mv "${D}"/{,"${EPREFIX}"/usr/share/}metainfo || die
219 -}
220 -
221 -pkg_postinst() {
222 - gnome2_schemas_update
223 - xdg_desktop_database_update
224 -}
225 -
226 -pkg_postrm() {
227 - gnome2_schemas_update
228 - xdg_desktop_database_update
229 -}