Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/osc: osc-0.141.0.ebuild ChangeLog
Date: Sat, 02 Nov 2013 09:09:12
Message-Id: 20131102090907.66E632004B@flycatcher.gentoo.org
1 scarabeus 13/11/02 09:09:07
2
3 Modified: ChangeLog
4 Added: osc-0.141.0.ebuild
5 Log:
6 Version bump to latest to fix crashes with new obs.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
9
10 Revision Changes Path
11 1.21 dev-util/osc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/osc/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 10 Sep 2013 13:03:34 -0000 1.20
24 +++ ChangeLog 2 Nov 2013 09:09:07 -0000 1.21
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-util/osc
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/osc/ChangeLog,v 1.20 2013/09/10 13:03:34 scarabeus Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/osc/ChangeLog,v 1.21 2013/11/02 09:09:07 scarabeus Exp $
30 +
31 +*osc-0.141.0 (02 Nov 2013)
32 +
33 + 02 Nov 2013; Tomáš Chvátal <scarabeus@g.o> +osc-0.141.0.ebuild,
34 + osc-9999.ebuild:
35 + Version bump to latest to fix crashes with new obs.
36
37 10 Sep 2013; Tomáš Chvátal <scarabeus@g.o> -osc-0.139.1.ebuild,
38 osc-0.140.1.ebuild:
39
40
41
42 1.1 dev-util/osc/osc-0.141.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/osc-0.141.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/osc/osc-0.141.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: osc-0.141.0.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/osc/osc-0.141.0.ebuild,v 1.1 2013/11/02 09:09:07 scarabeus Exp $
52
53 EAPI=5
54
55 EGIT_REPO_URI="git://github.com/openSUSE/osc.git"
56
57 PYTHON_COMPAT=( python{2_6,2_7} )
58
59 if [[ "${PV}" == "9999" ]]; then
60 EXTRA_ECLASS="git-2"
61 else
62 OBS_PROJECT="openSUSE:Tools"
63 EXTRA_ECLASS="obs-download"
64 fi
65
66 DISTUTILS_SINGLE_IMPL=1
67 inherit distutils-r1 ${EXTRA_ECLASS}
68 unset EXTRA_ECLASS
69
70 DESCRIPTION="Command line tool for Open Build Service"
71 HOMEPAGE="http://en.opensuse.org/openSUSE:OSC"
72
73 [[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${P}.tar.gz"
74
75 LICENSE="GPL-2"
76 SLOT="0"
77 IUSE=""
78
79 # Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
80 [[ "${PV}" == "9999" ]] || \
81 KEYWORDS="~amd64 ~x86"
82
83 DEPEND="
84 dev-python/urlgrabber[${PYTHON_USEDEP}]
85 dev-python/pyxml[${PYTHON_USEDEP}]
86 app-arch/rpm[python,${PYTHON_USEDEP}]
87 dev-python/m2crypto[${PYTHON_USEDEP}]
88 ${PYTHON_DEPS}
89 "
90 PDEPEND="${DEPEND}
91 app-admin/sudo
92 dev-util/obs-service-meta
93 "
94
95 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
96
97 src_prepare() {
98 epatch "${FILESDIR}"/${PN}-0.139.2-out-of-tree-build.patch
99 distutils-r1_src_prepare
100 }
101
102 src_install() {
103 distutils-r1_src_install
104 dosym osc-wrapper.py /usr/bin/osc
105 keepdir /usr/lib/osc/source_validators
106 cd "${ED}"/usr/
107 find . -type f -exec sed -i 's|/usr/bin/build|/usr/bin/suse-build|g' {} +
108 find . -type f -exec sed -i 's|/usr/lib/build|/usr/libexec/suse-build|g' {} +
109 find . -type f -exec sed -i 's|/usr/lib/obs|/usr/libexec/obs|g' {} +
110 rm -f "${ED}"/usr/share/doc/${PN}*/TODO*
111 }