diff options
author | Lukasz Strzygowski <lucass@gentoo.org> | 2007-01-12 21:56:35 +0000 |
---|---|---|
committer | Lukasz Strzygowski <lucass@gentoo.org> | 2007-01-12 21:56:35 +0000 |
commit | a3114138712ebb3e40f50f777a50ab713b982a3f (patch) | |
tree | 58ee96ec9e23247598b38d013dea54f54c905b6d /dev-python/python-xlib | |
parent | Add myself as maintainer (diff) | |
download | gentoo-2-a3114138712ebb3e40f50f777a50ab713b982a3f.tar.gz gentoo-2-a3114138712ebb3e40f50f777a50ab713b982a3f.tar.bz2 gentoo-2-a3114138712ebb3e40f50f777a50ab713b982a3f.zip |
Patch to fix encoding issue (bug #149223), minor cleanup.
(Portage version: 2.1.2_rc4)
Diffstat (limited to 'dev-python/python-xlib')
6 files changed, 53 insertions, 2 deletions
diff --git a/dev-python/python-xlib/ChangeLog b/dev-python/python-xlib/ChangeLog index 77b29b5bacf8..18ef45a55503 100644 --- a/dev-python/python-xlib/ChangeLog +++ b/dev-python/python-xlib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/python-xlib -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.12 2006/02/08 20:58:35 lucass Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.13 2007/01/12 21:56:35 lucass Exp $ + +*python-xlib-0.12-r3 (12 Jan 2007) + + 12 Jan 2007; Lukasz Strzygowski <lucass@gentoo.org> + +files/python-xlib-0.12-coding.patch, +python-xlib-0.12-r3.ebuild: + Patch to fix encoding issue (bug #149223), minor cleanup. *python-xlib-0.12-r2 (08 Feb 2006) diff --git a/dev-python/python-xlib/files/digest-python-xlib-0.12 b/dev-python/python-xlib/files/digest-python-xlib-0.12 index ca3d16c52f9a..14915881fc01 100644 --- a/dev-python/python-xlib/files/digest-python-xlib-0.12 +++ b/dev-python/python-xlib/files/digest-python-xlib-0.12 @@ -1 +1,3 @@ MD5 83b294f34876c06b1a7697227249cb83 python-xlib-0.12.tar.gz 299665 +RMD160 1f16fcb6ebea0b91bfed5deb6085565814f33b26 python-xlib-0.12.tar.gz 299665 +SHA256 1ec9e3ad5155b4205a70c58d3aac4e4185caa63f99872c7f4422bc7fa895e169 python-xlib-0.12.tar.gz 299665 diff --git a/dev-python/python-xlib/files/digest-python-xlib-0.12-r1 b/dev-python/python-xlib/files/digest-python-xlib-0.12-r1 index ca3d16c52f9a..14915881fc01 100644 --- a/dev-python/python-xlib/files/digest-python-xlib-0.12-r1 +++ b/dev-python/python-xlib/files/digest-python-xlib-0.12-r1 @@ -1 +1,3 @@ MD5 83b294f34876c06b1a7697227249cb83 python-xlib-0.12.tar.gz 299665 +RMD160 1f16fcb6ebea0b91bfed5deb6085565814f33b26 python-xlib-0.12.tar.gz 299665 +SHA256 1ec9e3ad5155b4205a70c58d3aac4e4185caa63f99872c7f4422bc7fa895e169 python-xlib-0.12.tar.gz 299665 diff --git a/dev-python/python-xlib/files/digest-python-xlib-0.12-r3 b/dev-python/python-xlib/files/digest-python-xlib-0.12-r3 new file mode 100644 index 000000000000..14915881fc01 --- /dev/null +++ b/dev-python/python-xlib/files/digest-python-xlib-0.12-r3 @@ -0,0 +1,3 @@ +MD5 83b294f34876c06b1a7697227249cb83 python-xlib-0.12.tar.gz 299665 +RMD160 1f16fcb6ebea0b91bfed5deb6085565814f33b26 python-xlib-0.12.tar.gz 299665 +SHA256 1ec9e3ad5155b4205a70c58d3aac4e4185caa63f99872c7f4422bc7fa895e169 python-xlib-0.12.tar.gz 299665 diff --git a/dev-python/python-xlib/files/python-xlib-0.12-coding.patch b/dev-python/python-xlib/files/python-xlib-0.12-coding.patch new file mode 100644 index 000000000000..d6edf4f0fe19 --- /dev/null +++ b/dev-python/python-xlib/files/python-xlib-0.12-coding.patch @@ -0,0 +1,9 @@ +diff -Nru python-xlib-0.12-orig/Xlib/protocol/display.py python-xlib-0.12/Xlib/protocol/display.py +--- python-xlib-0.12-orig/Xlib/protocol/display.py 2002-02-25 12:09:23.000000000 +0100 ++++ python-xlib-0.12/Xlib/protocol/display.py 2007-01-12 22:46:31.000000000 +0100 +@@ -1,4 +1,5 @@ + # $Id: python-xlib-0.12-coding.patch,v 1.1 2007/01/12 21:56:35 lucass Exp $ ++# -*- coding: latin-1 -*- + # + # Xlib.protocol.display -- core display communication + # diff --git a/dev-python/python-xlib/python-xlib-0.12-r3.ebuild b/dev-python/python-xlib/python-xlib-0.12-r3.ebuild new file mode 100644 index 000000000000..6af0c7a0e136 --- /dev/null +++ b/dev-python/python-xlib/python-xlib-0.12-r3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/python-xlib-0.12-r3.ebuild,v 1.1 2007/01/12 21:56:35 lucass Exp $ + +inherit distutils eutils + +DESCRIPTION="A fully functional X client library for Python, written in Python" +HOMEPAGE="http://python-xlib.sourceforge.net/" +SRC_URI="mirror://sourceforge/python-xlib/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~amd64" +IUSE="" +DOCS="doc/ps/python-xlib.ps PKG-INFO TODO" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-buflen.patch" + epatch "${FILESDIR}/${P}-coding.patch" +} + +src_install () { + epatch "${FILESDIR}/${P}-info.patch" + distutils_src_install + dohtml -r doc/html/ + doinfo doc/info/*.info* +} |