summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-15 06:29:38 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-15 06:29:38 +0000
commit50a48941625c64fa49b3bd8eac495a523e3299e4 (patch)
tree3d8b328096c9fe1d62e6d9b66b7e0a2ab851eebc /dev-python/bpython
parentStable for HPPA (bug #292132). (diff)
downloadhistorical-50a48941625c64fa49b3bd8eac495a523e3299e4.tar.gz
historical-50a48941625c64fa49b3bd8eac495a523e3299e4.tar.bz2
historical-50a48941625c64fa49b3bd8eac495a523e3299e4.zip
Fix traceback with Python 3.
Package-Manager: portage-14821-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/bpython')
-rw-r--r--dev-python/bpython/ChangeLog8
-rw-r--r--dev-python/bpython/Manifest4
-rw-r--r--dev-python/bpython/bpython-0.9.5.2-r1.ebuild28
-rw-r--r--dev-python/bpython/files/bpython-0.9.5.2-python-3.patch11
4 files changed, 49 insertions, 2 deletions
diff --git a/dev-python/bpython/ChangeLog b/dev-python/bpython/ChangeLog
index 34f4d3fcb3bb..98fd843a517a 100644
--- a/dev-python/bpython/ChangeLog
+++ b/dev-python/bpython/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/bpython
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.11 2009/10/02 01:51:18 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.12 2009/11/15 06:29:38 arfrever Exp $
+
+*bpython-0.9.5.2-r1 (15 Nov 2009)
+
+ 15 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +bpython-0.9.5.2-r1.ebuild, +files/bpython-0.9.5.2-python-3.patch:
+ Fix traceback with Python 3.
*bpython-0.9.5.2 (02 Oct 2009)
diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest
index 495d16947e5d..913eb119cd82 100644
--- a/dev-python/bpython/Manifest
+++ b/dev-python/bpython/Manifest
@@ -1,6 +1,8 @@
+AUX bpython-0.9.5.2-python-3.patch 341 RMD160 bf01a013b2544683327036e0eefa1cfc564d1a40 SHA1 956d518b232883169cf139f9566e213675cd4ecf SHA256 6dae18dae0ca592a72bf26fe937040473f234a0218d064c9d9116cdd880af7e9
DIST bpython-0.9.5.1.tar.gz 40026 RMD160 6f3d8e475ebe744803fa4e437c227b249618c597 SHA1 14453ae591a289bca6b5a26ed79fa58df1928fe6 SHA256 d1d2168c8f5f4fc9426cd865a5087bde6dcdd27aea2b7e5a483a6b27ecb40ac9
DIST bpython-0.9.5.2.tar.gz 40337 RMD160 9c6e4890998991c61dd017cb20810a2eb337153c SHA1 114b571fe857ff2dfee33b27644b6ee738254a12 SHA256 a575d88b9f0f31b17b7a2899647245f05aef9fec6970dc00400ed0d9553a5596
EBUILD bpython-0.9.5.1.ebuild 670 RMD160 f8a793adc0686f001888fee21bb325688616a004 SHA1 fbbf9f2ef8daf59f1736aeeaf08cdee4a872b3f8 SHA256 8b7deeb98bfeabeb4ca8d5cfcf0f6b015bf1c7bcc0a703280dbfb687b867969e
+EBUILD bpython-0.9.5.2-r1.ebuild 780 RMD160 04904fbf1df5535a5ed8729895be68d8b364e6d1 SHA1 4b2960aa6f0e2eeb0b5267416de705b43ad1f1d9 SHA256 63c5860be64dc6a31080eebbfef98b21ee86863a99c4c046f19cd007cfdb023b
EBUILD bpython-0.9.5.2.ebuild 730 RMD160 42f2c3ac81aaf1ab75f966021883fca4db48d200 SHA1 7d51be74f5923e076dc6c8811c2a8286d2f8ef3e SHA256 bd5c7ae57ce44cf86be50ba2e2e6155fa7367fa96219e86c080c3447b50dfd38
-MISC ChangeLog 1629 RMD160 a4c39a8290e37b7d03841390cae7ecf952d3e332 SHA1 2e8082b4c794bbdfad15d3fb41f0d67477ea517b SHA256 3bd9dcdd19034078938a7d1adc682575725033323827ba468f780d4f1ab6020b
+MISC ChangeLog 1838 RMD160 f759ef9792bae4c69a2c913d903307eccab2b63a SHA1 d6b3cbeec3c06be63b5630c7581188278f1d2a52 SHA256 b1a1dd4c6582fad58051983d4f38cc14f2d96d58070401f4fc3c8e68ef89d103
MISC metadata.xml 360 RMD160 7289fdde68b26a1ee25670bb74fd837e4ff20a35 SHA1 510ec740bfba3e682a6fcb68b6486960db06dd3b SHA256 77d8f6c57f58ed627fbfd5c0b33970bbd9a77d9b9b803456f07cc739a3e01029
diff --git a/dev-python/bpython/bpython-0.9.5.2-r1.ebuild b/dev-python/bpython/bpython-0.9.5.2-r1.ebuild
new file mode 100644
index 000000000000..5f4e21786eff
--- /dev/null
+++ b/dev-python/bpython/bpython-0.9.5.2-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.9.5.2-r1.ebuild,v 1.1 2009/11/15 06:29:38 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+PYTHON_USE_WITH="ncurses"
+
+inherit distutils eutils
+
+DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
+HOMEPAGE="http://www.bpython-interpreter.org/ http://pypi.python.org/pypi/bpython"
+SRC_URI="http://www.bpython-interpreter.org/releases/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/pygments
+ dev-python/setuptools"
+RDEPEND="${DEPEND}"
+
+DOCS="sample-config sample.theme light.theme"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-python-3.patch"
+}
diff --git a/dev-python/bpython/files/bpython-0.9.5.2-python-3.patch b/dev-python/bpython/files/bpython-0.9.5.2-python-3.patch
new file mode 100644
index 000000000000..6142c9ed3f67
--- /dev/null
+++ b/dev-python/bpython/files/bpython-0.9.5.2-python-3.patch
@@ -0,0 +1,11 @@
+--- bpython/importcompletion.py
++++ bpython/importcompletion.py
+@@ -77,7 +77,7 @@
+ name = os.path.splitext(name)[0]
+ try:
+ fo, pathname, _ = imp.find_module(name, [path])
+- except ImportError:
++ except (ImportError, SyntaxError):
+ continue
+ else:
+ if fo is not None: