Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/portage: portage-2.2.0_alpha85.ebuild portage-9999.ebuild portage-2.1.10.45.ebuild ChangeLog
Date: Sun, 05 Feb 2012 15:29:07
Message-Id: 20120205152852.21AD32004B@flycatcher.gentoo.org
1 zmedico 12/02/05 15:28:52
2
3 Modified: portage-2.2.0_alpha85.ebuild portage-9999.ebuild
4 portage-2.1.10.45.ebuild ChangeLog
5 Log:
6 Add preinst ewarn message for USE=xattr if pyxattr is not installed.
7
8 (Portage version: 2.2.0_alpha85/cvs/Linux i686)
9
10 Revision Changes Path
11 1.2 sys-apps/portage/portage-2.2.0_alpha85.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha85.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha85.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha85.ebuild?r1=1.1&r2=1.2
16
17 Index: portage-2.2.0_alpha85.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha85.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- portage-2.2.0_alpha85.ebuild 4 Feb 2012 23:09:38 -0000 1.1
24 +++ portage-2.2.0_alpha85.ebuild 5 Feb 2012 15:28:51 -0000 1.2
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha85.ebuild,v 1.1 2012/02/04 23:09:38 zmedico Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha85.ebuild,v 1.2 2012/02/05 15:28:51 zmedico Exp $
30
31 # Require EAPI 2 since we now require at least python-2.6 (for python 3
32 # syntax support) which also requires EAPI 2.
33 @@ -86,6 +86,10 @@
34 [[ $(/usr/bin/python -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x2060000 and "good" or "bad")') = good ]]
35 }
36
37 +current_python_has_xattr() {
38 + [[ $(/usr/bin/python -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x3030000 and "yes" or "no")') = yes ]]
39 +}
40 +
41 pkg_setup() {
42 # Bug #359731 - Die early if get_libdir fails.
43 [[ -z $(get_libdir) ]] && \
44 @@ -352,6 +356,13 @@
45 fi
46 fi
47
48 + if use xattr && ! current_python_has_xattr && \
49 + ! has_version dev-python/pyxattr ; then
50 + ewarn "For optimal performance in xattr handling, install"
51 + ewarn "dev-python/pyxattr, or install >=dev-lang/python-3.3 and"
52 + ewarn "enable USE=python3 for $CATEGORY/$PN."
53 + fi
54 +
55 if ! use build && ! has_version dev-python/pycrypto && \
56 ! has_version '>=dev-lang/python-2.6[ssl]' ; then
57 ewarn "If you are an ebuild developer and you plan to commit ebuilds"
58
59
60
61 1.41 sys-apps/portage/portage-9999.ebuild
62
63 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-9999.ebuild?rev=1.41&view=markup
64 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-9999.ebuild?rev=1.41&content-type=text/plain
65 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-9999.ebuild?r1=1.40&r2=1.41
66
67 Index: portage-9999.ebuild
68 ===================================================================
69 RCS file: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v
70 retrieving revision 1.40
71 retrieving revision 1.41
72 diff -u -r1.40 -r1.41
73 --- portage-9999.ebuild 22 Dec 2011 04:46:55 -0000 1.40
74 +++ portage-9999.ebuild 5 Feb 2012 15:28:51 -0000 1.41
75 @@ -1,6 +1,6 @@
76 -# Copyright 1999-2011 Gentoo Foundation
77 +# Copyright 1999-2012 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.40 2011/12/22 04:46:55 zmedico Exp $
80 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.41 2012/02/05 15:28:51 zmedico Exp $
81
82 EAPI=3
83 inherit git-2 eutils multilib python
84 @@ -69,6 +69,10 @@
85 [[ $(/usr/bin/python -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x2060000 and "good" or "bad")') = good ]]
86 }
87
88 +current_python_has_xattr() {
89 + [[ $(/usr/bin/python -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x3030000 and "yes" or "no")') = yes ]]
90 +}
91 +
92 pkg_setup() {
93 # Bug #359731 - Die early if get_libdir fails.
94 [[ -z $(get_libdir) ]] && \
95 @@ -325,6 +329,13 @@
96 fi
97 fi
98
99 + if use xattr && ! current_python_has_xattr && \
100 + ! has_version dev-python/pyxattr ; then
101 + ewarn "For optimal performance in xattr handling, install"
102 + ewarn "dev-python/pyxattr, or install >=dev-lang/python-3.3 and"
103 + ewarn "enable USE=python3 for $CATEGORY/$PN."
104 + fi
105 +
106 if ! use build && ! has_version dev-python/pycrypto && \
107 ! has_version '>=dev-lang/python-2.6[ssl]' ; then
108 ewarn "If you are an ebuild developer and you plan to commit ebuilds"
109
110
111
112 1.2 sys-apps/portage/portage-2.1.10.45.ebuild
113
114 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-2.1.10.45.ebuild?rev=1.2&view=markup
115 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-2.1.10.45.ebuild?rev=1.2&content-type=text/plain
116 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-2.1.10.45.ebuild?r1=1.1&r2=1.2
117
118 Index: portage-2.1.10.45.ebuild
119 ===================================================================
120 RCS file: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.10.45.ebuild,v
121 retrieving revision 1.1
122 retrieving revision 1.2
123 diff -u -r1.1 -r1.2
124 --- portage-2.1.10.45.ebuild 4 Feb 2012 23:07:41 -0000 1.1
125 +++ portage-2.1.10.45.ebuild 5 Feb 2012 15:28:51 -0000 1.2
126 @@ -1,6 +1,6 @@
127 # Copyright 1999-2012 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.10.45.ebuild,v 1.1 2012/02/04 23:07:41 zmedico Exp $
130 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.10.45.ebuild,v 1.2 2012/02/05 15:28:51 zmedico Exp $
131
132 # Require EAPI 2 since we now require at least python-2.6 (for python 3
133 # syntax support) which also requires EAPI 2.
134 @@ -86,6 +86,10 @@
135 [[ $(/usr/bin/python -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x2060000 and "good" or "bad")') = good ]]
136 }
137
138 +current_python_has_xattr() {
139 + [[ $(/usr/bin/python -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x3030000 and "yes" or "no")') = yes ]]
140 +}
141 +
142 pkg_setup() {
143 # Bug #359731 - Die early if get_libdir fails.
144 [[ -z $(get_libdir) ]] && \
145 @@ -317,6 +321,13 @@
146 fi
147 fi
148
149 + if use xattr && ! current_python_has_xattr && \
150 + ! has_version dev-python/pyxattr ; then
151 + ewarn "For optimal performance in xattr handling, install"
152 + ewarn "dev-python/pyxattr, or install >=dev-lang/python-3.3 and"
153 + ewarn "enable USE=python3 for $CATEGORY/$PN."
154 + fi
155 +
156 if ! use build && ! has_version dev-python/pycrypto && \
157 ! has_version '>=dev-lang/python-2.6[ssl]' ; then
158 ewarn "If you are an ebuild developer and you plan to commit ebuilds"
159
160
161
162 1.957 sys-apps/portage/ChangeLog
163
164 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/ChangeLog?rev=1.957&view=markup
165 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/ChangeLog?rev=1.957&content-type=text/plain
166 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/ChangeLog?r1=1.956&r2=1.957
167
168 Index: ChangeLog
169 ===================================================================
170 RCS file: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v
171 retrieving revision 1.956
172 retrieving revision 1.957
173 diff -u -r1.956 -r1.957
174 --- ChangeLog 4 Feb 2012 23:48:51 -0000 1.956
175 +++ ChangeLog 5 Feb 2012 15:28:51 -0000 1.957
176 @@ -1,6 +1,10 @@
177 # ChangeLog for sys-apps/portage
178 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
179 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.956 2012/02/04 23:48:51 zmedico Exp $
180 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.957 2012/02/05 15:28:51 zmedico Exp $
181 +
182 + 05 Feb 2012; Zac Medico <zmedico@g.o> portage-2.1.10.45.ebuild,
183 + portage-2.2.0_alpha85.ebuild, portage-9999.ebuild:
184 + Add preinst ewarn message for USE=xattr if pyxattr is not installed.
185
186 04 Feb 2012; Zac Medico <zmedico@g.o> -portage-2.1.10.11.ebuild,
187 -portage-2.2.0_alpha81.ebuild: