diff options
author | Ioannis Aslanidis <deathwing00@gentoo.org> | 2010-04-17 16:25:27 +0000 |
---|---|---|
committer | Ioannis Aslanidis <deathwing00@gentoo.org> | 2010-04-17 16:25:27 +0000 |
commit | f7901099a451fe75f0992472c559b81aef45d57a (patch) | |
tree | 60a4f5b886c57cd80fd940061c8b2c45f20c8294 /sys-apps/yum | |
parent | version bump (diff) | |
download | gentoo-2-f7901099a451fe75f0992472c559b81aef45d57a.tar.gz gentoo-2-f7901099a451fe75f0992472c559b81aef45d57a.tar.bz2 gentoo-2-f7901099a451fe75f0992472c559b81aef45d57a.zip |
Fixes bug #315757 with patch of arfrever
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/yum')
-rw-r--r-- | sys-apps/yum/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/yum/yum-3.2.27-r1.ebuild | 43 |
2 files changed, 50 insertions, 1 deletions
diff --git a/sys-apps/yum/ChangeLog b/sys-apps/yum/ChangeLog index 4ad0d4970e98..a7888f1bcce8 100644 --- a/sys-apps/yum/ChangeLog +++ b/sys-apps/yum/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/yum # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.10 2010/03/19 13:20:39 deathwing00 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.11 2010/04/17 16:25:27 deathwing00 Exp $ + +*yum-3.2.27-r1 (17 Apr 2010) + + 17 Apr 2010; Ioannis Aslanidis <iaslanidis@gentoo.org> + +yum-3.2.27-r1.ebuild: + Fixes bug #315757. Thanks go to arfrever at gentoo dot org for the patch. *yum-3.2.27 (19 Mar 2010) diff --git a/sys-apps/yum/yum-3.2.27-r1.ebuild b/sys-apps/yum/yum-3.2.27-r1.ebuild new file mode 100644 index 000000000000..3c3db334d676 --- /dev/null +++ b/sys-apps/yum/yum-3.2.27-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/yum-3.2.27-r1.ebuild,v 1.1 2010/04/17 16:25:27 deathwing00 Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +PYTHON_USE_WITH="sqlite" + +inherit eutils python + +DESCRIPTION="automatic updater and package installer/remover for rpm systems" +HOMEPAGE="http://yum.baseurl.org/" +SRC_URI="http://yum.baseurl.org//download/${PV:0:3}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND="app-arch/rpm[python] + dev-python/sqlitecachec + dev-python/celementtree + dev-libs/libxml2[python] + dev-python/urlgrabber" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_install() { + emake install DESTDIR="${D}" || die + rm -r "${ED}etc/rc.d" || die + find "${ED}" -name '*.py[co]' -print0 | xargs -0 rm -f +} + +pkg_postinst() { + python_mod_optimize yum rpmUtils /usr/share/yum-cli +} + +pkg_postrm() { + python_mod_cleanup yum rpmUtils /usr/share/yum-cli +} |