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.2.8.ebuild
Date: Sun, 30 Dec 2007 10:10:59
Message-Id: E1J8v8A-0001dO-Ir@stork.gentoo.org
1 vapier 07/12/30 10:10:54
2
3 Modified: ChangeLog
4 Added: yum-3.2.8.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.4 sys-apps/yum/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/yum/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/yum/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/yum/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 15 May 2007 14:19:07 -0000 1.3
23 +++ ChangeLog 30 Dec 2007 10:10:54 -0000 1.4
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/yum
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.3 2007/05/15 14:19:07 bangert Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.4 2007/12/30 10:10:54 vapier Exp $
29 +
30 +*yum-3.2.8 (30 Dec 2007)
31 +
32 + 30 Dec 2007; Mike Frysinger <vapier@g.o> +yum-3.2.8.ebuild:
33 + Version bump.
34
35 15 May 2007; Thilo Bangert <bangert@g.o> metadata.xml:
36 add <herd>no-herd</herd>
37
38
39
40 1.1 sys-apps/yum/yum-3.2.8.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/yum/yum-3.2.8.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/yum/yum-3.2.8.ebuild?rev=1.1&content-type=text/plain
44
45 Index: yum-3.2.8.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/yum-3.2.8.ebuild,v 1.1 2007/12/30 10:10:54 vapier Exp $
50
51 NEED_PYTHON=1
52 inherit python eutils
53
54 DESCRIPTION="automatic updater and package installer/remover for rpm systems"
55 HOMEPAGE="http://linux.duke.edu/projects/yum/"
56 SRC_URI="http://linux.duke.edu/projects/yum/download/${PV:0:3}/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE=""
62
63 RDEPEND="app-arch/rpm
64 dev-python/celementtree
65 dev-libs/libxml2
66 dev-python/urlgrabber"
67
68 pkg_setup() {
69 _built_with_use() {
70 local pkg=$1 ; shift
71 if ! built_with_use ${pkg} "$@" ; then
72 eerror "You need to install ${pkg} with USE='$*'"
73 die "re-emerge ${pkg} with USE='$*'"
74 fi
75 }
76 _built_with_use dev-libs/libxml2 python
77 _built_with_use dev-lang/python sqlite
78 _built_with_use app-arch/rpm python
79 }
80
81 src_install() {
82 python_version
83 emake install DESTDIR="${D}" || die
84 rm -r "${D}"/etc/rc.d || die
85 find "${D}" -name '*.py[co]' -print0 | xargs -0 rm -f
86 }
87
88 pkg_postinst() {
89 python_mod_optimize "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/{yum,rpmUtils} "${ROOT}"/usr/share/yum-cli
90 }
91
92 pkg_postrm() {
93 python_mod_cleanup "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/{yum,rpmUtils} "${ROOT}"/usr/share/yum-cli
94 }
95
96
97
98 --
99 gentoo-commits@g.o mailing list