Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bpython/
Date: Wed, 12 Oct 2016 14:06:17
Message-Id: 1476281164.ae9cf0227e5181ae09019ba9914803463bb22f4e.grozin@gentoo
1 commit: ae9cf0227e5181ae09019ba9914803463bb22f4e
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 12 14:06:04 2016 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 12 14:06:04 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae9cf022
7
8 dev-python/bpython: bump to 0.16
9
10 Package-Manager: portage-2.3.0
11
12 dev-python/bpython/Manifest | 1 +
13 dev-python/bpython/bpython-0.16.ebuild | 56 ++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest
17 index 463c4fc..ab3ce25 100644
18 --- a/dev-python/bpython/Manifest
19 +++ b/dev-python/bpython/Manifest
20 @@ -2,3 +2,4 @@ DIST bpython-0.13.2.tar.gz 158551 SHA256 a1870a78e44ed6ef54aa906c58234cb0d12011f
21 DIST bpython-0.14.2.tar.gz 184808 SHA256 d1f03c9b64a67219ef41aec258c95f192ade5fd187d48fe61b15c1f1d707e302 SHA512 aa6fb8a6fe08746c31783308423400bf2482c6401fc03a1cf1e95592b83946b49eb8df29ac274d0711e01e7b2dcad37c00a609b3b600c31774563d0638d67159 WHIRLPOOL fe6847da5bb0b5b72f9230d175dbe0812a010281bf6a022f87196f71426a37d116a3bf9292cdd20fcd465e56d9b7c3d975028d2bb3a07afacc5c87f3b4b3d0f6
22 DIST bpython-0.14.tar.gz 184430 SHA256 f7c9fc80fc5a4eb6a345a67815e31957c0c65c1bbdfc68cf99267cdc81a3d35b SHA512 1c43af30902ac01385a4f9d0af1f7531f190dea9ee0d43725d5a23d881874184beca1df9fc8f94f21110d99ca07a851861c56976199e9306515e2b00ca07f1f7 WHIRLPOOL 21dc44b48a0fb31d0c125fc203f90fe7750e81599353a51c215672ed82218fc3b4f544cdb530d6447d099e4eaa5983ad52b8f48e1e83bcf4799dad190af797eb
23 DIST bpython-0.15.tar.gz 198852 SHA256 3f4f7a32416371da2ee0774726875ce63d3f9fed8b58e5a9ad1580b33fd3cef7 SHA512 421a4c8cd7885b0cc73c38ca89bfdbe6535fc4f4575c42195b1b6a9ccdb68e8c3491ebefd7439241f322c3e4ae0a37679253ae8f63b41fc2cfc7fc2ab77b8867 WHIRLPOOL e6a83335d7ea2d099098fb3014aa212a14e71786c9d7e323cf0bba7223b98b9b4cffbeb214de53d9e00b03088304d41fedc37334266fa7e44ae4e905132c72c8
24 +DIST bpython-0.16.tar.gz 201898 SHA256 faf3ddf602bd8ad7f133011778966333b9dcefbc3100df27a200b648906f655f SHA512 1173d720aa679e4a6079c7febd36abbffa901604c99c6d1ce1e940a8fbcf8a4ba7bc526de0ef5290e3859a4384d1cd5cbef62fd9f056ddcb545b64d69d103a5b WHIRLPOOL 13aaebc84f9685cd617d5d88fcb48531020925412fa1a0ecda223907b441279bb7639938f06d21a216cf9c4137d3bd1c122f00dcfa8a88d03abba0471c2124c2
25
26 diff --git a/dev-python/bpython/bpython-0.16.ebuild b/dev-python/bpython/bpython-0.16.ebuild
27 new file mode 100644
28 index 00000000..3b5ac83
29 --- /dev/null
30 +++ b/dev-python/bpython/bpython-0.16.ebuild
31 @@ -0,0 +1,56 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter"
43 +HOMEPAGE="http://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.python.org/pypi/bpython"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="doc test"
50 +
51 +RDEPEND="
52 + >=dev-python/curtsies-0.2.10[${PYTHON_USEDEP}]
53 + dev-python/greenlet[${PYTHON_USEDEP}]
54 + dev-python/jedi[${PYTHON_USEDEP}]
55 + dev-python/pygments[${PYTHON_USEDEP}]
56 + dev-python/requests[${PYTHON_USEDEP}]
57 + dev-python/setuptools[${PYTHON_USEDEP}]
58 + >=dev-python/six-1.5[${PYTHON_USEDEP}]
59 + dev-python/urwid[${PYTHON_USEDEP}]
60 + dev-python/watchdog[${PYTHON_USEDEP}]
61 + "
62 +DEPEND="${RDEPEND}
63 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
64 + test? ( dev-python/mock[${PYTHON_USEDEP}] )"
65 +
66 +DOCS=( AUTHORS CHANGELOG sample.theme light.theme )
67 +
68 +# Req'd for clean build by each impl
69 +DISTUTILS_IN_SOURCE_BUILD=1
70 +
71 +python_compile_all() {
72 + if use doc; then
73 + sphinx-build -b html -c doc/sphinx/source/ \
74 + doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed"
75 + fi
76 +}
77 +
78 +python_test() {
79 + pushd build/lib > /dev/null
80 + "${PYTHON}" -m unittest discover || die
81 + popd > /dev/null
82 +}
83 +
84 +python_install_all() {
85 + use doc && local HTML_DOCS=( doc/sphinx/source/html/. )
86 + distutils-r1_python_install_all
87 +}