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 20DB7158021 for ; Sat, 29 Oct 2022 06:46:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32D40E08A8; Sat, 29 Oct 2022 06:46:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18267E08A8 for ; Sat, 29 Oct 2022 06:46:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 F16E1341190 for ; Sat, 29 Oct 2022 06:46:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FE6A628 for ; Sat, 29 Oct 2022 06:46:49 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1667026001.3e13a2029c7dfa5f25fefd35daa97303cc046224.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/autopep8/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/autopep8/Manifest dev-python/autopep8/autopep8-2.0.0.ebuild X-VCS-Directories: dev-python/autopep8/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 3e13a2029c7dfa5f25fefd35daa97303cc046224 X-VCS-Branch: master Date: Sat, 29 Oct 2022 06:46:49 +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: 8c120e16-3878-4f47-8050-0f457ead2c05 X-Archives-Hash: 1ce39ce43abbba82bbf3765b28a01ce9 commit: 3e13a2029c7dfa5f25fefd35daa97303cc046224 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Oct 29 06:23:28 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Oct 29 06:46:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e13a202 dev-python/autopep8: add 2.0.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/autopep8/Manifest | 1 + dev-python/autopep8/autopep8-2.0.0.ebuild | 42 +++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest index d4bf51b8710f..0e0f1d1a64d1 100644 --- a/dev-python/autopep8/Manifest +++ b/dev-python/autopep8/Manifest @@ -1,3 +1,4 @@ DIST autopep8-1.6.0.tar.gz 122165 BLAKE2B 606ccf7ab51b52db95287384f9b19fd0f72da9e8fb4537bf395651622a95f88d782679550e61816d60dd3faa2fa096c979575d60cbd95476fa1cd7cf2c4f4180 SHA512 f4ffd564ceb48ff1f37d0a051aa8fefc60595a68709045c13561d8ab73de48dce99cc12acf40559e587ba4f6fddd4727dd2b40691ce43c991d60dda2c8b0d617 DIST autopep8-1.7.0.tar.gz 117055 BLAKE2B 36e2789551eb671b0bc7481742d9edf25aa622bd3f605fb2491195c45f7630378116e4b0bffb536cf7596b3b1c5ea695796259b944a886d55f05c9891e280d0c SHA512 e93ddf90ff989af71790f70f7e7101f7cc60890c8a976552a097c13b0a0e10c16dfd8770214b19d7fabd59403e6d87a9a37d75a2c6f3ed27f8c82a7d8da95dad DIST autopep8-1.7.1.tar.gz 117449 BLAKE2B 27bfdc58f647f3f2a7c3945f7faee152667e1dffc13c2b4a5af1f74e7d544c21d1472dc34c797818ca45fccae9f53e7a333c71b52b825b0fb97b50f12567889b SHA512 7a4a8ebf0bacd781fdf7ae32a34bd64f5b6ba9e8ccef5709799cefe5e5bc24da47f36ea49092e26a7c3e254bbea5d6feaeca38f64ffc3fe440307b1331be4766 +DIST autopep8-2.0.0.tar.gz 117507 BLAKE2B 8722b19454f47d0b960e3cc0e18ff3d6150ead009630047ecd1ce9001ea6f6d68595f80d7ad1087bddd2993e95d0634d63495b1d43dee095d114535bf632d1bf SHA512 883b79f7011a374a2ef88073a45748268a20449a3bc8da519c036c71700352dd8c4accc60fcb592f1a53ceac06984fcbe6ede8a272bc718c2b79873be5f35dd8 diff --git a/dev-python/autopep8/autopep8-2.0.0.ebuild b/dev-python/autopep8/autopep8-2.0.0.ebuild new file mode 100644 index 000000000000..b201d023a72a --- /dev/null +++ b/dev-python/autopep8/autopep8-2.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-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} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" +HOMEPAGE=" + https://github.com/hhatto/autopep8/ + https://pypi.org/project/autopep8/ +" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + >=dev-python/pycodestyle-2.9.1[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # test require in source build + test/test_autopep8.py::SystemTests::test_e101_skip_innocuous +) + +PATCHES=( + "${FILESDIR}"/autopep8-1.6.0-lib2to3-deprecation-pytest.patch +)