Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/griffith: griffith-0.13-r1.ebuild ChangeLog
Date: Thu, 26 Feb 2015 15:19:05
Message-Id: 20150226151856.6B07E1299C@oystercatcher.gentoo.org
1 idella4 15/02/26 15:18:56
2
3 Modified: ChangeLog
4 Added: griffith-0.13-r1.ebuild
5 Log:
6 revbump; convert -> python-single-r1 and upgrade EAPI, consent by maintainer hwoarang
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.69 media-video/griffith/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/griffith/ChangeLog?rev=1.69&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/griffith/ChangeLog?rev=1.69&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/griffith/ChangeLog?r1=1.68&r2=1.69
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-video/griffith/ChangeLog,v
20 retrieving revision 1.68
21 retrieving revision 1.69
22 diff -u -r1.68 -r1.69
23 --- ChangeLog 14 Feb 2015 11:30:10 -0000 1.68
24 +++ ChangeLog 26 Feb 2015 15:18:56 -0000 1.69
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-video/griffith
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/ChangeLog,v 1.68 2015/02/14 11:30:10 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-video/griffith/ChangeLog,v 1.69 2015/02/26 15:18:56 idella4 Exp $
30 +
31 +*griffith-0.13-r1 (26 Feb 2015)
32 +
33 + 26 Feb 2015; Ian Delaney <idella4@g.o> +griffith-0.13-r1.ebuild:
34 + revbump; convert -> python-single-r1 and upgrade EAPI, consent by maintainer
35 + hwoarang
36
37 14 Feb 2015; Markos Chandras <hwoarang@g.o> griffith-0.13.ebuild:
38 Fix URL for artwork files
39
40
41
42 1.1 media-video/griffith/griffith-0.13-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/griffith/griffith-0.13-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/griffith/griffith-0.13-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: griffith-0.13-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-video/griffith/griffith-0.13-r1.ebuild,v 1.1 2015/02/26 15:18:56 idella4 Exp $
52
53 EAPI=5
54
55 PYTHON_COMPAT=( python2_7 )
56 PYTHON_REQ_USE='sqlite'
57
58 inherit versionator python-single-r1 multilib
59
60 ARTWORK_PV="0.9.4"
61
62 DESCRIPTION="Movie collection manager"
63 HOMEPAGE="http://www.griffith.cc/"
64 SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz
65 http://dev.gentoo.org/~hwoarang/distfiles/${PN}-extra-artwork-${ARTWORK_PV}.tar.gz"
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
69 IUSE="doc"
70
71 RDEPEND="virtual/python-imaging
72 gnome-base/libglade
73 dev-python/pyxml[${PYTHON_USEDEP}]
74 >=dev-python/pygtk-2.6.1:2[${PYTHON_USEDEP}]
75 dev-python/pygobject:2[${PYTHON_USEDEP}]
76 >=dev-python/sqlalchemy-0.5.2[${PYTHON_USEDEP}]
77 >=dev-python/reportlab-1.19[${PYTHON_USEDEP}]"
78 DEPEND="${RDEPEND}
79 doc? ( app-text/docbook2X )"
80
81 pkg_setup() {
82 python-single-r1_pkg_setup
83 }
84
85 src_prepare() {
86 use doc || { sed -i -e '/docs/d' Makefile || die ; }
87 sed -i \
88 -e 's#/pl/#/pl.UTF-8/#' \
89 "${S}"/docs/pl/Makefile || die "sed failed"
90
91 sed -i \
92 -e 's/ISO-8859-1/UTF-8/' \
93 "${S}"/lib/gconsole.py || die "sed failed"
94
95 epatch "${FILESDIR}/0.10-fix_lib_path.patch"
96 }
97
98 src_compile() {
99 # Nothing to compile and default `emake` spews an error message
100 true
101 }
102
103 src_install() {
104 use doc || { sed -i -e '/docs/d' Makefile || die ; }
105
106 emake \
107 LIBDIR="${D}/usr/$(get_libdir)/griffith" \
108 DESTDIR="${D}" DOC2MAN=docbook2man.pl install
109 dodoc AUTHORS ChangeLog README THANKS TODO NEWS TRANSLATORS
110
111 cd "${WORKDIR}/${PN}-extra-artwork-${ARTWORK_PV}/"
112 emake DESTDIR="${D}" install
113 # This carries over from -0.13 but appears to have no effect.
114 python_optimize "${D}"usr/share/${PN}
115 }
116
117 pkg_postinst() {
118 einfo
119 einfo "${PN} can make use of the following optional dependencies"
120 einfo "dev-python/chardet: CSV file encoding detections"
121 einfo "dev-python/mysql-python: Python interface for MySQL connectivity"
122 einfo ">=dev-python/psycopg-2.4: Python interface for PostgreSQL connectivity"
123 einfo
124 }