Gentoo Archives: gentoo-commits

From: "Jesus Rivero (neurogeek)" <neurogeek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pmw: ChangeLog pmw-1.3.2-r1.ebuild pmw-1.3.2.ebuild
Date: Sun, 01 Mar 2009 20:34:35
Message-Id: E1LdsMr-00025D-2C@stork.gentoo.org
1 neurogeek 09/03/01 20:34:33
2
3 Modified: ChangeLog
4 Added: pmw-1.3.2-r1.ebuild
5 Removed: pmw-1.3.2.ebuild
6 Log:
7 Revbump. EAPI 2 support for python tk USE flag. Removed older version
8 (Portage version: 2.2_rc20/cvs/Linux 2.6.27-gentoo-r7 i686)
9
10 Revision Changes Path
11 1.24 dev-python/pmw/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/ChangeLog?rev=1.24&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/ChangeLog?rev=1.24&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/ChangeLog?r1=1.23&r2=1.24
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v
20 retrieving revision 1.23
21 retrieving revision 1.24
22 diff -u -r1.23 -r1.24
23 --- ChangeLog 6 Aug 2008 04:41:09 -0000 1.23
24 +++ ChangeLog 1 Mar 2009 20:34:32 -0000 1.24
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pmw
27 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v 1.23 2008/08/06 04:41:09 neurogeek Exp $
29 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/ChangeLog,v 1.24 2009/03/01 20:34:32 neurogeek Exp $
31 +
32 +*pmw-1.3.2-r1 (01 Mar 2009)
33 +
34 + 01 Mar 2009; Jesus Rivero <neurogeek@g.o> -pmw-1.3.2.ebuild,
35 + +pmw-1.3.2-r1.ebuild:
36 + Revbump. EAPI 2 support for python tk USE flag. Removed older version
37
38 *pmw-1.3.2 (06 Aug 2008)
39
40
41
42
43 1.1 dev-python/pmw/pmw-1.3.2-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/pmw-1.3.2-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pmw/pmw-1.3.2-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pmw-1.3.2-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/pmw/pmw-1.3.2-r1.ebuild,v 1.1 2009/03/01 20:34:32 neurogeek Exp $
53
54 EAPI="2"
55 PYTHON_MODNAME="Pmw"
56
57 inherit distutils
58
59 MY_P="Pmw.${PV}"
60
61 DESCRIPTION="A toolkit for building high-level compound widgets in Python using the Tkinter module."
62 HOMEPAGE="http://pmw.sourceforge.net/"
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
64
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
67 LICENSE="BSD"
68 IUSE="doc examples"
69
70 DEPEND="dev-lang/python[tk]"
71 RDEPEND="${DEPEND}"
72
73 DOCS="${PYTHON_MODNAME}/README"
74 S="${WORKDIR}/${MY_P}/src"
75
76 src_unpack() {
77 distutils_src_unpack
78 epatch "${FILESDIR}/${P}-install-no-docs.patch"
79 }
80
81 src_install() {
82 distutils_src_install
83
84 local DIR
85 DIR="${S}/${PYTHON_MODNAME}/Pmw_1_3"
86
87 if use doc; then
88 dohtml -a html,gif,py "${DIR}"/doc/* \
89 || die "failed to install docs"
90 fi
91
92 if use examples; then
93 insinto "${ROOT}/usr/share/doc/${PF}/examples"
94 doins "${DIR}"/demos/* \
95 || die "failed to install demos"
96 fi
97
98 #Tests are not unittests and show various
99 #GUIs. So we don't run them in the ebuild
100
101 }