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 9C1871382C5 for ; Thu, 29 Apr 2021 07:18:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 010FCE089C; Thu, 29 Apr 2021 07:18:32 +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 DD6B0E089C for ; Thu, 29 Apr 2021 07:18:31 +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 B9B0F34108E for ; Thu, 29 Apr 2021 07:18:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C1F673D for ; Thu, 29 Apr 2021 07:18:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1619680700.0ebd6f69df1db81568ed7c1dcd16099770ff07a9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/black/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/black/Manifest dev-python/black/black-21.4_beta2.ebuild X-VCS-Directories: dev-python/black/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0ebd6f69df1db81568ed7c1dcd16099770ff07a9 X-VCS-Branch: master Date: Thu, 29 Apr 2021 07:18:28 +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: 3fc6df76-fa80-4115-a14e-458d884c7c90 X-Archives-Hash: 18bc37af8a59055396748e0d7b59419e commit: 0ebd6f69df1db81568ed7c1dcd16099770ff07a9 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 29 07:11:10 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Apr 29 07:18:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ebd6f69 dev-python/black: Bump to 21.4b2 Signed-off-by: Michał Górny gentoo.org> dev-python/black/Manifest | 1 + dev-python/black/black-21.4_beta2.ebuild | 54 ++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index 470ef4c9967..eec40b5c829 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,3 +1,4 @@ DIST black-20.8b1.tar.gz 1092546 BLAKE2B 5a0a755222617d8d551b627c91670ecc32a9330cc1197900a9d21b071d0d99ddd32e09786becfc577407ab402f6da3d8683a59a9deaea1f6b4f07b9e1e4ecbed SHA512 53d6f6a6f47027e5bdfd3909471c993480034c8aa8ae395792565b8d79fb4e3a44299ea529652c0ccabf4309d645db9179bf54efc06fee20517f479e91cec838 DIST black-21.4b0.tar.gz 1140469 BLAKE2B f5fecde9083984e823a57acb4216ea46130255d73646209f12990c27f2d15eb7b2a31995a99f54d0fd5372aae9267bf015331d8599d38d91ca429e6c3a3c3b54 SHA512 a6e707361544abcc35bc2cbd4d92ad26b12a961890adf60b05330e9eb14368db10e92b17fa3535bf0f7e20e7976cfa3821dbf9305a37bc2426fb493f7ffdf843 DIST black-21.4b1.tar.gz 1135304 BLAKE2B 9dcb90109a9cbddb53682b6385f5b7ae5cc650251eeb8866921bdf8f04264d5ebeb2eaf4ca04fa761d461c6f389e352cafc2b2dc521fe6566a9d41da48830e44 SHA512 1a7d3ada1c91084c6e84df9367abca6d64315ba25dcb3a65ad13bfc3db76a13a84b1668fb23563e9f2ce61df72bcbd776b9d641ce670023465768c7269027e0a +DIST black-21.4b2.tar.gz 1136152 BLAKE2B bd1ee42495953687e23338df793bfe791352ab91541dc9b563a1274378a6527dc9eccea92fcaaf3c67403448e0ce7d99f605ff7dab1d7d38926f0cc84a859e1d SHA512 6d74bb718aea64db6e83045af7e787419efd7fb647c7d2b49a412e92e796a800fa4f1496fdb28253af894956984e22836761d22677631726f705d78143a63444 diff --git a/dev-python/black/black-21.4_beta2.ebuild b/dev-python/black/black-21.4_beta2.ebuild new file mode 100644 index 00000000000..9257824ce16 --- /dev/null +++ b/dev-python/black/black-21.4_beta2.ebuild @@ -0,0 +1,54 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 optfeature + +MY_PV="${PV//_beta/b}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="The uncompromising Python code formatter" +HOMEPAGE="https://black.readthedocs.io/en/stable/ https://github.com/psf/black" +SRC_URI="https://github.com/psf/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/appdirs[${PYTHON_USEDEP}] + >=dev-python/click-7.1.2[${PYTHON_USEDEP}] + >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + =dev-python/toml-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typed-ast[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] + ' python3_7) +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/aiohttp-cors[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV} + +python_test() { + cp "${S}"/src/black_primer/primer.json "${BUILD_DIR}"/lib/black_primer/primer.json || die + eunittest +} + +pkg_postinst() { + optfeature "blackd - HTTP API for black" dev-python/aiohttp dev-python/aiohttp-cors +}