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

Reply via email to