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