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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5DB9D158094 for ; Fri, 19 Aug 2022 00:31:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E753E086D; Fri, 19 Aug 2022 00:31:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6CD56E086D for ; Fri, 19 Aug 2022 00:31:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 51201341020 for ; Fri, 19 Aug 2022 00:31:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9792F56D for ; Fri, 19 Aug 2022 00:31:37 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1660869051.5677f67bb122928803d11c4083e4815c359502eb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyupgrade/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyupgrade/Manifest dev-python/pyupgrade/metadata.xml dev-python/pyupgrade/pyupgrade-2.37.3.ebuild X-VCS-Directories: dev-python/pyupgrade/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5677f67bb122928803d11c4083e4815c359502eb X-VCS-Branch: master Date: Fri, 19 Aug 2022 00:31:37 +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: 138b1707-d1a2-4e17-8bbf-0bbbb7faf153 X-Archives-Hash: e74cdeea85ff80b5ff1a83ec1f4e755c commit: 5677f67bb122928803d11c4083e4815c359502eb Author: Sam James gentoo org> AuthorDate: Fri Aug 19 00:26:46 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Aug 19 00:30:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5677f67b dev-python/pyupgrade: new package, add 2.37.3 Signed-off-by: Sam James gentoo.org> dev-python/pyupgrade/Manifest | 1 + dev-python/pyupgrade/metadata.xml | 21 +++++++++++++++++++++ dev-python/pyupgrade/pyupgrade-2.37.3.ebuild | 20 ++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest new file mode 100644 index 000000000000..93f27da63275 --- /dev/null +++ b/dev-python/pyupgrade/Manifest @@ -0,0 +1 @@ +DIST pyupgrade-2.37.3.gh.tar.gz 64041 BLAKE2B 531ac8038c7084a4e46bac15d8da056d04496d979beb1fa98ab0832fab50425f412e3b17de3a52a24264acf489af9a9dde6094dd8a5939877269b38d1997d9ad SHA512 dd7e31c2e586d412902d25f30102dc7d229f76f4735e61ad9c77ad59642c2c2ed65d937cc5c6cde9bd50a1a2dad99d06a97c88fb6b0bd034cbc139685045f738 diff --git a/dev-python/pyupgrade/metadata.xml b/dev-python/pyupgrade/metadata.xml new file mode 100644 index 000000000000..f072f4d85273 --- /dev/null +++ b/dev-python/pyupgrade/metadata.xml @@ -0,0 +1,21 @@ + + + + + sam@gentoo.org + Sam James + + + ajak@gentoo.org + John Helmert III + + + python@gentoo.org + Python + + + + pypi + asottile/pyupgrade + + diff --git a/dev-python/pyupgrade/pyupgrade-2.37.3.ebuild b/dev-python/pyupgrade/pyupgrade-2.37.3.ebuild new file mode 100644 index 000000000000..568af18a9d08 --- /dev/null +++ b/dev-python/pyupgrade/pyupgrade-2.37.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 + +DESCRIPTION="A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language." +HOMEPAGE="https://github.com/asottile/pyupgrade" +SRC_URI="https://github.com/asottile/pyupgrade/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/tokenize-rt[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest