From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1350416-garchives=archives.gentoo.org@lists.gentoo.org> 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 B48E1158086 for <garchives@archives.gentoo.org>; Fri, 17 Dec 2021 03:15:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B8432BC01C; Fri, 17 Dec 2021 03:15:16 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 4363A2BC01C for <gentoo-commits@lists.gentoo.org>; Fri, 17 Dec 2021 03:15:15 +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 8563E34340D for <gentoo-commits@lists.gentoo.org>; Fri, 17 Dec 2021 03:15:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C316214D for <gentoo-commits@lists.gentoo.org>; Fri, 17 Dec 2021 03:15:11 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1639710864.1b6e4bede2b3a95a81821348ca73c3e9a087b5ec.sam@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-1.5.7.ebuild X-VCS-Directories: dev-python/autopep8/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1b6e4bede2b3a95a81821348ca73c3e9a087b5ec X-VCS-Branch: master Date: Fri, 17 Dec 2021 03:15:11 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d19e8c9f-d34a-47c0-a5bc-2e92db0844cb X-Archives-Hash: c1d1afb4d3523f2a89cc9a853b955823 commit: 1b6e4bede2b3a95a81821348ca73c3e9a087b5ec Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Dec 17 03:14:24 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Dec 17 03:14:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b6e4bed dev-python/autopep8: Revert "Remove old" This reverts commit 29972801288682885ead17c680a307a0e9d5d391. Restore 1.5.7 so that stable flake8 can be co-installed with autopep8. Bug: https://bugs.gentoo.org/829384 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-python/autopep8/Manifest | 1 + dev-python/autopep8/autopep8-1.5.7.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest index effc4d3fa392..203514e99e97 100644 --- a/dev-python/autopep8/Manifest +++ b/dev-python/autopep8/Manifest @@ -1 +1,2 @@ +DIST autopep8-1.5.7.tar.gz 121537 BLAKE2B 06f107cab210258fe71b8e912312520797122fd38e3e67fa0d6cf640806690e1255fec63c74c11ec39952a4a50964a3f622ca1166d29299c4f7a7031a1013202 SHA512 b8fb8b63400e74ea978f576cb47c99b0a4bb15a5d1cfeb6ffc25d2ecdad301762f99ddff5c75af3900b3560797d9289a15bbb87ddcf74077d39bde0abadd4da7 DIST autopep8-1.6.0.tar.gz 122165 BLAKE2B 606ccf7ab51b52db95287384f9b19fd0f72da9e8fb4537bf395651622a95f88d782679550e61816d60dd3faa2fa096c979575d60cbd95476fa1cd7cf2c4f4180 SHA512 f4ffd564ceb48ff1f37d0a051aa8fefc60595a68709045c13561d8ab73de48dce99cc12acf40559e587ba4f6fddd4727dd2b40691ce43c991d60dda2c8b0d617 diff --git a/dev-python/autopep8/autopep8-1.5.7.ebuild b/dev-python/autopep8/autopep8-1.5.7.ebuild new file mode 100644 index 000000000000..e6d7e406100a --- /dev/null +++ b/dev-python/autopep8/autopep8-1.5.7.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} 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.7.0[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py