Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/sunflower/files/, x11-misc/sunflower/
Date: Sun, 16 Aug 2020 21:24:27
Message-Id: 1597613056.1d0ca81b9cb0320fe0ef4920b8c97169f320aff8.slashbeast@gentoo
1 commit: 1d0ca81b9cb0320fe0ef4920b8c97169f320aff8
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 16 21:23:16 2020 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 16 21:24:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d0ca81b
7
8 x11-misc/sunflower: Removal of old py2 versions.
9
10 Closes: https://bugs.gentoo.org/735512
11 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
12
13 x11-misc/sunflower/Manifest | 2 -
14 x11-misc/sunflower/files/sunflower | 5 --
15 x11-misc/sunflower/sunflower-0.2_alpha59.ebuild | 89 -----------------------
16 x11-misc/sunflower/sunflower-0.3.61.ebuild | 93 -------------------------
17 4 files changed, 189 deletions(-)
18
19 diff --git a/x11-misc/sunflower/Manifest b/x11-misc/sunflower/Manifest
20 index 705cd77bead..ecbe1e0c9cc 100644
21 --- a/x11-misc/sunflower/Manifest
22 +++ b/x11-misc/sunflower/Manifest
23 @@ -1,3 +1 @@
24 -DIST sunflower-0.2-59.tgz 790126 BLAKE2B 32df1ced73ba0bf5e814e52010eefbbd10657bdbb602dd3a48dc08b865195c3d1efa631bfe2d421f0a12a2f01521a2c6248fe5b9ca8fcc268423f0c9aa3d252d SHA512 e97076eb1c57d52b8fd95501259acaaa9a429f9daacc30ef587cce2f3419433f5aa4554e0e86beeceda208b4be425b98c64c6ced04e36e86b2b4f803176c37f9
25 -DIST sunflower-0.3.61.tar.gz 975053 BLAKE2B 5845ce0e81cf98b7488c9c34b8a3b6702e01abe9976bd4186691ce3804164d707d3ca999896e3f8d60e5253891d94f39e2fabdb50170afa8ec0f937df141db89 SHA512 f55c2fb15889f903375776f989498827dcab287e87d4015c50f12780dd2f0271e1e127533a10ca94f44ebd44727018917cf92e828bbe82b7653d8ed559ee1cc3
26 DIST sunflower-0.4_p20200716.tar.xz 830248 BLAKE2B 673b320bf08c0e0600fae06a531f75403b0e76bd8a267918986da84537a5213f0a1d99c9de74820f15652b80959e9029566f4611138893f08919f389a66a8032 SHA512 0e30bbadb3d60a64e2a2b629104c2a3ad88d997d581c1c76ef593afa1d3c48aafd185b4cd36da25bed5c3e9b9d1389f0709aaa40e796e883dccfe71b214620ed
27
28 diff --git a/x11-misc/sunflower/files/sunflower b/x11-misc/sunflower/files/sunflower
29 deleted file mode 100644
30 index 192d4b99e1a..00000000000
31 --- a/x11-misc/sunflower/files/sunflower
32 +++ /dev/null
33 @@ -1,5 +0,0 @@
34 -#!/usr/bin/env python
35 -
36 -import os
37 -os.chdir("@SITEDIR@")
38 -import sunflower.Sunflower
39
40 diff --git a/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild b/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild
41 deleted file mode 100644
42 index d1fea9c5a0c..00000000000
43 --- a/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild
44 +++ /dev/null
45 @@ -1,89 +0,0 @@
46 -# Copyright 1999-2020 Gentoo Authors
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -EAPI=6
50 -
51 -PYTHON_COMPAT=( python2_7 )
52 -inherit gnome2-utils python-r1 xdg-utils
53 -
54 -MY_PN="Sunflower"
55 -DESCRIPTION="Small and highly customizable twin-panel file manager with plugin-support"
56 -HOMEPAGE="https://github.com/MeanEYE/Sunflower
57 - https://sunflower-fm.org/"
58 -SRC_URI="http://sunflower-fm.org/pub/sunflower-${PV/_alpha/-}.tgz"
59 -
60 -LICENSE="GPL-3"
61 -SLOT="0"
62 -KEYWORDS="~amd64 ~x86"
63 -IUSE=""
64 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
65 -
66 -DEPEND="${PYTHON_DEPS}"
67 -RDEPEND="${DEPEND}
68 - >=dev-python/pygtk-2.15.0[${PYTHON_USEDEP}]
69 - >=dev-python/notify-python-0.1[${PYTHON_USEDEP}]
70 - gnome-base/librsvg:2"
71 -
72 -S=${WORKDIR}/${MY_PN}
73 -
74 -src_prepare() {
75 - default
76 - find "${S}" -name "*.py[co]" -delete || die
77 - find "${S}"/translations -name "*.po" -delete || die
78 - rm "${S}"/translations/${PN}.pot || die
79 -
80 - sed -i \
81 - -e '/^application_file/s/os.path.dirname(sys.argv\[0\])/os.getcwd()/' \
82 - ${MY_PN}.py || die
83 -}
84 -
85 -src_install() {
86 - touch __init__.py || die
87 - installme() {
88 - # install modules
89 - python_moduleinto ${PN}
90 - python_domodule images application ${MY_PN}.py \
91 - AUTHORS CHANGES COPYING DEPENDS TODO __init__.py
92 -
93 - # generate and install startup scripts
94 - sed \
95 - -e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \
96 - "${FILESDIR}"/${PN} > "${WORKDIR}"/${PN} || die
97 - python_doscript "${WORKDIR}"/${PN}
98 - }
99 -
100 - # install for all enabled implementations
101 - python_foreach_impl installme
102 -
103 - insinto /usr/share/locale
104 - # correct gettext behavior
105 - if [[ -n "${LINGUAS+x}" ]] ; then
106 - for i in $(cd "${S}"/translations ; echo *) ; do
107 - if has ${i} ${LINGUAS} ; then
108 - doins -r "${S}"/translations/${i}
109 - fi
110 - done
111 - else
112 - doins -r "${S}"/translations/*
113 - fi
114 -
115 - newicon -s 64 images/${PN}_64.png ${PN}.png
116 - doicon -s scalable images/${PN}.svg
117 - newmenu ${MY_PN}.desktop ${PN}.desktop
118 -}
119 -
120 -pkg_postinst() {
121 - xdg_desktop_database_update
122 - gnome2_icon_cache_update
123 -
124 - # TODO: better description
125 - elog "optional dependencies:"
126 - elog " dev-python/libgnome-python"
127 - elog " media-libs/mutagen"
128 - elog " x11-libs/vte:0[python] (terminal support)"
129 -}
130 -
131 -pkg_postrm() {
132 - xdg_desktop_database_update
133 - gnome2_icon_cache_update
134 -}
135
136 diff --git a/x11-misc/sunflower/sunflower-0.3.61.ebuild b/x11-misc/sunflower/sunflower-0.3.61.ebuild
137 deleted file mode 100644
138 index e632d371fb2..00000000000
139 --- a/x11-misc/sunflower/sunflower-0.3.61.ebuild
140 +++ /dev/null
141 @@ -1,93 +0,0 @@
142 -# Copyright 1999-2020 Gentoo Authors
143 -# Distributed under the terms of the GNU General Public License v2
144 -
145 -EAPI=7
146 -
147 -PYTHON_COMPAT=( python2_7 )
148 -inherit python-r1 xdg-utils desktop
149 -
150 -MY_PN="${PN^}"
151 -MY_PV=$(ver_rs 2 '-')
152 -
153 -DESCRIPTION="Small and highly customizable twin-panel file manager with plugin-support"
154 -HOMEPAGE="https://github.com/MeanEYE/Sunflower
155 - https://sunflower-fm.org/"
156 -SRC_URI="https://github.com/MeanEYE/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
157 -
158 -LICENSE="GPL-3"
159 -SLOT="0"
160 -KEYWORDS="~amd64 ~x86"
161 -IUSE=""
162 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
163 -
164 -DEPEND="${PYTHON_DEPS}"
165 -RDEPEND="${DEPEND}
166 - >=dev-python/pygtk-2.15.0:2[${PYTHON_USEDEP}]
167 - >=dev-python/notify-python-0.1[${PYTHON_USEDEP}]
168 - gnome-base/librsvg:2
169 - dev-python/chardet[${PYTHON_USEDEP}]
170 - dev-python/pycairo[${PYTHON_USEDEP}]
171 -"
172 -
173 -S=${WORKDIR}/${MY_PN}-$MY_PV
174 -
175 -src_prepare() {
176 - default
177 - find "${S}"/translations -name "*.po" -delete || die
178 - rm "${S}"/translations/${PN}.pot || die
179 -
180 - sed -i \
181 - -e '/^application_file/s/os.path.dirname(sys.argv\[0\])/os.getcwd()/' \
182 - ${MY_PN}.py || die
183 -}
184 -
185 -src_install() {
186 - touch __init__.py || die
187 - installme() {
188 - # install modules
189 - python_moduleinto ${PN}
190 - python_domodule images application ${MY_PN}.py \
191 - AUTHORS CHANGES COPYING DEPENDS TODO __init__.py
192 -
193 - # generate and install startup scripts
194 - sed \
195 - -e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \
196 - "${FILESDIR}"/${PN} > "${WORKDIR}"/${PN} || die
197 - python_doscript "${WORKDIR}"/${PN}
198 - }
199 -
200 - # install for all enabled implementations
201 - python_foreach_impl installme
202 -
203 - insinto /usr/share/locale
204 - # correct gettext behavior
205 - if [[ -n "${LINGUAS+x}" ]] ; then
206 - for i in $(cd "${S}"/translations ; echo *) ; do
207 - if has ${i} ${LINGUAS} ; then
208 - doins -r "${S}"/translations/${i}
209 - fi
210 - done
211 - else
212 - doins -r "${S}"/translations/*
213 - fi
214 -
215 - newicon -s 64 images/${PN}_64.png ${PN}.png
216 - doicon -s scalable images/${PN}.svg
217 - newmenu ${MY_PN}.desktop ${PN}.desktop
218 -}
219 -
220 -pkg_postinst() {
221 - xdg_desktop_database_update
222 - xdg_icon_cache_update
223 -
224 - # TODO: better description
225 - elog "optional dependencies:"
226 - elog " dev-python/libgnome-python"
227 - elog " media-libs/mutagen"
228 - elog " x11-libs/vte:0[python] (terminal support)"
229 -}
230 -
231 -pkg_postrm() {
232 - xdg_desktop_database_update
233 - xdg_icon_cache_update
234 -}