summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-03-20 00:15:56 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-03-20 00:15:56 +0000
commit90d34f8f21914938b91d35390a06099adc7f55f8 (patch)
tree02eff815624a6e4aad7192197863aa711f8e1ac4
parentDrop games eclass usage (diff)
downloadgentoo-2-90d34f8f21914938b91d35390a06099adc7f55f8.tar.gz
gentoo-2-90d34f8f21914938b91d35390a06099adc7f55f8.tar.bz2
gentoo-2-90d34f8f21914938b91d35390a06099adc7f55f8.zip
Bump.
(Portage version: 2.1.4.4)
-rw-r--r--dev-python/rhpl/ChangeLog7
-rw-r--r--dev-python/rhpl/rhpl-0.213.ebuild49
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-python/rhpl/ChangeLog b/dev-python/rhpl/ChangeLog
index a6101b5b2cbf..bfc995e3cd5f 100644
--- a/dev-python/rhpl/ChangeLog
+++ b/dev-python/rhpl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/rhpl
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpl/ChangeLog,v 1.6 2008/02/14 02:49:37 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpl/ChangeLog,v 1.7 2008/03/20 00:15:56 dberkholz Exp $
+
+*rhpl-0.213 (20 Mar 2008)
+
+ 20 Mar 2008; Donnie Berkholz <dberkholz@gentoo.org>; +rhpl-0.213.ebuild:
+ Bump.
14 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> rhpl-0.210.ebuild:
Add ~amd64 keyword.
diff --git a/dev-python/rhpl/rhpl-0.213.ebuild b/dev-python/rhpl/rhpl-0.213.ebuild
new file mode 100644
index 000000000000..8fc11dcf3c32
--- /dev/null
+++ b/dev-python/rhpl/rhpl-0.213.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpl/rhpl-0.213.ebuild,v 1.1 2008/03/20 00:15:56 dberkholz Exp $
+
+inherit eutils multilib python rpm toolchain-funcs
+
+# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source
+# tarball out of it
+RPMREV="1"
+
+DESCRIPTION="Library of python code used by Red Hat Linux programs"
+HOMEPAGE="http://fedoraproject.org/wiki/SystemConfig/"
+SRC_URI="mirror://fedora-dev/development/source/SRPMS/${P}-${RPMREV}.src.rpm"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86 ~amd64"
+IUSE=""
+RDEPEND="dev-lang/python
+ !<sys-libs/libkudzu-1.2"
+DEPEND="${RDEPEND}
+ !s390? ( >=net-wireless/wireless-tools-28 )
+ sys-devel/gettext"
+
+src_unpack() {
+ rpm_src_unpack
+# epatch "${FILESDIR}"/${PV}-use-raw-strings-for-gettext.diff
+
+ sed -i \
+ -e 's:gcc:$(CC):g' \
+ "${S}"/src/Makefile
+}
+
+src_compile() {
+ python_version
+ emake \
+ PYTHON=python${PYVER} \
+ LIBDIR=$(get_libdir) \
+ ARCH=${ARCH} \
+ CC=$(tc-getCC) \
+ || die "emake failed"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ PYTHON=python${PYVER} \
+ LIBDIR=$(get_libdir) \
+ install || die "emake install failed"
+}