From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1931158973 for ; Sun, 17 Jan 2016 13:47:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0551D21C01E; Sun, 17 Jan 2016 13:47:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83B7B21C01E for ; Sun, 17 Jan 2016 13:47:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 74B873409E2 for ; Sun, 17 Jan 2016 13:47:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 989E799A for ; Sun, 17 Jan 2016 13:47:22 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1453037903.01a6afb19a792b95bc8016845a1437c3e20247f8.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/bpython/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/bpython/Manifest dev-python/bpython/bpython-0.15.ebuild X-VCS-Directories: dev-python/bpython/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 01a6afb19a792b95bc8016845a1437c3e20247f8 X-VCS-Branch: master Date: Sun, 17 Jan 2016 13:47:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7d6ccdfe-61f1-46a4-b410-49523adf8835 X-Archives-Hash: 3a1db4ab20af05a1b2b60e2742a7204a commit: 01a6afb19a792b95bc8016845a1437c3e20247f8 Author: Andrey Grozin gentoo org> AuthorDate: Sun Jan 17 13:38:23 2016 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Sun Jan 17 13:38:23 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01a6afb1 dev-python/bpython: bump to 0.15 Package-Manager: portage-2.2.26 dev-python/bpython/Manifest | 1 + dev-python/bpython/bpython-0.15.ebuild | 59 ++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest index 0f78ae9..54d6669 100644 --- a/dev-python/bpython/Manifest +++ b/dev-python/bpython/Manifest @@ -1,2 +1,3 @@ DIST bpython-0.14.2.tar.gz 184808 SHA256 d1f03c9b64a67219ef41aec258c95f192ade5fd187d48fe61b15c1f1d707e302 SHA512 aa6fb8a6fe08746c31783308423400bf2482c6401fc03a1cf1e95592b83946b49eb8df29ac274d0711e01e7b2dcad37c00a609b3b600c31774563d0638d67159 WHIRLPOOL fe6847da5bb0b5b72f9230d175dbe0812a010281bf6a022f87196f71426a37d116a3bf9292cdd20fcd465e56d9b7c3d975028d2bb3a07afacc5c87f3b4b3d0f6 DIST bpython-0.14.tar.gz 184430 SHA256 f7c9fc80fc5a4eb6a345a67815e31957c0c65c1bbdfc68cf99267cdc81a3d35b SHA512 1c43af30902ac01385a4f9d0af1f7531f190dea9ee0d43725d5a23d881874184beca1df9fc8f94f21110d99ca07a851861c56976199e9306515e2b00ca07f1f7 WHIRLPOOL 21dc44b48a0fb31d0c125fc203f90fe7750e81599353a51c215672ed82218fc3b4f544cdb530d6447d099e4eaa5983ad52b8f48e1e83bcf4799dad190af797eb +DIST bpython-0.15.tar.gz 198852 SHA256 3f4f7a32416371da2ee0774726875ce63d3f9fed8b58e5a9ad1580b33fd3cef7 SHA512 421a4c8cd7885b0cc73c38ca89bfdbe6535fc4f4575c42195b1b6a9ccdb68e8c3491ebefd7439241f322c3e4ae0a37679253ae8f63b41fc2cfc7fc2ab77b8867 WHIRLPOOL e6a83335d7ea2d099098fb3014aa212a14e71786c9d7e323cf0bba7223b98b9b4cffbeb214de53d9e00b03088304d41fedc37334266fa7e44ae4e905132c72c8 diff --git a/dev-python/bpython/bpython-0.15.ebuild b/dev-python/bpython/bpython-0.15.ebuild new file mode 100644 index 0000000..4ac804f --- /dev/null +++ b/dev-python/bpython/bpython-0.15.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 + +DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter" +HOMEPAGE="http://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.python.org/pypi/bpython" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=" + >=dev-python/curtsies-0.1.18[${PYTHON_USEDEP}] + =dev-python/six-1.5[${PYTHON_USEDEP}] + dev-python/urwid[${PYTHON_USEDEP}] + dev-python/watchdog[${PYTHON_USEDEP}] + " +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +DOCS=( AUTHORS CHANGELOG sample.theme light.theme ) + +# Req'd for clean build by each impl +DISTUTILS_IN_SOURCE_BUILD=1 + +python_compile_all() { + if use doc; then + sphinx-build -b html -c doc/sphinx/source/ \ + doc/sphinx/source/ doc/sphinx/source/html || die "docs build failed" + fi +} + +python_test() { + pushd build/lib > /dev/null + "${PYTHON}" -m unittest discover || die + popd > /dev/null +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/sphinx/source/html/. ) + distutils-r1_python_install_all +}