commit: dcfb4ca09a324a41b24bd03a2a78e62974a466ce
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 24 07:21:09 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 07:29:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcfb4ca0
dev-python/autopep8: Bump to 1.6.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/autopep8/Manifest | 1 +
dev-python/autopep8/autopep8-1.6.0.ebuild | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest
index 6d6433b471a..203514e99e9 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.6.0.ebuild
b/dev-python/autopep8/autopep8-1.6.0.ebuild
new file mode 100644
index 00000000000..54be24f3192
--- /dev/null
+++ b/dev-python/autopep8/autopep8-1.6.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..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.8.0[${PYTHON_USEDEP}]
+ dev-python/toml[${PYTHON_USEDEP}]"
+
+distutils_enable_tests unittest