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 64B6C138350 for ; Mon, 30 Mar 2020 12:25:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81B43E08CE; Mon, 30 Mar 2020 12:25:49 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 5B57EE08CE for ; Mon, 30 Mar 2020 12:25:49 +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 371CC34F47C for ; Mon, 30 Mar 2020 12:25:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EAACD150 for ; Mon, 30 Mar 2020 12:25:46 +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: <1585571114.8618876e6ed75a3d232ea165b07c5b720f72a1d2.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.19.ebuild X-VCS-Directories: dev-python/bpython/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 8618876e6ed75a3d232ea165b07c5b720f72a1d2 X-VCS-Branch: master Date: Mon, 30 Mar 2020 12:25:46 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4d601475-3942-4716-89e5-7771be6bd732 X-Archives-Hash: 9c380664109ff9cc746650e52857ef13 commit: 8618876e6ed75a3d232ea165b07c5b720f72a1d2 Author: Andrey Grozin gentoo org> AuthorDate: Mon Mar 30 12:25:14 2020 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Mon Mar 30 12:25:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8618876e dev-python/bpython: bump to 0.19 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrey Grozin gentoo.org> dev-python/bpython/Manifest | 1 + dev-python/bpython/bpython-0.19.ebuild | 57 ++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/bpython/Manifest b/dev-python/bpython/Manifest index f320511b490..fb82fbfea50 100644 --- a/dev-python/bpython/Manifest +++ b/dev-python/bpython/Manifest @@ -1 +1,2 @@ DIST bpython-0.18.tar.gz 213321 BLAKE2B 476c18fbec1d4ef3c5e206e7586b0e982656160474b64ceaecf5b49f560115af0e51d964553aad25bc765f7b431bc4f062581f9f30c0cb2e8da51cdbf2bca5ca SHA512 760143c286e686d4b8d706e38f3b2d2e7c865f960fa8d828ec08a7d0dd198bfa09686ab3c4b27ea365400d60c45b69a3c03ee726879a8825cc91af2a75d28dab +DIST bpython-0.19.tar.gz 216564 BLAKE2B a0b469ae28965e7926838b2d520aed0199a39ad5d9d5650e34446601e6e5f023a6c09cbdd85a30b2873dc72b5ef5774c483d5f627accaf29dce7e6f8628cc1df SHA512 7c746848671d5de0b63f0284d2af87c12480fa1ae3e89eb10093ab5dfd42f926171f29bd8bcc19fe173fc58f7eff7276da4639d580836f0d112dc5e85000dc55 diff --git a/dev-python/bpython/bpython-0.19.ebuild b/dev-python/bpython/bpython-0.19.ebuild new file mode 100644 index 00000000000..fa686ecb025 --- /dev/null +++ b/dev-python/bpython/bpython-0.19.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Syntax highlighting and autocompletion for the Python interpreter" +HOMEPAGE="https://www.bpython-interpreter.org/ https://github.com/bpython/bpython https://pypi.org/project/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/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 + +RESTRICT="test" #659110 + +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 +}