summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2015-02-19 09:14:50 +0000
committerAndrey Grozin <grozin@gentoo.org>2015-02-19 09:14:50 +0000
commit3b090d44e531a6fcaff52d9a43d596634bb7c759 (patch)
tree2a5d299cbdd7cc5025798ab4b97f0212da56f665 /dev-python/bpython
parentStable for amd64, wrt bug #539646 (diff)
downloadgentoo-2-3b090d44e531a6fcaff52d9a43d596634bb7c759.tar.gz
gentoo-2-3b090d44e531a6fcaff52d9a43d596634bb7c759.tar.bz2
gentoo-2-3b090d44e531a6fcaff52d9a43d596634bb7c759.zip
Cleanup, closing #540574
(Portage version: 2.2.17/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
Diffstat (limited to 'dev-python/bpython')
-rw-r--r--dev-python/bpython/ChangeLog5
-rw-r--r--dev-python/bpython/bpython-0.14.ebuild20
2 files changed, 6 insertions, 19 deletions
diff --git a/dev-python/bpython/ChangeLog b/dev-python/bpython/ChangeLog
index ae7411b03a12..dbceaa9e52c0 100644
--- a/dev-python/bpython/ChangeLog
+++ b/dev-python/bpython/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/bpython
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.48 2015/02/18 18:32:34 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/ChangeLog,v 1.49 2015/02/19 09:14:50 grozin Exp $
+
+ 19 Feb 2015; Andrey Grozin <grozin@gentoo.org> bpython-0.14.ebuild:
+ Cleanup, closing #540574
18 Feb 2015; Andrey Grozin <grozin@gentoo.org> bpython-0.14.ebuild,
+files/bpython-0.14.patch:
diff --git a/dev-python/bpython/bpython-0.14.ebuild b/dev-python/bpython/bpython-0.14.ebuild
index 3f016240689a..c88608f69350 100644
--- a/dev-python/bpython/bpython-0.14.ebuild
+++ b/dev-python/bpython/bpython-0.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.14.ebuild,v 1.2 2015/02/18 18:32:34 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bpython/bpython-0.14.ebuild,v 1.3 2015/02/19 09:14:50 grozin Exp $
EAPI=5
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc gtk test"
+IUSE="doc test"
RDEPEND="
dev-python/curtsies[${PYTHON_USEDEP}]
@@ -32,10 +32,6 @@ RDEPEND="
>=dev-python/six-1.4[${PYTHON_USEDEP}]
dev-python/urwid[${PYTHON_USEDEP}]
dev-python/watchdog[${PYTHON_USEDEP}]
- gtk? (
- dev-python/pygobject:2[$(python_gen_usedep python2_7)]
- dev-python/pygtk[$(python_gen_usedep python2_7)]
- )
"
DEPEND="${RDEPEND}
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
@@ -57,20 +53,8 @@ python_compile_all() {
fi
}
-python_install() {
- distutils-r1_python_install
- if ! use gtk; then
- rm -f "${D}"usr/bin/bpython-gtk*
- # delete_unneeded_modules() {
- rm -f "${D}$(python_get_sitedir)/bpython/gtk_.py"
- fi
-}
-
python_test() {
pushd build/lib > /dev/null
- # https://bitbucket.org/bobf/bpython/issue/289/test-failures-in-latest-release-py27-py33
- sed -e s':test_enter:_&:' -i bpython/test/test_repl.py || die
-
"${PYTHON}" -m unittest discover || die
popd > /dev/null
}