summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-05-04 20:21:32 +0000
committerMike Gilbert <floppym@gentoo.org>2013-05-04 20:21:32 +0000
commit5af0e642549ec9aa2cdd37b7861434562bc13ecd (patch)
treea701d972a84c25c49522b65921a16eb27c0c8a3a /sys-apps/yum
parentConvert to distutils-r1. (diff)
downloadgentoo-2-5af0e642549ec9aa2cdd37b7861434562bc13ecd.tar.gz
gentoo-2-5af0e642549ec9aa2cdd37b7861434562bc13ecd.tar.bz2
gentoo-2-5af0e642549ec9aa2cdd37b7861434562bc13ecd.zip
Migrate to python-single-r1.
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'sys-apps/yum')
-rw-r--r--sys-apps/yum/ChangeLog7
-rw-r--r--sys-apps/yum/yum-3.4.3-r1.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/sys-apps/yum/ChangeLog b/sys-apps/yum/ChangeLog
index 1012e885ec12..22976d70c701 100644
--- a/sys-apps/yum/ChangeLog
+++ b/sys-apps/yum/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/yum
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.18 2013/05/04 19:06:33 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/ChangeLog,v 1.19 2013/05/04 20:21:32 floppym Exp $
+
+*yum-3.4.3-r1 (04 May 2013)
+
+ 04 May 2013; Mike Gilbert <floppym@gentoo.org> +yum-3.4.3-r1.ebuild:
+ Migrate to python-single-r1.
04 May 2013; Mike Gilbert <floppym@gentoo.org> yum-3.4.3.ebuild:
Drop dependency on dev-python/celementtree; it is included in the standard
diff --git a/sys-apps/yum/yum-3.4.3-r1.ebuild b/sys-apps/yum/yum-3.4.3-r1.ebuild
new file mode 100644
index 000000000000..74cc47d27449
--- /dev/null
+++ b/sys-apps/yum/yum-3.4.3-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/yum/yum-3.4.3-r1.ebuild,v 1.1 2013/05/04 20:21:32 floppym Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils multilib python-single-r1
+
+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="test"
+
+RDEPEND="${PYTHON_DEPS}
+ app-arch/rpm[${PYTHON_USEDEP}]
+ dev-python/sqlitecachec[${PYTHON_USEDEP}]
+ dev-libs/libxml2[python,${PYTHON_USEDEP}]
+ dev-python/urlgrabber[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+src_prepare() {
+ sed -i -e 's/make/$(MAKE)/' Makefile || die
+ sed -i -e "s:lib:$(get_libdir):g" rpmUtils/Makefile yum/Makefile || die
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install
+ python_optimize "${D%/}$(python_get_sitedir)" "${ED%/}/usr/share/yum-cli"
+ rm -r "${ED%/}/etc/rc.d" || die
+}