From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9AB9E1382C5 for ; Tue, 13 Feb 2018 05:34:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF34CE0B9E; Tue, 13 Feb 2018 05:34:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E8B3E0B9E for ; Tue, 13 Feb 2018 05:34:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5FDF335C34 for ; Tue, 13 Feb 2018 05:34:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DC301D4 for ; Tue, 13 Feb 2018 05:34:11 +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: <1518500021.2a3b517d58aebc763b195e65918a4a456f685107.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.17.1.ebuild X-VCS-Directories: dev-python/bpython/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 2a3b517d58aebc763b195e65918a4a456f685107 X-VCS-Branch: master Date: Tue, 13 Feb 2018 05:34:11 +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: a85de523-100d-45d1-8701-75448b26492e X-Archives-Hash: 913545229e19f0178f933a750eed3fd3 commit: 2a3b517d58aebc763b195e65918a4a456f685107 Author: Andrey Grozin gentoo org> AuthorDate: Tue Feb 13 05:33:41 2018 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Tue Feb 13 05:33:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a3b517d dev-python/bpython: bump to 0.17.1 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-python/bpython/Manifest | 1 + dev-python/bpython/bpython-0.17.1.ebuild | 55 ++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest index e6e6a98e616..55bb645faa6 100644 --- a/dev-python/bpython/Manifest +++ b/dev-python/bpython/Manifest @@ -1,2 +1,3 @@ DIST bpython-0.16.tar.gz 201898 BLAKE2B 907f6a506d2b52db01e7b84c615574a7daad36f630646a345c963e432cc394330339390b6afc2585845b19d6c00d9c0b95e06b9d3b0fe85fe20daad3f5cf208a SHA512 1173d720aa679e4a6079c7febd36abbffa901604c99c6d1ce1e940a8fbcf8a4ba7bc526de0ef5290e3859a4384d1cd5cbef62fd9f056ddcb545b64d69d103a5b +DIST bpython-0.17.1.tar.gz 213638 BLAKE2B 42530a38f8cf714a0415957a46374b83ad14dfab89a76317507763c2f83b3dbc8f71c7cc967ec353fabd38b6631130d34df99c0d53f3728fa2390d4a6f64b25d SHA512 5b5e861646df90510db75520dff9533b71501d35b7af1d152adf2c929b171fa6a2b1c0a6b7eda0311f9315703db161c6a78698a6cd434e5321464d6d1c033e4e DIST bpython-0.17.tar.gz 214230 BLAKE2B dc26de037eb5698c04afb74472fe9483e1398f4f40b7da21520f2e7e2ba6e510bcbf200938d520d95b976a6fbeb31af7b1b1f828a022835edbe40d381c82797d SHA512 17c25f4ed69eb7cff27ba0a488434623a7105c60bbf1e6f608c91babf240741ab7a7097ad347f897cd5f39f2fedb944fd69d8dbfbc66da6b910e1a14ace6fd1f diff --git a/dev-python/bpython/bpython-0.17.1.ebuild b/dev-python/bpython/bpython-0.17.1.ebuild new file mode 100644 index 00000000000..6905eb54495 --- /dev/null +++ b/dev-python/bpython/bpython-0.17.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +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.2.11[${PYTHON_USEDEP}] + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/jedi[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/setuptools[${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 +}