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.9999.ebuild python-exec-2.0-r2.ebuild ChangeLog python-exec-2.0-r1.ebuild
Date: Sat, 26 Oct 2013 16:36:00
Message-Id: 20131026163552.C5C3320047@flycatcher.gentoo.org
1 mgorny 13/10/26 16:35:52
2
3 Modified: python-exec-2.9999.ebuild ChangeLog
4 Added: python-exec-2.0-r2.ebuild
5 Removed: python-exec-2.0-r1.ebuild
6 Log:
7 Pass "g" option to sed to fix all the occurences of python-exec in dep trees.
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.6 dev-python/python-exec/python-exec-2.9999.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.9999.ebuild?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.9999.ebuild?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.9999.ebuild?r1=1.5&r2=1.6
17
18 Index: python-exec-2.9999.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-2.9999.ebuild,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- python-exec-2.9999.ebuild 19 Oct 2013 03:40:22 -0000 1.5
25 +++ python-exec-2.9999.ebuild 26 Oct 2013 16:35:52 -0000 1.6
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.9999.ebuild,v 1.5 2013/10/19 03:40:22 vapier Exp $
30 +# $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 $
31
32 EAPI=5
33
34 @@ -51,7 +51,7 @@
35 local v
36 for v in ${REPLACING_VERSIONS}; do
37 # if 2.0-r1+ was installed already, no need for cleaning up again.
38 - if version_is_at_least 2.0-r1 ${v}; then
39 + if version_is_at_least 2.0-r2 ${v}; then
40 return 0
41 fi
42 done
43 @@ -65,7 +65,7 @@
44
45 if [[ ${files[@]} ]]; then
46 ebegin "Fixing unslotted python-exec dependencies in installed packages"
47 - sed -i -e 's,dev-python/python-exec\[,dev-python/python-exec:0[,' \
48 + sed -i -e 's,dev-python/python-exec\[,dev-python/python-exec:0[,g' \
49 "${files[@]}"
50 eend ${?}
51
52
53
54
55 1.58 dev-python/python-exec/ChangeLog
56
57 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/ChangeLog?rev=1.58&view=markup
58 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/ChangeLog?rev=1.58&content-type=text/plain
59 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/ChangeLog?r1=1.57&r2=1.58
60
61 Index: ChangeLog
62 ===================================================================
63 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-exec/ChangeLog,v
64 retrieving revision 1.57
65 retrieving revision 1.58
66 diff -u -r1.57 -r1.58
67 --- ChangeLog 19 Oct 2013 03:40:22 -0000 1.57
68 +++ ChangeLog 26 Oct 2013 16:35:52 -0000 1.58
69 @@ -1,6 +1,12 @@
70 # ChangeLog for dev-python/python-exec
71 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
72 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/ChangeLog,v 1.57 2013/10/19 03:40:22 vapier Exp $
73 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/ChangeLog,v 1.58 2013/10/26 16:35:52 mgorny Exp $
74 +
75 +*python-exec-2.0-r2 (26 Oct 2013)
76 +
77 + 26 Oct 2013; Michał Górny <mgorny@g.o> +python-exec-2.0-r2.ebuild,
78 + -python-exec-2.0-r1.ebuild, python-exec-2.9999.ebuild:
79 + Pass "g" option to sed to fix all the occurences of python-exec in dep trees.
80
81 19 Oct 2013; Mike Frysinger <vapier@g.o> python-exec-0.3.1.ebuild,
82 python-exec-0.9999.ebuild, python-exec-2.0-r1.ebuild,
83
84
85
86 1.1 dev-python/python-exec/python-exec-2.0-r2.ebuild
87
88 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.0-r2.ebuild?rev=1.1&view=markup
89 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-exec/python-exec-2.0-r2.ebuild?rev=1.1&content-type=text/plain
90
91 Index: python-exec-2.0-r2.ebuild
92 ===================================================================
93 # Copyright 1999-2013 Gentoo Foundation
94 # Distributed under the terms of the GNU General Public License v2
95 # $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 $
96
97 EAPI=5
98
99 # Kids, don't do this at home!
100 inherit python-utils-r1
101 PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
102
103 inherit autotools-utils python-r1 versionator
104
105 DESCRIPTION="Python script wrapper"
106 HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
107 SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
108
109 LICENSE="BSD"
110 SLOT="2"
111 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"
112 IUSE=""
113
114 src_configure() {
115 local pyimpls i EPYTHON
116 for i in "${PYTHON_COMPAT[@]}"; do
117 python_export "${i}" EPYTHON
118 pyimpls+=" ${EPYTHON}"
119 done
120
121 local myeconfargs=(
122 --with-eprefix="${EPREFIX}"
123 --with-python-impls="${pyimpls}"
124 )
125
126 autotools-utils_src_configure
127 }
128
129 cleanup_vardb_deps() {
130 local v
131 for v in ${REPLACING_VERSIONS}; do
132 # if 2.0-r1+ was installed already, no need for cleaning up again.
133 if version_is_at_least 2.0-r2 ${v}; then
134 return 0
135 fi
136 done
137
138 local f files=()
139 for f in "${EROOT%/}"/var/db/pkg/*/*/*DEPEND; do
140 if grep -q 'dev-python/python-exec\[' "${f}"; then
141 files+=( "${f}" )
142 fi
143 done
144
145 if [[ ${files[@]} ]]; then
146 ebegin "Fixing unslotted python-exec dependencies in installed packages"
147 sed -i -e 's,dev-python/python-exec\[,dev-python/python-exec:0[,g' \
148 "${files[@]}"
149 eend ${?}
150
151 # touch packages, categories and vardb. suggested by Arfrever.
152 touch "${files[@]%/*}" "${files[@]%/*/*}" "${EROOT%/}"/var/db/pkg
153 fi
154 }
155
156 pkg_postinst() {
157 cleanup_vardb_deps
158 }