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 D080D138350 for ; Sat, 25 Apr 2020 00:37:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8752DE0BC5; Sat, 25 Apr 2020 00:37:28 +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 69D2AE0BC5 for ; Sat, 25 Apr 2020 00:37:28 +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 609F834F1CF for ; Sat, 25 Apr 2020 00:37:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF4F5201 for ; Sat, 25 Apr 2020 00:37:24 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1587775036.c95f55dec7a3ecdc24cdc230b0bc7ff2f7f3ac80.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/black/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/black/black-19.10_beta0-r2.ebuild X-VCS-Directories: dev-python/black/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: c95f55dec7a3ecdc24cdc230b0bc7ff2f7f3ac80 X-VCS-Branch: dev Date: Sat, 25 Apr 2020 00:37:24 +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: f43bd517-d814-48f9-b5d7-9f6ae03c6a85 X-Archives-Hash: 2e04ab40e5588107987a1874d024cfad commit: c95f55dec7a3ecdc24cdc230b0bc7ff2f7f3ac80 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Apr 24 22:16:31 2020 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sat Apr 25 00:37:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c95f55de dev-python/black: bump to python3.8 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/black/black-19.10_beta0-r2.ebuild | 56 ++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/dev-python/black/black-19.10_beta0-r2.ebuild b/dev-python/black/black-19.10_beta0-r2.ebuild new file mode 100644 index 0000000..0835948 --- /dev/null +++ b/dev-python/black/black-19.10_beta0-r2.ebuild @@ -0,0 +1,56 @@ +# 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 + +MY_PV="19.10b0" + +DESCRIPTION="The uncompromising Python code formatter" +HOMEPAGE="https://github.com/psf/black https://pypi.org/project/black/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + test? ( + >=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}] + dev-python/aiohttp-cors[${PYTHON_USEDEP}] + ) +" + +RDEPEND=" + >=dev-python/appdirs-1.4[${PYTHON_USEDEP}] + >=dev-python/attrs-18.1[${PYTHON_USEDEP}] + >=dev-python/click-6.5[${PYTHON_USEDEP}] + >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.6[${PYTHON_USEDEP}] + >=dev-python/regex-2019.11.1[${PYTHON_USEDEP}] + >=dev-python/toml-0.9.4[${PYTHON_USEDEP}] + >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6) +" + +S="${WORKDIR}/${PN}-${MY_PV}" + +python_prepare_all() { + # cannot get_version() for some reason so we set it here manually + sed -i -e "s/get_version(root=CURRENT_DIR.parent)/${MY_PV::-2}/g" \ + -e '/for sp in "abcfr":/d' \ + -e '/version.split(sp)/d' \ + docs/conf.py || die + + distutils-r1_python_prepare_all +} + +distutils_enable_tests pytest +# docs fail to build:: module 'black' has no attribute 'is_python36' +# 'release': return_codes_re.sub('', self.config.release), +#distutils_enable_sphinx docs dev-python/recommonmark