Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygtkhelpers: ChangeLog pygtkhelpers-0.4.3.ebuild
Date: Wed, 11 Jan 2012 23:39:02
Message-Id: 20120111233852.986312004B@flycatcher.gentoo.org
1 ssuominen 12/01/11 23:38:52
2
3 Modified: ChangeLog
4 Added: pygtkhelpers-0.4.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 dev-python/pygtkhelpers/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtkhelpers/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtkhelpers/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtkhelpers/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtkhelpers/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 29 Oct 2010 20:00:08 -0000 1.3
24 +++ ChangeLog 11 Jan 2012 23:38:52 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pygtkhelpers
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkhelpers/ChangeLog,v 1.3 2010/10/29 20:00:08 arfrever Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkhelpers/ChangeLog,v 1.4 2012/01/11 23:38:52 ssuominen Exp $
31 +
32 +*pygtkhelpers-0.4.3 (11 Jan 2012)
33 +
34 + 11 Jan 2012; Samuli Suominen <ssuominen@g.o>
35 + +pygtkhelpers-0.4.3.ebuild:
36 + Version bump.
37
38 29 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
39 pygtkhelpers-0.4.2.ebuild:
40
41
42
43 1.1 dev-python/pygtkhelpers/pygtkhelpers-0.4.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtkhelpers/pygtkhelpers-0.4.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtkhelpers/pygtkhelpers-0.4.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pygtkhelpers-0.4.3.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygtkhelpers/pygtkhelpers-0.4.3.ebuild,v 1.1 2012/01/11 23:38:52 ssuominen Exp $
53
54 EAPI="3"
55 PYTHON_DEPEND="2:2.6"
56 SUPPORT_PYTHON_ABIS="1"
57 RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
58
59 inherit distutils
60
61 DESCRIPTION="PyGTKHelpers is a library to assist the building of PyGTK applications"
62 HOMEPAGE="http://packages.python.org/pygtkhelpers/ http://pypi.python.org/pypi/pygtkhelpers"
63 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
64
65 LICENSE="LGPL-3"
66 SLOT="0"
67 KEYWORDS="~amd64 ~ppc64 ~x86"
68 IUSE="doc examples"
69
70 RDEPEND="dev-python/pygtk"
71 DEPEND="${RDEPEND}
72 dev-python/setuptools
73 doc? ( dev-python/sphinx )"
74
75 src_prepare() {
76 distutils_src_prepare
77
78 # docs/_static/scope.jpg does not exist.
79 sed -e "s/^\(html_logo =.*\)/#\1/" -i docs/conf.py || die "sed failed"
80 }
81
82 src_compile() {
83 distutils_src_compile
84
85 if use doc; then
86 einfo "Generation of documentation"
87 "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed"
88 fi
89 }
90
91 src_install() {
92 distutils_src_install
93
94 if use doc; then
95 pushd build/sphinx/html > /dev/null
96 docinto html
97 cp -R [a-z]* _images _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed"
98 popd > /dev/null
99 fi
100
101 if use examples; then
102 insinto /usr/share/doc/${PF}/examples
103 doins -r examples/* || die "Installation of examples failed"
104 fi
105 }