summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/yum/yum-3.4.3_p20130218-r1.ebuild')
-rw-r--r--sys-apps/yum/yum-3.4.3_p20130218-r1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-apps/yum/yum-3.4.3_p20130218-r1.ebuild b/sys-apps/yum/yum-3.4.3_p20130218-r1.ebuild
new file mode 100644
index 000000000000..727290ba75cd
--- /dev/null
+++ b/sys-apps/yum/yum-3.4.3_p20130218-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+MY_PV="a119004"
+MY_P="${PN}-${MY_PV}"
+
+inherit eutils multilib python-single-r1
+
+DESCRIPTION="automatic updater and package installer/remover for rpm systems"
+HOMEPAGE="http://yum.baseurl.org/"
+SRC_URI="http://dev.gentoo.org/~creffett/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~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/pyliblzma[${PYTHON_USEDEP}]
+ dev-python/urlgrabber[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+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
+}