summaryrefslogtreecommitdiff
path: root/dev-python/flake8
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/flake8')
-rw-r--r--dev-python/flake8/Manifest4
-rw-r--r--dev-python/flake8/flake8-6.0.0.ebuild48
-rw-r--r--dev-python/flake8/metadata.xml2
3 files changed, 52 insertions, 2 deletions
diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest
index 19d7c19449b4..cf96c9013188 100644
--- a/dev-python/flake8/Manifest
+++ b/dev-python/flake8/Manifest
@@ -1,6 +1,8 @@
AUX flake8-4.0.1-upgrade-mccabe.patch 321 BLAKE2B 6febcff41b8064731f3a91bd9785516ce9534c5e6687404262df4eb984011dafe17ce8164a886d11ed0e4b795c475bdcc52e38db0b9e95ba3b36cecd4a0f452a SHA512 621771fd1976172caf2a6f1942821097ac50617c07cfa9a20f4d4b4ea24b8bcec0a41d81b6e49fce2405a6cca8b15dd513d6bbf41e186175b1aa21e30076b123
DIST flake8-4.0.1.tar.gz 154905 BLAKE2B b93fea36236881da595ae924b056686e0cd35d2466c1858e3ee83262922df8bc38cf5cd40a910980d287d048572dc94eb8d7c8ee4b11ebd1b4a474dfca02490c SHA512 0bdbf0218ce893df1c3e61f51cd3f371a5c72bb49ef78fec39548b1684e49b024e91cf4e3dcea60ba1efc08727985ef485814c372461e062ff4f810da99a1796
DIST flake8-5.0.4.gh.tar.gz 146207 BLAKE2B c99ec0977948e98ca62106737509f7901b15871894f08c1dc82a4dfdf7567bc85eaca5918600fc42d0c82de612644df1b587e8a7c84fbe040d1402c3513e1855 SHA512 2e9f8bf2bbca1ab0b7cb0bc6aee53f7e12288194a80a8be915478061fd76adb8d270ee50383b45beb9d4dd1ee806f104e7bbf29f69b23a7cd88ee0902ff3e965
+DIST flake8-6.0.0.gh.tar.gz 139138 BLAKE2B 87590594a95f48a9e532ca545d4ae17a098cba81a7708066d63180b27e1cd0e0b648a2362d16b3818ef1b91cbe9ecf51810d45136fb42f188fc09083e9b31921 SHA512 27de4632332ee72bb5deedfcb7ea59e31a3e7fbfd6c165adf019b06cccaba51b776f4310219d8b27cf4894ed2597330fe9c0e381187353d4dc239f102eedd26a
EBUILD flake8-4.0.1-r2.ebuild 1233 BLAKE2B 8b22865d9d36db9a860b4132b71dcc9ce9a4de8d00312538fe7f5880d70763a4300151379222d10bfffcbcae965533581096fd47b0bcb0a2d89337cabc44c8dc SHA512 d99542c787c24d2ea3473b3acaa24f0debf53a9b038d5f14374932efc1f760c68f1aa066729b4f60c0a55e75e7b0f2d260ab4867f85652065d294d0399b8e340
EBUILD flake8-5.0.4.ebuild 1237 BLAKE2B b3ae08e137e3422fe48218984fc12cacbaa20aa6bd868a7c7af87b8c648c6ec519658b869929ee4a8fce77e2d86ff64fc877832a8ffbea819912ebbca796b2d2 SHA512 63252af97cb9dbad49b7191ec9de23578a0e56d0643cc67db6f15eea8524085fd32128c13cdfae37736057e18d96e1d9106bbbd8cc056a6849588469a0a36cc9
-MISC metadata.xml 399 BLAKE2B 70701bbf00aac5f16ae5bb241b56a69c79abe02eea8695d5cdf71fb427e5ed1f1e19dca0e77904889a99e22026b39d64c309d4072dc4175f7660e414aec3736d SHA512 98ef1cc82925436bd40fe18876be4ba3b8b5aee42e62e73406b46ac49cdd2c689a69e4e685fb5f69f5ea7fbf6335797dc059817f4cf36f51c73404255830acf9
+EBUILD flake8-6.0.0.ebuild 1183 BLAKE2B 383cd741ac825cacfcf626b97104c497a48ed566e9eb0dae943cfc9204c0cb35bba5eae63f212af770a4bc26f99582d7ea447e19f5f98ec3820122cd25e02a88 SHA512 b45174b36895b61b899a313c9b6f3782947aa32cefc218813c442024536b064ad57e674a08f11c4ee3cfe199aef828e1aa31aa0b14f7f54f0b54ed3a036023dc
+MISC metadata.xml 399 BLAKE2B 01ae165c898af67195582e1aaf867b9f9fc937e56b87f09a812d21c9d1175131c25561524ba76857c1630a117a21bc43eeef907c2a34ab9e9b38866dc2f9430e SHA512 8f149a017f4fef8f8fe0fef037e589694e0c3b3689990f97f38ed23fb9b5c5170985fc1fd7814ef70b8200db66cb9367dcfc9bf6453f8742092335a1c3c8fae6
diff --git a/dev-python/flake8/flake8-6.0.0.ebuild b/dev-python/flake8/flake8-6.0.0.ebuild
new file mode 100644
index 000000000000..442be0193ccd
--- /dev/null
+++ b/dev-python/flake8/flake8-6.0.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe"
+HOMEPAGE="
+ https://github.com/PyCQA/flake8/
+ https://pypi.org/project/flake8/
+"
+SRC_URI="
+ https://github.com/PyCQA/flake8/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ <dev-python/pyflakes-3.1.0[${PYTHON_USEDEP}]
+ >=dev-python/pyflakes-3.0.0[${PYTHON_USEDEP}]
+ <dev-python/pycodestyle-2.11.0[${PYTHON_USEDEP}]
+ >=dev-python/pycodestyle-2.10.0[${PYTHON_USEDEP}]
+"
+PDEPEND="
+ >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
+ <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+ test? (
+ ${PDEPEND}
+ )
+"
+
+distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # fails if additional flake8 plugins are installed
+ tests/integration/test_plugins.py::test_local_plugin_can_add_option
+)
diff --git a/dev-python/flake8/metadata.xml b/dev-python/flake8/metadata.xml
index 3a5a3fc849da..e9ec91a01fbd 100644
--- a/dev-python/flake8/metadata.xml
+++ b/dev-python/flake8/metadata.xml
@@ -8,6 +8,6 @@
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">flake8</remote-id>
- <remote-id type="gitlab">pycqa/flake8</remote-id>
+ <remote-id type="github">PyCQA/flake8</remote-id>
</upstream>
</pkgmetadata>