summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2016-07-23 06:27:19 +0200
committerUltrabug <ultrabug@gentoo.org>2016-07-23 06:27:19 +0200
commitaccb4fadb210e6231e60b721ac06732a4722bd9c (patch)
treec42a7003109a72f736d98bbd98ebfec71677f66e /dev-python/xonsh/xonsh-0.4.4.ebuild
parentdev-perl/Class-Accessor-Lite: Bump to version 0.80.0 (diff)
downloadgentoo-accb4fadb210e6231e60b721ac06732a4722bd9c.tar.gz
gentoo-accb4fadb210e6231e60b721ac06732a4722bd9c.tar.bz2
gentoo-accb4fadb210e6231e60b721ac06732a4722bd9c.zip
dev-python/xonsh: version bump and cleanup
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/xonsh/xonsh-0.4.4.ebuild')
-rw-r--r--dev-python/xonsh/xonsh-0.4.4.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/xonsh/xonsh-0.4.4.ebuild b/dev-python/xonsh/xonsh-0.4.4.ebuild
new file mode 100644
index 000000000000..ae04e7ed0c4d
--- /dev/null
+++ b/dev-python/xonsh/xonsh-0.4.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5} )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="An exotic, usable shell"
+HOMEPAGE="
+ http://xonsh.readthedocs.org/
+ https://github.com/scopatz/xonsh
+ http://pypi.python.org/pypi/xonsh"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="
+ dev-python/ply[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+python_prepare_all() {
+ sed \
+ -e "/install_kernel_spec/s:prefix=None:prefix=u\"${ED}/usr\":g" \
+ -i setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests --verbose || die
+}
+
+pkg_postinst() {
+ optfeature "Jupyter kernel support" dev-python/jupyter
+ optfeature "Alternative to readline backend" dev-python/prompt_toolkit
+}