From 5977493a4e9253400f8e28df0638c547a94ef591 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 17 Nov 2021 20:39:24 +0100 Subject: [PATCH] dev-python/flake8: Sync with gentoo It's from gentoo commit a9ee44f426e34cdd3463c8bbeef993e211795181. --- .../portage-stable/dev-python/flake8/Manifest | 9 ++- .../dev-python/flake8/flake8-2.0-r1.ebuild | 31 ---------- .../dev-python/flake8/flake8-2.1.0.ebuild | 37 ------------ .../dev-python/flake8/flake8-2.2.5.ebuild | 37 ------------ .../dev-python/flake8/flake8-2.5.4.ebuild | 51 ---------------- .../dev-python/flake8/flake8-3.3.0.ebuild | 58 ------------------- .../dev-python/flake8/flake8-3.8.4.ebuild | 39 +++++++++++++ .../dev-python/flake8/flake8-3.9.2-r1.ebuild | 36 ++++++++++++ .../dev-python/flake8/flake8-4.0.0.ebuild | 41 +++++++++++++ .../dev-python/flake8/flake8-4.0.1-r1.ebuild | 41 +++++++++++++ .../dev-python/flake8/metadata.xml | 5 +- 11 files changed, 164 insertions(+), 221 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.0-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.1.0.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.2.5.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.5.4.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-3.3.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-3.8.4.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-3.9.2-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-4.0.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-4.0.1-r1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/flake8/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/flake8/Manifest index c0ecd86c5c..bb87261c8e 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/flake8/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/flake8/Manifest @@ -1,5 +1,4 @@ -DIST flake8-2.0.tar.gz 10511 SHA256 8dce4f7e64cc202cc6da93eab84b2ce660110ff684b6738bba64a0a431b3bc69 SHA512 6e3d8030562c4489dce8d4b17464ea8c0239b7c28fcefb7c67bff645e18628bc3074ff0ff197ab54228544d0ff85c2ff9509502c8f98371d8dc5df6f1e3ec047 WHIRLPOOL 46dabf0120b97cf20b58d76745dd0c23aec69f4eeb25b8605944c7ca4f8a05580c6c9df3ce7ec4e507f2402ddb53da2a6730cf6b246eec8472562ec33fcbb9e2 -DIST flake8-2.1.0.tar.gz 25010 SHA256 098ab7991067c08cfaa4716de20066d90f66dbc71502114ea8cad9a9fd5c9512 SHA512 bf961d76ed08dafe7c2a9b767594577a57a2276166e515f1d84654223aa50879c5ee1e20919b3a4c7576c7d549037c8cfe67c11ab1f6648a0205200f5060950b WHIRLPOOL 48982d33cd32f557796ef103da441f46d3a6ddbf1d1cace66f3ceac8b31bf78389c72df4a717881fe3735f6301b8ce0831908d32010f94ce72fc5414404261d4 -DIST flake8-2.2.5.tar.gz 28333 SHA256 285e8bd730c0b6fdfbe23c32d2936bffba401f23cab132e8722c68be80d6f182 SHA512 fe5e06d3a7699e3f348181108f1ab3ee9eb1f2b0422de582a172d3a4aed42a5cf839ef8a5b5b113da1e0c3c2b53ed7b43af1ca24314ea842d0d3d3735eba1dee WHIRLPOOL 6c1e737a760876d410fd116bf2b8104f932b6751b5970096ddadcead5937fba21772fb28c1addf8026eda5ec573eb07cd920e46fb711d79f46de559d229c8705 -DIST flake8-2.5.4.tar.gz 81663 SHA256 cc1e58179f6cf10524c7bfdd378f5536d0a61497688517791639a5ecc867492f SHA512 31cbec556fc41361ac464d2547275e319ab663c907a4a8644113a2288a9f349bcfbec85197b6dfa13a7db9e82419f01e0f2abc84a347e133c144ea137e0daa28 WHIRLPOOL 2547b78092b1a85edd2a0d03d9e0bc31e7d3b7cb3958cf5dea9947377851a69d5c37f64c0d65a5d7e88ab9573597729adbe07ae758b0510e455b26bf62292f47 -DIST flake8-3.3.0.tar.gz 134345 SHA256 b907a26dcf5580753d8f80f1be0ec1d5c45b719f7bac441120793d1a70b03f12 SHA512 53b3116765f9031c96a0442954f324fe3edaf63aff21f7cf340e47e724250928d6d9786473d2680b695969ef979a8bb6d4d2b39f1598b075dcace1b221a4c099 WHIRLPOOL 1a0f7e228cbfdde18957c43377fd5c07a280628ca75138e76ec295e5567c153e454543e534496ec9217e7ca0389208ae143c3396ca3798b65b0f2ce1d72bd68b +DIST flake8-3.8.4.tar.gz 163583 BLAKE2B 221234931365912adffec99c7c6761d2f35918222bee902ade4d8009d24f6918c66d23fc4b973fe653152cc6857b62ba859780b0d9de53fb91b7ea0379bee9d0 SHA512 51ed09beed50175573e6184b404431b3f89aa6594c40c70ed8288982fe12c2a68992e36d69c99013188f03555bf9fef1ba4f111f8e389cef1e1daa69b41ff5b0 +DIST flake8-3.9.2.tar.gz 164777 BLAKE2B 1c991296a3e47e4c41f1196fcaf1e7ea059226dfb41657a52fc4f5a9023b54dba21dd99635398e12f37f52f6e498a0a1fb7d87aba0fe7098ebbdfb54dc5598b0 SHA512 618fe1b35070b24395e5d4da9fa1b1f6308abf6f85d8de71b8b553f84d70d9cd7d2a6f616fa1418db9a8b5ad3efab038f4e2d7c6020c0c1bdeb8157e666911fd +DIST flake8-4.0.0.tar.gz 154732 BLAKE2B 3d469e3e12212051abfeb93943ac8ec310e607c86c06db47b5487544e582f39480e76bc8ea621c5dba6493592eff64b19cb2be9b6b122527c66993415fab15ab SHA512 202b89c9b93f10a09453a215bbcd4260513ee21e4c1b3591088779155a4ca7277a1c274edbb12fcaf33d29ebe9389a3c57ce5aa4e12434f17960dcb0f769680e +DIST flake8-4.0.1.tar.gz 154905 BLAKE2B b93fea36236881da595ae924b056686e0cd35d2466c1858e3ee83262922df8bc38cf5cd40a910980d287d048572dc94eb8d7c8ee4b11ebd1b4a474dfca02490c SHA512 0bdbf0218ce893df1c3e61f51cd3f371a5c72bb49ef78fec39548b1684e49b024e91cf4e3dcea60ba1efc08727985ef485814c372461e062ff4f810da99a1796 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.0-r1.ebuild deleted file mode 100644 index c3a7edb130..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.0-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_{4,5}} ) - -inherit distutils-r1 - -DESCRIPTION="the modular source code checker: pep8, pyflakes and co" -HOMEPAGE="https://bitbucket.org/tarek/flake8" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 x86" -IUSE="test" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] ) -" -RDEPEND=" - >=dev-python/pyflakes-0.6.1[${PYTHON_USEDEP}] - >=dev-python/pep8-1.4.3[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.2[${PYTHON_USEDEP}] -" - -python_test() { - esetup.py test -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.1.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.1.0.ebuild deleted file mode 100644 index f526a8773e..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.1.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) - -inherit distutils-r1 - -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" -HOMEPAGE="https://bitbucket.org/tarek/flake8" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="test" -LICENSE="MIT" -SLOT="0" - -# requires.txt inc. mccabe however that creates a circular dep -RDEPEND=">=dev-python/pyflakes-0.7.3[${PYTHON_USEDEP}] - >=dev-python/pep8-1.4.6[${PYTHON_USEDEP}]" -PDEPEND=">=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${PDEPEND} - dev-python/nose[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] )" - -python_prepare_all() { - # This tests requires / assumes this version is already installed. - sed -e 's:test_register_extensions:_&:' -i flake8/tests/test_engine.py || die - distutils-r1_python_prepare_all -} - -python_test() { - esetup.py test -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.2.5.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.2.5.ebuild deleted file mode 100644 index 813b9c427b..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.2.5.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) - -inherit distutils-r1 - -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" -HOMEPAGE="https://bitbucket.org/tarek/flake8 https://pypi.python.org/pypi/flake8" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" -LICENSE="MIT" -SLOT="0" - -# requires.txt inc. mccabe however that creates a circular dep -RDEPEND=">=dev-python/pyflakes-0.7.3[${PYTHON_USEDEP}] - >=dev-python/pep8-1.5.7[${PYTHON_USEDEP}]" -PDEPEND=">=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${PDEPEND} - dev-python/nose[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] )" - -python_prepare_all() { - # This tests requires / assumes this version is already installed. - sed -e 's:test_register_extensions:_&:' -i flake8/tests/test_engine.py || die - distutils-r1_python_prepare_all -} - -python_test() { - esetup.py test -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.5.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.5.4.ebuild deleted file mode 100644 index e1546bdff4..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-2.5.4.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) - -inherit distutils-r1 - -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" -HOMEPAGE="https://bitbucket.org/tarek/flake8 https://pypi.python.org/pypi/flake8" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="test" -LICENSE="MIT" -SLOT="0" - -# requires.txt inc. mccabe however that creates a circular dep -RDEPEND=" - >=dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}] - =dev-python/pep8-1.5.7[${PYTHON_USEDEP}] - !=dev-python/pep8-1.6.1[${PYTHON_USEDEP}] - !=dev-python/pep8-1.6.2[${PYTHON_USEDEP}] - " -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${PDEPEND} - dev-python/nose[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) - >=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}] - =pep8-1.6.2-r1. - sed -e 's:, != 1.6.2::' -i setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - esetup.py test -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-3.3.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-3.3.0.ebuild deleted file mode 100644 index 85c2214274..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-3.3.0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) - -inherit distutils-r1 - -DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" -HOMEPAGE="https://bitbucket.org/tarek/flake8 https://pypi.python.org/pypi/flake8" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -IUSE="test" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -LICENSE="MIT" -SLOT="0" - -# requires.txt inc. mccabe however that creates a circular dep -RDEPEND=" - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' 'pypy*' ) - >=dev-python/pyflakes-1.5.0[${PYTHON_USEDEP}] - =dev-python/pycodestyle-2.0.0[${PYTHON_USEDEP}] - =pep8-1.6.2-r1. - sed -i -e 's:, != 1.6.2::' setup.py || die - # Flake8 falsely assumes it needs pytest-runner unconditionally and will - # try to install it, causing sandbox violations. - sed -i -e "/setup_requires=\['pytest-runner'\],/d" setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - pytest || die "tests failed" -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-3.8.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-3.8.4.ebuild new file mode 100644 index 0000000000..d002ff0c78 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/flake8/flake8-3.8.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" +HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.org/project/flake8/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" + +# requires.txt inc. mccabe however that creates a circular dep +RDEPEND=" + >=dev-python/pyflakes-2.2.0[${PYTHON_USEDEP}] + =dev-python/pycodestyle-2.6.0[${PYTHON_USEDEP}] + - + python@gentoo.org Python + flake8 - tarek/flake8 + pycqa/flake8