Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/griffith/files/, media-video/griffith/, profiles/
Date: Sat, 23 May 2020 09:46:06
Message-Id: 1590227041.176d35ce731dc72f53063f38fe736f1a22765aa9.mgorny@gentoo
1 commit: 176d35ce731dc72f53063f38fe736f1a22765aa9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 23 09:44:01 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 23 09:44:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=176d35ce
7
8 media-video/griffith: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/708168
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 media-video/griffith/Manifest | 2 -
14 media-video/griffith/files/0.10-fix_lib_path.patch | 13 ----
15 .../griffith/files/griffith-0.13-validators.patch | 17 -----
16 media-video/griffith/griffith-0.13-r3.ebuild | 86 ----------------------
17 media-video/griffith/metadata.xml | 11 ---
18 profiles/package.mask | 6 --
19 6 files changed, 135 deletions(-)
20
21 diff --git a/media-video/griffith/Manifest b/media-video/griffith/Manifest
22 deleted file mode 100644
23 index 181187ce862..00000000000
24 --- a/media-video/griffith/Manifest
25 +++ /dev/null
26 @@ -1,2 +0,0 @@
27 -DIST griffith-0.13.tar.gz 1565903 BLAKE2B d3d806ef2a7cef76ce548e3ad785e96938447cb6425ac95fdbb4b5ae233adb2aeb4a274aa24c9e502607bc1287ea30ce8806cb1608fc194531757943e499b0e7 SHA512 dc8117b1a89253a87eb303c5229e6cdffde26b52de9ac4a3409dcc3f6dca64105f13a98cace225a932aefb2d620e828eea66bae57f40328b7ee3c06a944f0bed
28 -DIST griffith-extra-artwork-0.9.4.tar.gz 124008 BLAKE2B 992f8e4995d0465e891eacfe601eead2323754c60ad0c0a96ea9568dbecf5790039f58212e8a115f382532e1787e4db267b1259ac91de40728f7911f6b2178ae SHA512 09e912b4511c5c4a7b501d9a8f98223d20e58574e667cdb759e66f743cce14b45cce8bf0f9502ff2aacfc09e7a7b37966a887205a74a6e028b832703a65a2734
29
30 diff --git a/media-video/griffith/files/0.10-fix_lib_path.patch b/media-video/griffith/files/0.10-fix_lib_path.patch
31 deleted file mode 100644
32 index 9c918b25f48..00000000000
33 --- a/media-video/griffith/files/0.10-fix_lib_path.patch
34 +++ /dev/null
35 @@ -1,13 +0,0 @@
36 -Index: lib/initialize.py
37 -===================================================================
38 ---- a/lib/initialize.py
39 -+++ b/lib/initialize.py
40 -@@ -73,7 +73,7 @@ def locations(self, home_dir):
41 - os.environ['LANG'] = lang
42 -
43 - elif os.name == 'posix':
44 -- locations['share'] = os.path.abspath(os.path.join(locations['lib'], '..'))
45 -+ locations['share'] = os.path.abspath(os.path.join(locations['lib'], '../../share/griffith/'))
46 - locations['glade'] = os.path.join(locations['share'], 'glade')
47 - locations['i18n'] = os.path.abspath(os.path.join(locations['share'], '..', 'locale'))
48 - if not os.path.isdir(locations['i18n']):
49
50 diff --git a/media-video/griffith/files/griffith-0.13-validators.patch b/media-video/griffith/files/griffith-0.13-validators.patch
51 deleted file mode 100644
52 index 9c39feec009..00000000000
53 --- a/media-video/griffith/files/griffith-0.13-validators.patch
54 +++ /dev/null
55 @@ -1,17 +0,0 @@
56 ---- griffith-0.13/lib/db/validators.py
57 -+++ griffith-0.13/lib/db/validators.py
58 -@@ -23,7 +23,13 @@
59 -
60 - import logging
61 -
62 --from sqlalchemy.orm.interfaces import AttributeExtension, InstrumentationManager
63 -+from sqlalchemy.orm.interfaces import AttributeExtension
64 -+try:
65 -+ # sql alchemy 0.8 (and above)
66 -+ from sqlalchemy.ext.instrumentation import InstrumentationManager
67 -+except:
68 -+ # sql alchemy 0.7
69 -+ from sqlalchemy.orm.interfaces import InstrumentationManager
70 - from sqlalchemy.orm import ColumnProperty
71 - from sqlalchemy.types import String
72 -
73
74 diff --git a/media-video/griffith/griffith-0.13-r3.ebuild b/media-video/griffith/griffith-0.13-r3.ebuild
75 deleted file mode 100644
76 index d606fd887aa..00000000000
77 --- a/media-video/griffith/griffith-0.13-r3.ebuild
78 +++ /dev/null
79 @@ -1,86 +0,0 @@
80 -# Copyright 1999-2020 Gentoo Authors
81 -# Distributed under the terms of the GNU General Public License v2
82 -
83 -EAPI=7
84 -
85 -PYTHON_COMPAT=( python2_7 )
86 -PYTHON_REQ_USE='sqlite'
87 -
88 -inherit python-single-r1
89 -
90 -ARTWORK_PV="0.9.4"
91 -
92 -DESCRIPTION="Movie collection manager"
93 -HOMEPAGE="http://www.griffith.cc/"
94 -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz
95 - https://dev.gentoo.org/~hwoarang/distfiles/${PN}-extra-artwork-${ARTWORK_PV}.tar.gz"
96 -LICENSE="GPL-2"
97 -SLOT="0"
98 -KEYWORDS="amd64 x86"
99 -IUSE="doc"
100 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
101 -
102 -RDEPEND="
103 - ${PYTHON_DEPS}
104 - gnome-base/libglade[${PYTHON_SINGLE_USEDEP}]
105 - $(python_gen_cond_dep '
106 - dev-python/pillow[${PYTHON_MULTI_USEDEP}]
107 - >=dev-python/pygtk-2.6.1:2[${PYTHON_MULTI_USEDEP}]
108 - dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]
109 - >=dev-python/sqlalchemy-0.5.2[${PYTHON_MULTI_USEDEP}]
110 - >=dev-python/reportlab-1.19[${PYTHON_MULTI_USEDEP}]
111 - ')"
112 -DEPEND="${RDEPEND}
113 - doc? ( app-text/docbook2X )"
114 -
115 -PATCHES=(
116 - "${FILESDIR}/0.10-fix_lib_path.patch"
117 - "${FILESDIR}/griffith-0.13-validators.patch"
118 -)
119 -
120 -pkg_setup() {
121 - python-single-r1_pkg_setup
122 -}
123 -
124 -src_prepare() {
125 - use doc || { sed -i -e '/docs/d' Makefile || die ; }
126 - sed -i \
127 - -e 's#/pl/#/pl.UTF-8/#' \
128 - "${S}"/docs/pl/Makefile || die "sed failed"
129 -
130 - sed -i \
131 - -e 's/ISO-8859-1/UTF-8/' \
132 - "${S}"/lib/gconsole.py || die "sed failed"
133 -
134 - default
135 -}
136 -
137 -src_compile() {
138 - # Nothing to compile and default `emake` spews an error message
139 - true
140 -}
141 -
142 -src_install() {
143 - if ! use doc ; then
144 - sed -i -e '/docs/d' Makefile || die
145 - fi
146 -
147 - emake \
148 - LIBDIR="${D}/usr/$(get_libdir)/griffith" \
149 - DESTDIR="${D}" DOC2MAN=docbook2man.pl install
150 - dodoc AUTHORS ChangeLog README THANKS TODO NEWS TRANSLATORS
151 -
152 - cd "${WORKDIR}/${PN}-extra-artwork-${ARTWORK_PV}/" || die
153 - emake DESTDIR="${D}" install
154 - # This carries over from -0.13 but appears to have no effect.
155 - python_optimize "${ED}"/usr/share/${PN}
156 -}
157 -
158 -pkg_postinst() {
159 - einfo
160 - einfo "${PN} can make use of the following optional dependencies"
161 - einfo "dev-python/chardet: CSV file encoding detections"
162 - einfo "dev-python/mysql-python: Python interface for MySQL connectivity"
163 - einfo ">=dev-python/psycopg-2.4: Python interface for PostgreSQL connectivity"
164 - einfo
165 -}
166
167 diff --git a/media-video/griffith/metadata.xml b/media-video/griffith/metadata.xml
168 deleted file mode 100644
169 index ec78ebbf080..00000000000
170 --- a/media-video/griffith/metadata.xml
171 +++ /dev/null
172 @@ -1,11 +0,0 @@
173 -<?xml version="1.0" encoding="UTF-8"?>
174 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
175 -<pkgmetadata>
176 - <maintainer type="project">
177 - <email>media-video@g.o</email>
178 - <name>Gentoo Video project</name>
179 - </maintainer>
180 - <upstream>
181 - <remote-id type="launchpad">griffith</remote-id>
182 - </upstream>
183 -</pkgmetadata>
184
185 diff --git a/profiles/package.mask b/profiles/package.mask
186 index 1aa54474550..15d335bfc49 100644
187 --- a/profiles/package.mask
188 +++ b/profiles/package.mask
189 @@ -498,12 +498,6 @@ dev-python/demjson
190 # Removal in 30 days. Bug #718832
191 dev-python/flask-bootstrap
192
193 -# Michał Górny <mgorny@g.o> (2020-04-20)
194 -# Effectively unmaintained. Stuck on Python 2 and pygtk. Last bumped
195 -# in 2014.
196 -# Removal in 30 days. Bug #708168.
197 -media-video/griffith
198 -
199 # Michael Orlitzky <mjo@g.o> (2020-04-19)
200 # Stuck on Python 3.6, support for which already required
201 # backporting patches to a release from 2014. Upstream's git