Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/mcomix/
Date: Fri, 06 Mar 2020 13:01:20
Message-Id: 1583499665.13eb3b1cbaaa56e4bf2c27d656b25a3345e2ffbc.voyageur@gentoo
1 commit: 13eb3b1cbaaa56e4bf2c27d656b25a3345e2ffbc
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 6 13:01:05 2020 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 6 13:01:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13eb3b1c
7
8 media-gfx/mcomix: drop old stable
9
10 Broken and depending on pygtk
11
12 Bug: https://bugs.gentoo.org/708100
13 Package-Manager: Portage-2.3.92, Repoman-2.3.20
14 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
15
16 media-gfx/mcomix/Manifest | 1 -
17 media-gfx/mcomix/mcomix-1.2.1.ebuild | 69 ------------------------------------
18 2 files changed, 70 deletions(-)
19
20 diff --git a/media-gfx/mcomix/Manifest b/media-gfx/mcomix/Manifest
21 index 29d4b5c1fec..7070a2d548c 100644
22 --- a/media-gfx/mcomix/Manifest
23 +++ b/media-gfx/mcomix/Manifest
24 @@ -1,2 +1 @@
25 -DIST mcomix-1.2.1.tar.bz2 571128 BLAKE2B fa00e55e5cf2ef676a625b97ca467ade6b629fa08bfd920b8c370dc7d33c6602c5614d120d7279df32d063db646da8b635712ba90793175eea2c74c2c1973a8a SHA512 efa4d57edc3a48d9e711767fb3e233ef9b334ff8ba467999e572e60ed747a4ee4aa420c8aa7788b16d7eb6e0901d454d6a405fcec47a8c74098a49491e915cd0
26 DIST mcomix-1.3.0_pre20200206.tar.gz 3292571 BLAKE2B ad76316020645495042d27bf831588e628da11077efe29b302a57be4e688558b4db8d3f850200bf4a54b84b428a16a52f88ea5e20be85b628ef3630a5f624643 SHA512 c98d4a7022993af3a5c0b5425df52f14b586549472bcd4576a72039c8c6d4fde31df4255df45ab7467acb0280bda02b92d4803b7f92b7c1c818b58df7b52a3ff
27
28 diff --git a/media-gfx/mcomix/mcomix-1.2.1.ebuild b/media-gfx/mcomix/mcomix-1.2.1.ebuild
29 deleted file mode 100644
30 index c34c73cf85a..00000000000
31 --- a/media-gfx/mcomix/mcomix-1.2.1.ebuild
32 +++ /dev/null
33 @@ -1,69 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="5"
38 -
39 -PYTHON_COMPAT=( python2_7 )
40 -PYTHON_REQ_USE="sqlite"
41 -
42 -PLOCALES="ca cs de el es fa fr gl he hr hu id it ja ko nl pl pt_BR ru sv uk zh_CN zh_TW"
43 -
44 -inherit distutils-r1 eutils l10n xdg-utils
45 -
46 -DESCRIPTION="A fork of comix, a GTK image viewer for comic book archives"
47 -HOMEPAGE="https://sourceforge.net/p/mcomix/wiki/Home/"
48 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
49 -
50 -LICENSE="GPL-2"
51 -SLOT="0"
52 -KEYWORDS="amd64 x86"
53 -IUSE=""
54 -
55 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
56 -RDEPEND="${DEPEND}
57 - >=dev-python/pygtk-2.14[${PYTHON_USEDEP}]
58 - virtual/jpeg
59 - dev-python/pillow[${PYTHON_USEDEP}]
60 - x11-libs/gdk-pixbuf
61 - !media-gfx/comix"
62 -
63 -DOCS=( ChangeLog README )
64 -
65 -src_prepare() {
66 - local checklocales
67 - for l in $(find "${S}"/mcomix/messages/* -maxdepth 0 -type d);
68 - do checklocales+="$(basename $l) "
69 - done
70 -
71 - [[ ${PLOCALES} == ${checklocales% } ]] \
72 - || eqawarn "Update to PLOCALES=\"${checklocales% }\""
73 -
74 - my_rm_loc() {
75 - rm -rf "${S}/mcomix/messages/${1}/LC_MESSAGES" || die
76 - rmdir "${S}/mcomix/messages/${1}" || die
77 - }
78 -
79 - l10n_for_each_disabled_locale_do my_rm_loc
80 -
81 - distutils-r1_src_prepare
82 -}
83 -
84 -pkg_postinst() {
85 - xdg_mimeinfo_database_update
86 - xdg_desktop_database_update
87 - echo
88 - elog "Additional packages are required to open the most common comic archives:"
89 - elog
90 - elog " cbr: app-arch/unrar"
91 - elog " cbz: app-arch/unzip"
92 - elog
93 - elog "You can also add support for 7z or LHA archives by installing"
94 - elog "app-arch/p7zip or app-arch/lha. Install app-text/mupdf for"
95 - elog "pdf support."
96 - echo
97 -}
98 -
99 -pkg_postrm() {
100 - xdg_mimeinfo_database_update
101 - xdg_desktop_database_update
102 -}