From f55aed3f00ea264a87a855d903966e21699beb03 Mon Sep 17 00:00:00 2001 From: Donnie Berkholz Date: Tue, 5 Sep 2006 20:59:07 +0000 Subject: Library of python code used by Red Hat Linux programs Package-Manager: portage-2.1.1_rc1-r1 --- dev-python/rhpl/ChangeLog | 11 +++++ .../files/0.188-use-raw-strings-for-gettext.diff | 28 ++++++++++++ dev-python/rhpl/files/digest-rhpl-0.188 | 3 ++ dev-python/rhpl/metadata.xml | 9 ++++ dev-python/rhpl/rhpl-0.188.ebuild | 50 ++++++++++++++++++++++ 5 files changed, 101 insertions(+) create mode 100644 dev-python/rhpl/ChangeLog create mode 100644 dev-python/rhpl/files/0.188-use-raw-strings-for-gettext.diff create mode 100644 dev-python/rhpl/files/digest-rhpl-0.188 create mode 100644 dev-python/rhpl/metadata.xml create mode 100644 dev-python/rhpl/rhpl-0.188.ebuild (limited to 'dev-python') diff --git a/dev-python/rhpl/ChangeLog b/dev-python/rhpl/ChangeLog new file mode 100644 index 000000000000..5f15a9a97f09 --- /dev/null +++ b/dev-python/rhpl/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-python/rhpl +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpl/ChangeLog,v 1.1 2006/09/05 20:59:07 dberkholz Exp $ + +*rhpl-0.188 (05 Sep 2006) + + 05 Sep 2006; Donnie Berkholz ; + +files/0.188-use-raw-strings-for-gettext.diff, +metadata.xml, + +rhpl-0.188.ebuild: + Library of python code used by Red Hat Linux programs + diff --git a/dev-python/rhpl/files/0.188-use-raw-strings-for-gettext.diff b/dev-python/rhpl/files/0.188-use-raw-strings-for-gettext.diff new file mode 100644 index 000000000000..c388c52ffa99 --- /dev/null +++ b/dev-python/rhpl/files/0.188-use-raw-strings-for-gettext.diff @@ -0,0 +1,28 @@ +diff -ur -x '*.po' rhpl-0.188.orig/src/gzread.py rhpl-0.188/src/gzread.py +--- rhpl-0.188.orig/src/gzread.py 2002-05-22 15:07:45.000000000 -0700 ++++ rhpl-0.188/src/gzread.py 2006-09-01 16:20:01.000000000 -0700 +@@ -57,7 +57,7 @@ + + def _read_gzip_header(self): + magic = self.fileobj.read(2) +- if magic != '\037\213': ++ if magic != r'\037\213': + self._unread(magic) + self.compressed = 0 + return +Only in rhpl-0.188/src/iconvmodule: build +Only in rhpl-0.188/src/iconvmodule: iconv.so +Only in rhpl-0.188/src: _translate.o +diff -ur -x '*.po' rhpl-0.188.orig/src/translate.py rhpl-0.188/src/translate.py +--- rhpl-0.188.orig/src/translate.py 2005-07-06 11:40:10.000000000 -0700 ++++ rhpl-0.188/src/translate.py 2006-09-01 16:20:24.000000000 -0700 +@@ -125,7 +125,7 @@ + buf = f.read(2) + f.close() + +- if buf == "\037\213": ++ if buf == r"\037\213": + mofile = gzip.open(file_path) + else: + mofile = open(file_path) +Only in rhpl-0.188/src: _translate.so diff --git a/dev-python/rhpl/files/digest-rhpl-0.188 b/dev-python/rhpl/files/digest-rhpl-0.188 new file mode 100644 index 000000000000..916ee5b293a2 --- /dev/null +++ b/dev-python/rhpl/files/digest-rhpl-0.188 @@ -0,0 +1,3 @@ +MD5 5a74ee9e43760ea63669a27d171b7ec7 rhpl-0.188-2.src.rpm 299535 +RMD160 a5ab8e57f10c25547877d528599ca4d3b2a3fdc8 rhpl-0.188-2.src.rpm 299535 +SHA256 87db85b3dd8ded08fe8fde548cedc28cd59a51c7dd5ec4b84d6881a332c014fd rhpl-0.188-2.src.rpm 299535 diff --git a/dev-python/rhpl/metadata.xml b/dev-python/rhpl/metadata.xml new file mode 100644 index 000000000000..cd89a979878d --- /dev/null +++ b/dev-python/rhpl/metadata.xml @@ -0,0 +1,9 @@ + + + +no-herd + +dberkholz@gentoo.org +Donnie Berkholz + + diff --git a/dev-python/rhpl/rhpl-0.188.ebuild b/dev-python/rhpl/rhpl-0.188.ebuild new file mode 100644 index 000000000000..452f82b7b1b2 --- /dev/null +++ b/dev-python/rhpl/rhpl-0.188.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rhpl/rhpl-0.188.ebuild,v 1.1 2006/09/05 20:59:07 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="2" + +DESCRIPTION="Library of python code used by Red Hat Linux programs" +HOMEPAGE="http://fedora.redhat.com/projects/config-tools/" +SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.src.rpm" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +RDEPEND="dev-lang/python + dev-python/pyxf86config + !