Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/yum: ChangeLog yum-3.4.3.ebuild
Date: Wed, 31 Aug 2011 16:21:57
Message-Id: 20110831162147.C8B912004C@flycatcher.gentoo.org
1 vapier 11/08/31 16:21:47
2
3 Modified: ChangeLog
4 Added: yum-3.4.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.15 sys-apps/yum/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/yum/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/yum/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/yum/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 6 Apr 2011 23:13:06 -0000 1.14
24 +++ ChangeLog 31 Aug 2011 16:21:47 -0000 1.15
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/yum
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.14 2011/04/06 23:13:06 xmw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.15 2011/08/31 16:21:47 vapier Exp $
30 +
31 +*yum-3.4.3 (31 Aug 2011)
32 +
33 + 31 Aug 2011; Mike Frysinger <vapier@g.o> +yum-3.4.3.ebuild:
34 + Version bump.
35
36 *yum-3.2.29 (06 Apr 2011)
37
38
39
40
41 1.1 sys-apps/yum/yum-3.4.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/yum/yum-3.4.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/yum/yum-3.4.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: yum-3.4.3.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/yum-3.4.3.ebuild,v 1.1 2011/08/31 16:21:47 vapier Exp $
51
52 EAPI="3"
53 PYTHON_DEPEND="2"
54 PYTHON_USE_WITH="sqlite"
55
56 inherit eutils python
57
58 DESCRIPTION="automatic updater and package installer/remover for rpm systems"
59 HOMEPAGE="http://yum.baseurl.org/"
60 SRC_URI="http://yum.baseurl.org//download/${PV:0:3}/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
65 IUSE="test"
66
67 DEPEND="dev-util/intltool
68 test? ( dev-python/nose )"
69
70 RDEPEND="app-arch/rpm[python]
71 dev-python/sqlitecachec
72 dev-python/celementtree
73 dev-libs/libxml2[python]
74 dev-python/urlgrabber"
75
76 pkg_setup() {
77 python_set_active_version 2
78 python_pkg_setup
79 }
80
81 src_install() {
82 emake install DESTDIR="${D}" || die
83 rm -r "${ED}etc/rc.d" || die
84 find "${ED}" -name '*.py[co]' -print0 | xargs -0 rm -f
85 }
86
87 pkg_postinst() {
88 python_mod_optimize yum rpmUtils /usr/share/yum-cli
89 }
90
91 pkg_postrm() {
92 python_mod_cleanup yum rpmUtils /usr/share/yum-cli
93 }