summaryrefslogtreecommitdiff
path: root/dev-python/flake8
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-08-02 05:59:13 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-08-02 05:59:13 +0000
commitd875cc4762810dfcc17470608f1c5eb7d7c341f7 (patch)
treeddc0975c9a2ab7172bffc74bc2dff52cc6231f22 /dev-python/flake8
parentf813b3ece9c5f1d65320cee800a2a4a24430dabb (diff)
downloadbaldeagleos-repo-d875cc4762810dfcc17470608f1c5eb7d7c341f7.tar.gz
baldeagleos-repo-d875cc4762810dfcc17470608f1c5eb7d7c341f7.tar.xz
baldeagleos-repo-d875cc4762810dfcc17470608f1c5eb7d7c341f7.zip
Adding metadata
Diffstat (limited to 'dev-python/flake8')
-rw-r--r--dev-python/flake8/Manifest2
-rw-r--r--dev-python/flake8/files/flake8-5.0.2-upgrade-mccabe.patch13
-rw-r--r--dev-python/flake8/flake8-5.0.1.ebuild49
-rw-r--r--dev-python/flake8/flake8-5.0.2.ebuild39
-rw-r--r--dev-python/flake8/metadata.xml6
5 files changed, 58 insertions, 51 deletions
diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest
index c684bb7c210f..921cbfc98ce8 100644
--- a/dev-python/flake8/Manifest
+++ b/dev-python/flake8/Manifest
@@ -1,2 +1,2 @@
DIST flake8-4.0.1.tar.gz 154905 BLAKE2B b93fea36236881da595ae924b056686e0cd35d2466c1858e3ee83262922df8bc38cf5cd40a910980d287d048572dc94eb8d7c8ee4b11ebd1b4a474dfca02490c SHA512 0bdbf0218ce893df1c3e61f51cd3f371a5c72bb49ef78fec39548b1684e49b024e91cf4e3dcea60ba1efc08727985ef485814c372461e062ff4f810da99a1796
-DIST flake8-5.0.1.gh.tar.gz 145559 BLAKE2B 27c49d0e30696be086a68382235611fccf978edbd73fff0b41cd285eb6443bc183f12d54337777d07348951a6e1775793608be567149fecdfcd40cb75e879fcd SHA512 63e91269c9cad7d5807a5b6cc6dfe5fc1db6353fe28bbb6b3459e9a7ee3140db2a40c202d5964acc69546af386d4f0ea5132cbcc60d07f179960249827062440
+DIST flake8-5.0.2.tar.gz 145640 BLAKE2B 434426201cda4149d78d7be5e73b5ac14bfa86bdce40865703a735bab4cd70b5bd4d9c702204d7007d90ee3164ab20bb25615347988568806c2a5e3dfb2ccef8 SHA512 56dad617a3ced7f3a51aecfc145423b37f068d1bbe7473680bf52de682989360f3cd38fef90dd1853c50989d739aac2515eec3285fa3dad11d744acb8c03f25b
diff --git a/dev-python/flake8/files/flake8-5.0.2-upgrade-mccabe.patch b/dev-python/flake8/files/flake8-5.0.2-upgrade-mccabe.patch
new file mode 100644
index 000000000000..5dab4af913fe
--- /dev/null
+++ b/dev-python/flake8/files/flake8-5.0.2-upgrade-mccabe.patch
@@ -0,0 +1,13 @@
+diff --git a/setup.cfg b/setup.cfg
+index 9cbc9b3..732d6a2 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -35,7 +35,7 @@ packages = find:
+ package_dir =
+ =src
+ install_requires =
+- mccabe>=0.6.0,<0.7.0
++ mccabe>=0.7.0,<0.8.0
+ pycodestyle>=2.8.0,<2.9.0
+ pyflakes>=2.4.0,<2.5.0
+ importlib-metadata<4.3;python_version<"3.8"
diff --git a/dev-python/flake8/flake8-5.0.1.ebuild b/dev-python/flake8/flake8-5.0.1.ebuild
deleted file mode 100644
index cac17ff65f77..000000000000
--- a/dev-python/flake8/flake8-5.0.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 )
-
-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"
-
-# requires.txt inc. mccabe however that creates a circular dep
-RDEPEND="
- >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}]
- <dev-python/pyflakes-2.6.0[${PYTHON_USEDEP}]
- >=dev-python/pycodestyle-2.9.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/flake8-5.0.2.ebuild b/dev-python/flake8/flake8-5.0.2.ebuild
new file mode 100644
index 000000000000..e4f45fa374f9
--- /dev/null
+++ b/dev-python/flake8/flake8-5.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022 Liguros Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+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 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
+
+# requires.txt inc. mccabe however that creates a circular dep
+RDEPEND="
+ >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}]
+ >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}]
+"
+PDEPEND="
+ >=dev-python/mccabe-0.7.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
+
+src_prepare() {
+ # remove version-limited dep
+ sed -i -e '/importlib-metadata/d' setup.cfg || die
+ distutils-r1_src_prepare
+}
diff --git a/dev-python/flake8/metadata.xml b/dev-python/flake8/metadata.xml
index ea8988e8af6a..ca53b25347ed 100644
--- a/dev-python/flake8/metadata.xml
+++ b/dev-python/flake8/metadata.xml
@@ -2,10 +2,14 @@
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
+ <email>dev@liguros.net</email>
+ <name>Development</name>
+ </maintainer>
+ <maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
- <origin>gentoo-staging</origin>
+ <origin>ports</origin>
<stabilize-allarches/>
</pkgmetadata> \ No newline at end of file