From d53d81f48bf1466a2014c341a2f76417b6a0c070 Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Wed, 4 Aug 2010 07:53:20 +0000 Subject: Version bump (Portage version: 2.2_rc67/cvs/Linux i686) --- dev-python/bpython/ChangeLog | 8 +++++- dev-python/bpython/bpython-0.9.7.1.ebuild | 48 +++++++++++++++++++++++++++++++ dev-python/bpython/bpython-0.9.7.ebuild | 41 -------------------------- dev-python/bpython/metadata.xml | 3 ++ 4 files changed, 58 insertions(+), 42 deletions(-) create mode 100644 dev-python/bpython/bpython-0.9.7.1.ebuild delete mode 100644 dev-python/bpython/bpython-0.9.7.ebuild (limited to 'dev-python/bpython') diff --git a/dev-python/bpython/ChangeLog b/dev-python/bpython/ChangeLog index de00ad114b16..09ed8798100b 100644 --- a/dev-python/bpython/ChangeLog +++ b/dev-python/bpython/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/bpython # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.21 2010/07/20 21:02:06 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.22 2010/08/04 07:53:20 grozin Exp $ + +*bpython-0.9.7.1 (04 Aug 2010) + + 04 Aug 2010; Andrey Grozin -bpython-0.9.7.ebuild, + +bpython-0.9.7.1.ebuild, metadata.xml: + Version bump *bpython-0.9.7 (20 Jul 2010) diff --git a/dev-python/bpython/bpython-0.9.7.1.ebuild b/dev-python/bpython/bpython-0.9.7.1.ebuild new file mode 100644 index 000000000000..5b668c0a431e --- /dev/null +++ b/dev-python/bpython/bpython-0.9.7.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.9.7.1.ebuild,v 1.1 2010/08/04 07:53:20 grozin Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +PYTHON_USE_WITH="ncurses" + +inherit distutils + +DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter" +HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ 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="gtk urwid" + +RDEPEND="dev-python/pygments + dev-python/setuptools + gtk? ( dev-python/pygobject dev-python/pygtk ) + urwid? ( dev-python/urwid )" +DEPEND="${RDEPEND}" + +DOCS="sample-config sample.theme light.theme" + +src_install() { + distutils_src_install + + if use gtk; then + # pygobject and pygtk currently don't support Python 3. + rm -f "${ED}"usr/bin/bpython-gtk-3.* + else + rm -f "${ED}"usr/bin/bpython-gtk* + + delete_unneeded_modules() { + rm -f "${ED}$(python_get_sitedir)/bpython/gtk_.py" + } + python_execute_function -q delete_unneeded_modules + fi + if ! use urwid; then + delete_urwid() { + rm -f "${ED}$(python_get_sitedir)/bpython/urwid.py" + } + python_execute_function -q delete_urwid + fi +} diff --git a/dev-python/bpython/bpython-0.9.7.ebuild b/dev-python/bpython/bpython-0.9.7.ebuild deleted file mode 100644 index d64c8bed32c9..000000000000 --- a/dev-python/bpython/bpython-0.9.7.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.9.7.ebuild,v 1.1 2010/07/20 21:02:06 arfrever Exp $ - -EAPI="3" -SUPPORT_PYTHON_ABIS="1" -PYTHON_USE_WITH="ncurses" - -inherit distutils - -DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter" -HOMEPAGE="http://www.bpython-interpreter.org/ https://bitbucket.org/bobf/bpython/ 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="gtk" - -RDEPEND="dev-python/pygments - dev-python/setuptools - gtk? ( dev-python/pygobject dev-python/pygtk )" -DEPEND="${RDEPEND}" - -DOCS="sample-config sample.theme light.theme" - -src_install() { - distutils_src_install - - if use gtk; then - # pygobject and pygtk currently don't support Python 3. - rm -f "${ED}"usr/bin/bpython-gtk-3.* - else - rm -f "${ED}"usr/bin/bpython-gtk* - - delete_unneeded_modules() { - rm -f "${ED}$(python_get_sitedir)/bpython/gtk_.py" - } - python_execute_function -q delete_unneeded_modules - fi -} diff --git a/dev-python/bpython/metadata.xml b/dev-python/bpython/metadata.xml index 60e38ca23306..9cfb8bc9a07a 100644 --- a/dev-python/bpython/metadata.xml +++ b/dev-python/bpython/metadata.xml @@ -9,4 +9,7 @@ Syntax highlighting and autocompletion for the python interpreter + + Backend based on dev-python/urwid + -- cgit v1.2.3-65-gdbad