Gentoo Archives: gentoo-commits

From: "Michal HruAeckA (miska)" <miska@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/osc: ChangeLog osc-0.139.2.ebuild osc-9999.ebuild osc-0.139.1.ebuild
Date: Mon, 27 May 2013 16:24:12
Message-Id: 20130527162357.79EDF20081@flycatcher.gentoo.org
1 miska 13/05/27 16:23:57
2
3 Modified: ChangeLog osc-9999.ebuild osc-0.139.1.ebuild
4 Added: osc-0.139.2.ebuild
5 Log:
6 updated to version 0.139.2
7 * migrated to distutils-r1 (little patch needed)
8 broke dependency circle (RDEPEND->PDEPEND)
9
10 (Portage version: 2.1.12/cvs/Linux x86_64, unsigned Manifest commit)
11
12 Revision Changes Path
13 1.16 dev-util/osc/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/ChangeLog?rev=1.16&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/ChangeLog?rev=1.16&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/ChangeLog?r1=1.15&r2=1.16
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-util/osc/ChangeLog,v
22 retrieving revision 1.15
23 retrieving revision 1.16
24 diff -u -r1.15 -r1.16
25 --- ChangeLog 4 May 2013 21:28:50 -0000 1.15
26 +++ ChangeLog 27 May 2013 16:23:57 -0000 1.16
27 @@ -1,6 +1,15 @@
28 # ChangeLog for dev-util/osc
29 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-util/osc/ChangeLog,v 1.15 2013/05/04 21:28:50 floppym Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/dev-util/osc/ChangeLog,v 1.16 2013/05/27 16:23:57 miska Exp $
32 +
33 +*osc-0.139.2 (27 May 2013)
34 +
35 + 27 May 2013; Michal Hrusecky <miska@g.o> osc-0.139.1.ebuild,
36 + +osc-0.139.2.ebuild, osc-9999.ebuild,
37 + +files/osc-0.139.2-out-of-tree-build.patch:
38 + updated to version 0.139.2
39 + * migrated to distutils-r1 (little patch needed)
40 + broke dependency circle (RDEPEND->PDEPEND)
41
42 04 May 2013; Mike Gilbert <floppym@g.o> osc-0.139.1.ebuild,
43 osc-9999.ebuild:
44
45
46
47 1.10 dev-util/osc/osc-9999.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/osc-9999.ebuild?rev=1.10&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/osc-9999.ebuild?rev=1.10&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/osc-9999.ebuild?r1=1.9&r2=1.10
52
53 Index: osc-9999.ebuild
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/dev-util/osc/osc-9999.ebuild,v
56 retrieving revision 1.9
57 retrieving revision 1.10
58 diff -u -r1.9 -r1.10
59 --- osc-9999.ebuild 4 May 2013 21:28:50 -0000 1.9
60 +++ osc-9999.ebuild 27 May 2013 16:23:57 -0000 1.10
61 @@ -1,11 +1,12 @@
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-util/osc/osc-9999.ebuild,v 1.9 2013/05/04 21:28:50 floppym Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/dev-util/osc/osc-9999.ebuild,v 1.10 2013/05/27 16:23:57 miska Exp $
66
67 EAPI=5
68
69 EGIT_REPO_URI="git://github.com/openSUSE/osc.git"
70 -PYTHON_DEPEND="2:2.6"
71 +
72 +PYTHON_COMPAT=( python{2_6,2_7} )
73
74 if [[ "${PV}" == "9999" ]]; then
75 EXTRA_ECLASS="git-2"
76 @@ -14,7 +15,7 @@
77 EXTRA_ECLASS="obs-download"
78 fi
79
80 -inherit distutils ${EXTRA_ECLASS}
81 +inherit distutils-r1 ${EXTRA_ECLASS}
82 unset EXTRA_ECLASS
83
84 DESCRIPTION="Command line tool for Open Build Service"
85 @@ -31,23 +32,23 @@
86 KEYWORDS="~amd64 ~x86"
87
88 DEPEND="
89 - dev-python/urlgrabber
90 - dev-python/pyxml
91 - app-arch/rpm[python]
92 - dev-python/m2crypto
93 + dev-python/urlgrabber[${PYTHON_USEDEP}]
94 + dev-python/pyxml[${PYTHON_USEDEP}]
95 + app-arch/rpm[python,${PYTHON_USEDEP}]
96 + dev-python/m2crypto[${PYTHON_USEDEP}]
97 "
98 -RDEPEND="${DEPEND}
99 +PDEPEND="${DEPEND}
100 app-admin/sudo
101 dev-util/obs-service-meta
102 "
103
104 -pkg_setup() {
105 - python_set_active_version 2
106 - python_pkg_setup
107 +src_prepare() {
108 + epatch "${FILESDIR}"/${P}-out-of-tree-build.patch
109 + distutils-r1_src_prepare
110 }
111
112 src_install() {
113 - distutils_src_install
114 + distutils-r1_src_install
115 dosym osc-wrapper.py /usr/bin/osc
116 keepdir /usr/lib/osc/source_validators
117 cd "${ED}"/usr/
118
119
120
121 1.4 dev-util/osc/osc-0.139.1.ebuild
122
123 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/osc-0.139.1.ebuild?rev=1.4&view=markup
124 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/osc-0.139.1.ebuild?rev=1.4&content-type=text/plain
125 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/osc-0.139.1.ebuild?r1=1.3&r2=1.4
126
127 Index: osc-0.139.1.ebuild
128 ===================================================================
129 RCS file: /var/cvsroot/gentoo-x86/dev-util/osc/osc-0.139.1.ebuild,v
130 retrieving revision 1.3
131 retrieving revision 1.4
132 diff -u -r1.3 -r1.4
133 --- osc-0.139.1.ebuild 4 May 2013 21:28:50 -0000 1.3
134 +++ osc-0.139.1.ebuild 27 May 2013 16:23:57 -0000 1.4
135 @@ -1,6 +1,6 @@
136 # Copyright 1999-2013 Gentoo Foundation
137 # Distributed under the terms of the GNU General Public License v2
138 -# $Header: /var/cvsroot/gentoo-x86/dev-util/osc/osc-0.139.1.ebuild,v 1.3 2013/05/04 21:28:50 floppym Exp $
139 +# $Header: /var/cvsroot/gentoo-x86/dev-util/osc/osc-0.139.1.ebuild,v 1.4 2013/05/27 16:23:57 miska Exp $
140
141 EAPI=5
142
143 @@ -36,7 +36,7 @@
144 app-arch/rpm[python]
145 dev-python/m2crypto
146 "
147 -RDEPEND="${DEPEND}
148 +PDEPEND="${DEPEND}
149 app-admin/sudo
150 dev-util/obs-service-meta
151 "
152
153
154
155 1.1 dev-util/osc/osc-0.139.2.ebuild
156
157 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/osc-0.139.2.ebuild?rev=1.1&view=markup
158 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/osc-0.139.2.ebuild?rev=1.1&content-type=text/plain
159
160 Index: osc-0.139.2.ebuild
161 ===================================================================
162 # Copyright 1999-2013 Gentoo Foundation
163 # Distributed under the terms of the GNU General Public License v2
164 # $Header: /var/cvsroot/gentoo-x86/dev-util/osc/osc-0.139.2.ebuild,v 1.1 2013/05/27 16:23:57 miska Exp $
165
166 EAPI=5
167
168 EGIT_REPO_URI="git://github.com/openSUSE/osc.git"
169
170 PYTHON_COMPAT=( python{2_6,2_7} )
171
172 if [[ "${PV}" == "9999" ]]; then
173 EXTRA_ECLASS="git-2"
174 else
175 OBS_PROJECT="openSUSE:Tools"
176 EXTRA_ECLASS="obs-download"
177 fi
178
179 inherit distutils-r1 ${EXTRA_ECLASS}
180 unset EXTRA_ECLASS
181
182 DESCRIPTION="Command line tool for Open Build Service"
183 HOMEPAGE="http://en.opensuse.org/openSUSE:OSC"
184
185 [[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${P}.tar.gz"
186
187 LICENSE="GPL-2"
188 SLOT="0"
189 IUSE=""
190
191 # Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
192 [[ "${PV}" == "9999" ]] || \
193 KEYWORDS="~amd64 ~x86"
194
195 DEPEND="
196 dev-python/urlgrabber[${PYTHON_USEDEP}]
197 dev-python/pyxml[${PYTHON_USEDEP}]
198 app-arch/rpm[python,${PYTHON_USEDEP}]
199 dev-python/m2crypto[${PYTHON_USEDEP}]
200 "
201 PDEPEND="${DEPEND}
202 app-admin/sudo
203 dev-util/obs-service-meta
204 "
205
206 src_prepare() {
207 epatch "${FILESDIR}"/${P}-out-of-tree-build.patch
208 distutils-r1_src_prepare
209 }
210
211 src_install() {
212 distutils-r1_src_install
213 dosym osc-wrapper.py /usr/bin/osc
214 keepdir /usr/lib/osc/source_validators
215 cd "${ED}"/usr/
216 find . -type f -exec sed -i 's|/usr/bin/build|/usr/bin/suse-build|g' {} +
217 find . -type f -exec sed -i 's|/usr/lib/build|/usr/libexec/suse-build|g' {} +
218 find . -type f -exec sed -i 's|/usr/lib/obs|/usr/libexec/obs|g' {} +
219 rm -f "${ED}"/usr/share/doc/${PN}*/TODO*
220 }