summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2010-08-04 07:53:20 +0000
committerAndrey Grozin <grozin@gentoo.org>2010-08-04 07:53:20 +0000
commitd53d81f48bf1466a2014c341a2f76417b6a0c070 (patch)
tree02e9458f646d3a0fa65b71ef1e1cc96a4ce84c6c /dev-python/bpython
parentVersion bump (diff)
downloadgentoo-2-d53d81f48bf1466a2014c341a2f76417b6a0c070.tar.gz
gentoo-2-d53d81f48bf1466a2014c341a2f76417b6a0c070.tar.bz2
gentoo-2-d53d81f48bf1466a2014c341a2f76417b6a0c070.zip
Version bump
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'dev-python/bpython')
-rw-r--r--dev-python/bpython/ChangeLog8
-rw-r--r--dev-python/bpython/bpython-0.9.7.1.ebuild (renamed from dev-python/bpython/bpython-0.9.7.ebuild)13
-rw-r--r--dev-python/bpython/metadata.xml3
3 files changed, 20 insertions, 4 deletions
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 <grozin@gentoo.org> -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.ebuild b/dev-python/bpython/bpython-0.9.7.1.ebuild
index d64c8bed32c9..5b668c0a431e 100644
--- a/dev-python/bpython/bpython-0.9.7.ebuild
+++ b/dev-python/bpython/bpython-0.9.7.1.ebuild
@@ -1,6 +1,6 @@
# 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 $
+# $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"
@@ -15,11 +15,12 @@ SRC_URI="http://www.bpython-interpreter.org/releases/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="gtk"
+IUSE="gtk urwid"
RDEPEND="dev-python/pygments
dev-python/setuptools
- gtk? ( dev-python/pygobject dev-python/pygtk )"
+ gtk? ( dev-python/pygobject dev-python/pygtk )
+ urwid? ( dev-python/urwid )"
DEPEND="${RDEPEND}"
DOCS="sample-config sample.theme light.theme"
@@ -38,4 +39,10 @@ src_install() {
}
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/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 @@
<longdescription>Syntax highlighting and autocompletion
for the python interpreter
</longdescription>
+ <use>
+ <flag name='urwid'>Backend based on <pkg>dev-python/urwid</pkg></flag>
+ </use>
</pkgmetadata>