diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-02-01 01:53:29 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-02-01 01:53:29 +0000 |
commit | 31348c53ff7ee9bd203687f6ba769e2a6aa3282a (patch) | |
tree | 1fb488e0035fa7b4c8eea1bd103565cd9718cdb6 /sys-apps | |
parent | EAPI-2, fix bug 238891, CDTEXT and toc2cue problems. Import patches from Debi... (diff) | |
download | gentoo-2-31348c53ff7ee9bd203687f6ba769e2a6aa3282a.tar.gz gentoo-2-31348c53ff7ee9bd203687f6ba769e2a6aa3282a.tar.bz2 gentoo-2-31348c53ff7ee9bd203687f6ba769e2a6aa3282a.zip |
Fixing deps for tests, closes #255696
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/yum/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/yum/yum-3.2.8-r1.ebuild | 42 |
2 files changed, 49 insertions, 2 deletions
diff --git a/sys-apps/yum/ChangeLog b/sys-apps/yum/ChangeLog index 7b5362d9f544..430e03b68ce8 100644 --- a/sys-apps/yum/ChangeLog +++ b/sys-apps/yum/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/yum -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.7 2008/09/27 13:41:29 betelgeuse Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.8 2009/02/01 01:53:29 patrick Exp $ + +*yum-3.2.8-r1 (01 Feb 2009) + + 01 Feb 2009; Patrick Lauer <patrick@gentoo.org> +yum-3.2.8-r1.ebuild: + Fixing deps for tests, closes #255696 27 Sep 2008; Petteri Räty <betelgeuse@gentoo.org> yum-3.2.8.ebuild: Use EAPI 2 use dependencies instead of built_with_use. diff --git a/sys-apps/yum/yum-3.2.8-r1.ebuild b/sys-apps/yum/yum-3.2.8-r1.ebuild new file mode 100644 index 000000000000..bd415a8c5f32 --- /dev/null +++ b/sys-apps/yum/yum-3.2.8-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/yum-3.2.8-r1.ebuild,v 1.1 2009/02/01 01:53:29 patrick Exp $ + +EAPI=2 +NEED_PYTHON=1 +inherit python eutils multilib + +DESCRIPTION="automatic updater and package installer/remover for rpm systems" +HOMEPAGE="http://linux.duke.edu/projects/yum/" +SRC_URI="http://linux.duke.edu/projects/yum/download/${PV:0:3}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +RDEPEND=">=dev-lang/python-2.5[sqlite] + app-arch/rpm[python] + dev-python/sqlitecachec + dev-python/celementtree + dev-libs/libxml2[python] + dev-python/urlgrabber + test? ( dev-python/nose )" + +src_install() { + python_version + emake install DESTDIR="${D}" || die + rm -r "${D}"/etc/rc.d || die + find "${D}" -name '*.py[co]' -print0 | xargs -0 rm -f +} + +pkg_postinst() { + python_version + python_mod_optimize \ + /usr/$(get_libdir)/python${PYVER}/site-packages/{yum,rpmUtils} \ + /usr/share/yum-cli +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/{yum,rpmUtils} /usr/share/yum-cli +} |