diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/xonsh | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/xonsh')
-rw-r--r-- | dev-python/xonsh/Manifest | 3 | ||||
-rw-r--r-- | dev-python/xonsh/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/xonsh/xonsh-0.4.7.ebuild | 47 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/xonsh/Manifest b/dev-python/xonsh/Manifest new file mode 100644 index 000000000000..96f6d6aa534a --- /dev/null +++ b/dev-python/xonsh/Manifest @@ -0,0 +1,3 @@ +DIST xonsh-0.4.7.tar.gz 545249 BLAKE2B e7207274cccbd96a32942dad7e5b0e44c4a053c52a0f4e06bc789d86414d678192ce885e3d2cccf2c4f4d208567a2beb1319ffd01e150b5a1a953cb82ca75598 SHA512 133a493b1245048e4b8a51f01f0629283736753a7636d8bb0c123b623122b285fed9ba415972e5f44dbb9a1439a83858da50a9b01ebe6bb11e4e390708e08c9f +EBUILD xonsh-0.4.7.ebuild 1003 BLAKE2B dac21f40a3cb072bdea5e0d1e63a669c2140ac46d503169d86637a88871166463cb19c81cd3be8db4862d73e97c2bcd0a2c33b68b23c2a6313e11ab11f89241c SHA512 64a9fccc3e71bcdc2dd0d7bb5088f735f0c9df78a86a251f02835b9c4789a9c54768b45c6724b991b63f3b65400c47cd0849b714c8f84d6747f44ee1074b40d9 +MISC metadata.xml 421 BLAKE2B 61c8423ad1c450e2a42a32fab7f839151ca56529b73633169fbebfb09e9cf8bf35d3387e06eaf0cb4951cb74478c69114acc3c7a7aea4e0fb4cc1bc46abdec66 SHA512 7a6b4489d4ccadf9659bffc020893f0282a843a8fefc04326a9a40964304416bd021613f231b46b1c39ff4f91a623f8e521c8f5b9d1a9311574fd6b83a5c40b3 diff --git a/dev-python/xonsh/metadata.xml b/dev-python/xonsh/metadata.xml new file mode 100644 index 000000000000..a3f8a4d9815a --- /dev/null +++ b/dev-python/xonsh/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="pypi">xonsh</remote-id> + <maintainer status="unknown"> + <email>scopatz@gmail.com</email> + <name>Anthony Scopatz</name> + </maintainer> + <remote-id type="github">scopatz/xonsh</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/xonsh/xonsh-0.4.7.ebuild b/dev-python/xonsh/xonsh-0.4.7.ebuild new file mode 100644 index 000000000000..d6c9310916d2 --- /dev/null +++ b/dev-python/xonsh/xonsh-0.4.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 eutils + +DESCRIPTION="An exotic, usable shell" +HOMEPAGE=" + https://github.com/scopatz/xonsh + https://pypi.org/project/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}] + dev-python/pygments[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + sed \ + -e "/install_jupyter_hook/s:prefix=prefix:prefix=u\"${ED}/usr\":g" \ + -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests --verbose || die +} + +pkg_postinst() { + elog "Please install" + optfeature "Jupyter kernel support" dev-python/jupyter + optfeature "Alternative to readline backend" dev-python/prompt_toolkit +} |