diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-05 20:59:07 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-05 20:59:07 +0000 |
commit | 17f3324966e4308312e586ed346e4e31096e416a (patch) | |
tree | 145d8b41eb73f60710c9b1d6bd822d53cec2fddc /dev-python/rhpl | |
parent | Python wrappers for libxf86config (diff) | |
download | gentoo-2-17f3324966e4308312e586ed346e4e31096e416a.tar.gz gentoo-2-17f3324966e4308312e586ed346e4e31096e416a.tar.bz2 gentoo-2-17f3324966e4308312e586ed346e4e31096e416a.zip |
Library of python code used by Red Hat Linux programs
(Portage version: 2.1.1_rc1-r1)
Diffstat (limited to 'dev-python/rhpl')
-rw-r--r-- | dev-python/rhpl/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/rhpl/Manifest | 20 | ||||
-rw-r--r-- | dev-python/rhpl/files/0.188-use-raw-strings-for-gettext.diff | 28 | ||||
-rw-r--r-- | dev-python/rhpl/files/digest-rhpl-0.188 | 3 | ||||
-rw-r--r-- | dev-python/rhpl/metadata.xml | 9 | ||||
-rw-r--r-- | dev-python/rhpl/rhpl-0.188.ebuild | 50 |
6 files changed, 121 insertions, 0 deletions
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 <dberkholz@gentoo.org>; + +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/Manifest b/dev-python/rhpl/Manifest new file mode 100644 index 000000000000..5eef521eb39f --- /dev/null +++ b/dev-python/rhpl/Manifest @@ -0,0 +1,20 @@ +AUX 0.188-use-raw-strings-for-gettext.diff 1104 RMD160 1c6c7ac9fd93d83a8d4dc23bf02f22de3f46da54 SHA1 077adb46c0deceb0c74c8a4ff9675c1ca5b54a2f SHA256 f1e9c647b19f5bb3d570b3900607df66474939c2e9618b63ced0eed476042be8 +MD5 6d40b11098fae8adab17a48d650a57cf files/0.188-use-raw-strings-for-gettext.diff 1104 +RMD160 1c6c7ac9fd93d83a8d4dc23bf02f22de3f46da54 files/0.188-use-raw-strings-for-gettext.diff 1104 +SHA256 f1e9c647b19f5bb3d570b3900607df66474939c2e9618b63ced0eed476042be8 files/0.188-use-raw-strings-for-gettext.diff 1104 +DIST rhpl-0.188-2.src.rpm 299535 RMD160 a5ab8e57f10c25547877d528599ca4d3b2a3fdc8 SHA1 a14b83ccc0720bf0a556b6fed57389294ee1bf5e SHA256 87db85b3dd8ded08fe8fde548cedc28cd59a51c7dd5ec4b84d6881a332c014fd +EBUILD rhpl-0.188.ebuild 1142 RMD160 86080650b79876244ee61d5bd865d343844a3c26 SHA1 0c6e807ff8eb0d6860437f4b9859ee812a67adca SHA256 b52a0ea4412a16e6b39f8f1f9cd1ebb2a9ae5ddc0b891f122ee8f2b505a889bc +MD5 4f27c9118a6a3d495ce51bb84da97ced rhpl-0.188.ebuild 1142 +RMD160 86080650b79876244ee61d5bd865d343844a3c26 rhpl-0.188.ebuild 1142 +SHA256 b52a0ea4412a16e6b39f8f1f9cd1ebb2a9ae5ddc0b891f122ee8f2b505a889bc rhpl-0.188.ebuild 1142 +MISC ChangeLog 341 RMD160 a9784473b610a19b4a83ecca79d754508e0952a3 SHA1 1bede429b1e3ecc52d0e29cde47a539aa632b67d SHA256 313c17d772ad3c3b7e3196d46e99b56a30cf8938d9b4696f29c4a76407b7edd6 +MD5 6dedd5e3fcec96950107717322f88c45 ChangeLog 341 +RMD160 a9784473b610a19b4a83ecca79d754508e0952a3 ChangeLog 341 +SHA256 313c17d772ad3c3b7e3196d46e99b56a30cf8938d9b4696f29c4a76407b7edd6 ChangeLog 341 +MISC metadata.xml 252 RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 SHA1 5f9d6137a829b96482aacd60baf98160b49dc514 SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506 +MD5 4f7fe0eacb3ba0ef618e04831e4a7517 metadata.xml 252 +RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 metadata.xml 252 +SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506 metadata.xml 252 +MD5 cec94e56b1d67d1c5b725a53b4128215 files/digest-rhpl-0.188 241 +RMD160 a9cf3e1ad57a8a4b9a0638cd5533eba1eb862127 files/digest-rhpl-0.188 241 +SHA256 b954bd502e1c5d3e191e445969462db0da5c63500891bec1c325152a8b19ce27 files/digest-rhpl-0.188 241 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>dberkholz@gentoo.org</email> +<name>Donnie Berkholz</name> +</maintainer> +</pkgmetadata> 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 + !<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" +} |