summaryrefslogtreecommitdiff
path: root/dev-python/autopep8
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/autopep8')
-rw-r--r--dev-python/autopep8/Manifest2
-rw-r--r--dev-python/autopep8/autopep8-1.7.0.ebuild33
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest
index 4cffc8e0be93..c8dd108ac8d7 100644
--- a/dev-python/autopep8/Manifest
+++ b/dev-python/autopep8/Manifest
@@ -1,4 +1,6 @@
DIST autopep8-1.6.0.tar.gz 122165 BLAKE2B 606ccf7ab51b52db95287384f9b19fd0f72da9e8fb4537bf395651622a95f88d782679550e61816d60dd3faa2fa096c979575d60cbd95476fa1cd7cf2c4f4180 SHA512 f4ffd564ceb48ff1f37d0a051aa8fefc60595a68709045c13561d8ab73de48dce99cc12acf40559e587ba4f6fddd4727dd2b40691ce43c991d60dda2c8b0d617
+DIST autopep8-1.7.0.tar.gz 117055 BLAKE2B 36e2789551eb671b0bc7481742d9edf25aa622bd3f605fb2491195c45f7630378116e4b0bffb536cf7596b3b1c5ea695796259b944a886d55f05c9891e280d0c SHA512 e93ddf90ff989af71790f70f7e7101f7cc60890c8a976552a097c13b0a0e10c16dfd8770214b19d7fabd59403e6d87a9a37d75a2c6f3ed27f8c82a7d8da95dad
EBUILD autopep8-1.6.0.ebuild 760 BLAKE2B 13b165f2deecbda14f999976b63f5d6f5486db9ca13313518109a626f8bd3985c3c1c0b160e3ff2fe518394e4f93247dfa3757af6900e63a56b4deee9748255c SHA512 a25a8449dc7c430b917c409cf7e52f6f1381bb1463e94bfebd28976e76a42a79ccf00e944511f3236acaf0896aa3b124f1b67af7ffb5efb8d7f236b48e5b1eb4
+EBUILD autopep8-1.7.0.ebuild 878 BLAKE2B 7ca08316df83ad4899dc0e4a92c555d9fdb7e127e5afcbf99b3de8a0096b44f4f337dc862fbba74d963ac5c045ddbc6c740a018d27fd681555c5089492603f44 SHA512 c6b92defe2a97880edd2e55fbbf8c97d277a3251a575649c05300b70cb459484414c36c1b13ef58961f2c85126c6d7fd1eac0df2f64fcf489b0429dcb9e29d30
EBUILD autopep8-9999.ebuild 796 BLAKE2B f268b10e32865c7e92de9b22d929c5f0a632044a9311d3a6cba736c00b9b65906b30afa0b30cf8e70fc756b60093146777b99b1486119537cdb77a37be5011e6 SHA512 96d829614ed05ae8574369d8dac5146a8e20e20eacfa4d50a580aae54a99369eb21b7f5d92862007fbe423379ae9a224b33dfdde5cd669918395ca235f5d99aa
MISC metadata.xml 404 BLAKE2B e9442968d195e1605d55b880cf29f4a2945f67c57c0d7d0325e19c0ccf60cac0ac3e68115a0285f87068482163f537abc1d75bddfdc6ae860c8c52c375147fdc SHA512 3e0b8a6ee869086166bb670a73189ca681729276cc7897666127b7e25b3a252aa2e80da5fd4dbb43d101a439d12f146ba0ba61bebf30a87a97f1030325f1aeab
diff --git a/dev-python/autopep8/autopep8-1.7.0.ebuild b/dev-python/autopep8/autopep8-1.7.0.ebuild
new file mode 100644
index 000000000000..6ddc994a7a0e
--- /dev/null
+++ b/dev-python/autopep8/autopep8-1.7.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 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.9.1[${PYTHON_USEDEP}]
+ dev-python/toml[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # test require in source build
+ test/test_autopep8.py::SystemTests::test_e101_skip_innocuous
+)