Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xonsh/
Date: Thu, 31 Dec 2015 13:09:47
Message-Id: 1451567378.7e686bf5725e620c6bd9449da4ce31b38131d328.jlec@gentoo
1 commit: 7e686bf5725e620c6bd9449da4ce31b38131d328
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 31 13:05:34 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 13:09:38 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e686bf5
7
8 dev-python/xonsh: Version Bump
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/xonsh/Manifest | 1 +
14 dev-python/xonsh/xonsh-0.2.4.ebuild | 52 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 53 insertions(+)
16
17 diff --git a/dev-python/xonsh/Manifest b/dev-python/xonsh/Manifest
18 index ff0e8c8..47f2313 100644
19 --- a/dev-python/xonsh/Manifest
20 +++ b/dev-python/xonsh/Manifest
21 @@ -1 +1,2 @@
22 DIST xonsh-0.2.3.tar.gz 135218 SHA256 e54f045bbcb2c49f8bf67812bc1c1428628745d0b4dd9880c32b4703e51c4a4d SHA512 78cd577765e3116d0b0060a4db6e3e9aaa5bd870fce2e35241eaa00ca1600039d71b4f0ee011f20c959bf72f33ed09a69b4149c8daf377b9151ae0157259c700 WHIRLPOOL d1660a9f0571c8819560412033399cea4d80ee25707b87d84d852d26a7fcb392e0cf8d57f9084e2a3a36eb2ffffa38ae706b5da540cb2015c816efdd52148caf
23 +DIST xonsh-0.2.4.tar.gz 169491 SHA256 6fa02a32bdc1692992258f26f5bc31c5497143c1c8bd0a8fc279da219122f168 SHA512 17ef284ff57df517e5fc932816fb1ea800107f81aa42a5299d7ed6b2cc46eeaf176c9745b0e70524c0b92c582753b8b6dd586288a4db0ac95e3c4d7b20080cea WHIRLPOOL e472b10f73e785563e4ab457e60bf1702654a6fe2e6bdd35f4972a14485e100bcfb35b5ccbd93c6a55b228a9bd432f0c05287bb4b573bf6727d3e9cf6d8ed976
24
25 diff --git a/dev-python/xonsh/xonsh-0.2.4.ebuild b/dev-python/xonsh/xonsh-0.2.4.ebuild
26 new file mode 100644
27 index 0000000..959758a
28 --- /dev/null
29 +++ b/dev-python/xonsh/xonsh-0.2.4.ebuild
30 @@ -0,0 +1,52 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python3_{4,5} )
38 +
39 +inherit distutils-r1 eutils
40 +
41 +DESCRIPTION="An exotic, usable shell"
42 +HOMEPAGE="
43 + http://xonsh.readthedocs.org/
44 + https://github.com/scopatz/xonsh
45 + http://pypi.python.org/pypi/xonsh"
46 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
51 +IUSE="test"
52 +
53 +RDEPEND="
54 + dev-python/ply[${PYTHON_USEDEP}]
55 +"
56 +DEPEND="${REDEPEND}
57 + dev-python/setuptools[${PYTHON_USEDEP}]
58 + test? (
59 + dev-python/nose[${PYTHON_USEDEP}]
60 + )"
61 +
62 +_PATCHES=(
63 + "${FILESDIR}"/${P}-kernel-backport.patch
64 + "${FILESDIR}"/${P}-${PN}.bat-backport.patch
65 +)
66 +
67 +python_prepare_all() {
68 + sed \
69 + -e "/install_kernel_spec/s:prefix=None:prefix=u\"${ED}/usr\":g" \
70 + -i setup.py || die
71 +
72 + distutils-r1_python_prepare_all
73 +}
74 +
75 +python_test() {
76 + nosetests --verbose || die
77 +}
78 +
79 +pkg_postinst() {
80 + optfeature "Jupyter kernel support" dev-python/jupyter
81 + optfeature "Alternative to readline backend" dev-python/prompt_toolkit
82 +}