Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-xlib: python-xlib-0.15_rc1-r2.ebuild ChangeLog
Date: Sun, 24 Feb 2013 20:24:36
Message-Id: 20130224202433.C315A2171D@flycatcher.gentoo.org
1 mgorny 13/02/24 20:24:33
2
3 Modified: ChangeLog
4 Added: python-xlib-0.15_rc1-r2.ebuild
5 Log:
6 Migrate to distutils-r1. Install HTML docs only.
7
8 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
9
10 Revision Changes Path
11 1.40 dev-python/python-xlib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-xlib/ChangeLog?rev=1.40&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-xlib/ChangeLog?rev=1.40&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-xlib/ChangeLog?r1=1.39&r2=1.40
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v
20 retrieving revision 1.39
21 retrieving revision 1.40
22 diff -u -r1.39 -r1.40
23 --- ChangeLog 5 Feb 2013 11:48:32 -0000 1.39
24 +++ ChangeLog 24 Feb 2013 20:24:33 -0000 1.40
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/python-xlib
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.39 2013/02/05 11:48:32 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.40 2013/02/24 20:24:33 mgorny Exp $
30 +
31 +*python-xlib-0.15_rc1-r2 (24 Feb 2013)
32 +
33 + 24 Feb 2013; Michał Górny <mgorny@g.o> +python-xlib-0.15_rc1-r2.ebuild:
34 + Migrate to distutils-r1. Install HTML docs only.
35
36 05 Feb 2013; Ian Delaney <idella4@g.o> +files/defs,
37 python-xlib-0.15_rc1-r1.ebuild:
38
39
40
41 1.1 dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: python-xlib-0.15_rc1-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild,v 1.1 2013/02/24 20:24:33 mgorny Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
55
56 inherit distutils-r1
57
58 MY_P="${P/_/}"
59 S="${WORKDIR}/${MY_P}"
60
61 DESCRIPTION="A fully functional X client library for Python, written in Python"
62 HOMEPAGE="http://python-xlib.sourceforge.net/"
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
68 IUSE="doc"
69
70 python_prepare_all() {
71 sed -e 's:make:$(MAKE):g' -i doc/Makefile || die
72 cp -r "${FILESDIR}"/defs doc/src/ || die
73
74 distutils-r1_python_prepare_all
75 }
76
77 python_compile_all() {
78 if use doc; then
79 cd doc || die
80 VARTEXFONTS="${T}"/fonts emake html
81 fi
82 }
83
84 python_test() {
85 cd test || die
86
87 local t
88 for t in *.py; do
89 "${PYTHON}" "${t}" || die
90 done
91 }
92
93 python_install_all() {
94 use doc && local HTML_DOCS=( doc/html/. )
95 distutils-r1_python_install_all
96 }