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-exec: python-exec-2.0-r3.ebuild python-exec-2.0-r1.ebuild python-exec-2.0-r2.ebuild python-exec-2.9999.ebuild ChangeLog
Date: Tue, 29 Oct 2013 17:58:39
Message-Id: 20131029175832.7344220047@flycatcher.gentoo.org
1 mgorny 13/10/29 17:58:32
2
3 Modified: python-exec-2.0-r2.ebuild python-exec-2.9999.ebuild
4 ChangeLog
5 Added: python-exec-2.0-r3.ebuild python-exec-2.0-r1.ebuild
6 Log:
7 Add a temporarily PDEP hack to avoid breaking systems by removing python-exec:0. Restore old ebuild names to make it possible to propagate it through dynamic-deps.
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key EFB4464E!)
10
11 Revision Changes Path
12 1.2 dev-python/python-exec/python-exec-2.0-r2.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.0-r2.ebuild?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.0-r2.ebuild?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.0-r2.ebuild?r1=1.1&r2=1.2
17
18 Index: python-exec-2.0-r2.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-2.0-r2.ebuild,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- python-exec-2.0-r2.ebuild 26 Oct 2013 16:35:52 -0000 1.1
25 +++ python-exec-2.0-r2.ebuild 29 Oct 2013 17:58:32 -0000 1.2
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2013 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-2.0-r2.ebuild,v 1.1 2013/10/26 16:35:52 mgorny Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-2.0-r2.ebuild,v 1.2 2013/10/29 17:58:32 mgorny Exp $
31
32 EAPI=5
33
34 @@ -19,6 +19,9 @@
35 KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
36 IUSE=""
37
38 +# Temporarily fail-safe to avoid breaking systems.
39 +PDEPEND="dev-python/python-exec:0"
40 +
41 src_configure() {
42 local pyimpls i EPYTHON
43 for i in "${PYTHON_COMPAT[@]}"; do
44
45
46
47 1.7 dev-python/python-exec/python-exec-2.9999.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.9999.ebuild?rev=1.7&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.9999.ebuild?rev=1.7&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.9999.ebuild?r1=1.6&r2=1.7
52
53 Index: python-exec-2.9999.ebuild
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-2.9999.ebuild,v
56 retrieving revision 1.6
57 retrieving revision 1.7
58 diff -u -r1.6 -r1.7
59 --- python-exec-2.9999.ebuild 26 Oct 2013 16:35:52 -0000 1.6
60 +++ python-exec-2.9999.ebuild 29 Oct 2013 17:58:32 -0000 1.7
61 @@ -1,6 +1,6 @@
62 # Copyright 1999-2013 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-2.9999.ebuild,v 1.6 2013/10/26 16:35:52 mgorny Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-2.9999.ebuild,v 1.7 2013/10/29 17:58:32 mgorny Exp $
66
67 EAPI=5
68
69 @@ -27,6 +27,9 @@
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
71 IUSE=""
72
73 +# Temporarily fail-safe to avoid breaking systems.
74 +PDEPEND="dev-python/python-exec:0"
75 +
76 #if LIVE
77 KEYWORDS=
78 SRC_URI=
79
80
81
82 1.59 dev-python/python-exec/ChangeLog
83
84 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/ChangeLog?rev=1.59&view=markup
85 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/ChangeLog?rev=1.59&content-type=text/plain
86 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/ChangeLog?r1=1.58&r2=1.59
87
88 Index: ChangeLog
89 ===================================================================
90 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-exec/ChangeLog,v
91 retrieving revision 1.58
92 retrieving revision 1.59
93 diff -u -r1.58 -r1.59
94 --- ChangeLog 26 Oct 2013 16:35:52 -0000 1.58
95 +++ ChangeLog 29 Oct 2013 17:58:32 -0000 1.59
96 @@ -1,6 +1,16 @@
97 # ChangeLog for dev-python/python-exec
98 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
99 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/ChangeLog,v 1.58 2013/10/26 16:35:52 mgorny Exp $
100 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/ChangeLog,v 1.59 2013/10/29 17:58:32 mgorny Exp $
101 +
102 +*python-exec-2.0-r3 (29 Oct 2013)
103 +*python-exec-2.0-r1 (29 Oct 2013)
104 +
105 + 29 Oct 2013; Michał Górny <mgorny@g.o> +python-exec-2.0-r1.ebuild,
106 + +python-exec-2.0-r3.ebuild, python-exec-2.0-r2.ebuild,
107 + python-exec-2.9999.ebuild:
108 + Add a temporarily PDEP hack to avoid breaking systems by removing python-
109 + exec:0. Restore old ebuild names to make it possible to propagate it through
110 + dynamic-deps.
111
112 *python-exec-2.0-r2 (26 Oct 2013)
113
114
115
116
117 1.1 dev-python/python-exec/python-exec-2.0-r3.ebuild
118
119 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.0-r3.ebuild?rev=1.1&view=markup
120 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.0-r3.ebuild?rev=1.1&content-type=text/plain
121
122 Index: python-exec-2.0-r3.ebuild
123 ===================================================================
124 # Copyright 1999-2013 Gentoo Foundation
125 # Distributed under the terms of the GNU General Public License v2
126 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-2.0-r3.ebuild,v 1.1 2013/10/29 17:58:32 mgorny Exp $
127
128 EAPI=5
129
130 # Kids, don't do this at home!
131 inherit python-utils-r1
132 PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
133
134 inherit autotools-utils python-r1 versionator
135
136 DESCRIPTION="Python script wrapper"
137 HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
138 SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
139
140 LICENSE="BSD"
141 SLOT="2"
142 KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
143 IUSE=""
144
145 # Temporarily fail-safe to avoid breaking systems.
146 PDEPEND="dev-python/python-exec:0"
147
148 src_configure() {
149 local pyimpls i EPYTHON
150 for i in "${PYTHON_COMPAT[@]}"; do
151 python_export "${i}" EPYTHON
152 pyimpls+=" ${EPYTHON}"
153 done
154
155 local myeconfargs=(
156 --with-eprefix="${EPREFIX}"
157 --with-python-impls="${pyimpls}"
158 )
159
160 autotools-utils_src_configure
161 }
162
163 cleanup_vardb_deps() {
164 local v
165 for v in ${REPLACING_VERSIONS}; do
166 # if 2.0-r1+ was installed already, no need for cleaning up again.
167 if version_is_at_least 2.0-r2 ${v}; then
168 return 0
169 fi
170 done
171
172 local f files=()
173 for f in "${EROOT%/}"/var/db/pkg/*/*/*DEPEND; do
174 if grep -q 'dev-python/python-exec\[' "${f}"; then
175 files+=( "${f}" )
176 fi
177 done
178
179 if [[ ${files[@]} ]]; then
180 ebegin "Fixing unslotted python-exec dependencies in installed packages"
181 sed -i -e 's,dev-python/python-exec\[,dev-python/python-exec:0[,g' \
182 "${files[@]}"
183 eend ${?}
184
185 # touch packages, categories and vardb. suggested by Arfrever.
186 touch "${files[@]%/*}" "${files[@]%/*/*}" "${EROOT%/}"/var/db/pkg
187 fi
188 }
189
190 pkg_postinst() {
191 cleanup_vardb_deps
192 }
193
194
195
196 1.6 dev-python/python-exec/python-exec-2.0-r1.ebuild
197
198 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.0-r1.ebuild?rev=1.6&view=markup
199 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.0-r1.ebuild?rev=1.6&content-type=text/plain
200 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.0-r1.ebuild?r1=1.5&r2=1.6