Gentoo Archives: gentoo-commits

From: "Mart Raudsepp (leio)" <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygtk: pygtk-2.10.6.ebuild pygtk-2.8.6.ebuild
Date: Thu, 31 Jan 2008 23:36:20
Message-Id: E1JKix7-0007u5-QA@stork.gentoo.org
1 leio 08/01/31 23:36:17
2
3 Modified: pygtk-2.10.6.ebuild pygtk-2.8.6.ebuild
4 Log:
5 QA: Fix quoting in old versions (that might be soon removed anyhow)
6 (Portage version: 2.1.4)
7
8 Revision Changes Path
9 1.12 dev-python/pygtk/pygtk-2.10.6.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.10.6.ebuild?rev=1.12&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.10.6.ebuild?rev=1.12&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.10.6.ebuild?r1=1.11&r2=1.12
14
15 Index: pygtk-2.10.6.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.10.6.ebuild,v
18 retrieving revision 1.11
19 retrieving revision 1.12
20 diff -u -r1.11 -r1.12
21 --- pygtk-2.10.6.ebuild 10 Jan 2008 09:36:29 -0000 1.11
22 +++ pygtk-2.10.6.ebuild 31 Jan 2008 23:36:17 -0000 1.12
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.10.6.ebuild,v 1.11 2008/01/10 09:36:29 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.10.6.ebuild,v 1.12 2008/01/31 23:36:17 leio Exp $
28
29 NEED_PYTHON=2.3.5
30
31 @@ -85,7 +85,7 @@
32 python_version
33 python_mod_cleanup /usr/share/pygtk/2.0/codegen
34 python_mod_cleanup
35 - rm -f ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth}
36 + rm -f "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth}
37 alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9]
38 alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9]
39 }
40
41
42
43 1.15 dev-python/pygtk/pygtk-2.8.6.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.8.6.ebuild?rev=1.15&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.8.6.ebuild?rev=1.15&content-type=text/plain
47 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygtk/pygtk-2.8.6.ebuild?r1=1.14&r2=1.15
48
49 Index: pygtk-2.8.6.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.8.6.ebuild,v
52 retrieving revision 1.14
53 retrieving revision 1.15
54 diff -u -r1.14 -r1.15
55 --- pygtk-2.8.6.ebuild 18 Mar 2007 00:41:58 -0000 1.14
56 +++ pygtk-2.8.6.ebuild 31 Jan 2008 23:36:17 -0000 1.15
57 @@ -1,6 +1,6 @@
58 # Copyright 1999-2007 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.8.6.ebuild,v 1.14 2007/03/18 00:41:58 marienz Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.8.6.ebuild,v 1.15 2008/01/31 23:36:17 leio Exp $
62
63 inherit gnome.org python flag-o-matic
64
65 @@ -52,18 +52,18 @@
66 make DESTDIR="${D}" install || die
67 dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO
68 rm examples/Makefile*
69 - cp -r examples ${D}/usr/share/doc/${PF}/
70 + cp -r examples "${D}/usr/share/doc/${PF}/"
71
72 python_version
73 - mv ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \
74 - ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0
75 - mv ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \
76 - ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0
77 + mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py \
78 + "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py-2.0
79 + mv "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth \
80 + "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth-2.0
81
82 if use doc; then
83 cd "${S}"/../
84 dodir /usr/share/gtk-doc/html
85 - cp -pPR pygtk2reference ${D}/usr/share/gtk-doc/html/
86 + cp -pPR pygtk2reference "${D}"/usr/share/gtk-doc/html/
87 fi
88 }
89
90 @@ -84,7 +84,7 @@
91 python_version
92 python_mod_cleanup /usr/share/pygtk/2.0/codegen
93 python_mod_cleanup
94 - rm -f ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth}
95 + rm -f "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth}
96 alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9]
97 alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9]
98 }
99
100
101
102 --
103 gentoo-commits@l.g.o mailing list