diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-16 12:27:20 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-16 12:27:20 +0000 |
| commit | d883757a75090a9dd237206324832c21283d5ffc (patch) | |
| tree | 6571798616b82f5536feed386bc3c84f99b70266 /dev-python/pycodestyle | |
| parent | 87af0fe5fe43bd2a94b9d6f703992e753364d4a5 (diff) | |
| download | baldeagleos-repo-d883757a75090a9dd237206324832c21283d5ffc.tar.gz baldeagleos-repo-d883757a75090a9dd237206324832c21283d5ffc.tar.xz baldeagleos-repo-d883757a75090a9dd237206324832c21283d5ffc.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pycodestyle')
| -rw-r--r-- | dev-python/pycodestyle/Manifest | 4 | ||||
| -rw-r--r-- | dev-python/pycodestyle/metadata.xml | 7 | ||||
| -rw-r--r-- | dev-python/pycodestyle/pycodestyle-2.12.1.ebuild | 53 | ||||
| -rw-r--r-- | dev-python/pycodestyle/pycodestyle-2.13.0.ebuild | 53 |
4 files changed, 68 insertions, 49 deletions
diff --git a/dev-python/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest index 2a826d38930f..42d52611bc1c 100644 --- a/dev-python/pycodestyle/Manifest +++ b/dev-python/pycodestyle/Manifest @@ -1,2 +1,2 @@ -DIST pycodestyle-2.12.1.tar.gz 80518 BLAKE2B e64dda57d1c349228f8ffeced4061d278b342af7db152377e34b3fad626db52f7eef4668df60d323196f1844e8fa28d9e231cc216145b2ea1da6ae32bc1f341f SHA512 7709c0611812c3294a55a5e6dde00d5affc67c4273ab1d37dec507a424b618b2736a6976d27872903fa448f208fe2ba4529f2bfbefc2902dcf947cb6bca5b09a -DIST pycodestyle-2.13.0.tar.gz 80780 BLAKE2B 77886f6cf24b27974af6284a70d667dca5766c79325bb377825c4db6d27aacdce08130cef4cdaf8cfcbac284b2e07b1f05b25743eed8f282249ffa9cafc0b8cf SHA512 6e1ba1586b62a9ba3b63f2c67b9b98ee787785fffc29897a68d6dd138d226f5fc490a555ad11f4ca2a8c46082ad5ce8ea1c904c12183005abe4347ca80ca63be +DIST pycodestyle-2.12.1.gh.tar.gz 80518 BLAKE2B e64dda57d1c349228f8ffeced4061d278b342af7db152377e34b3fad626db52f7eef4668df60d323196f1844e8fa28d9e231cc216145b2ea1da6ae32bc1f341f SHA512 7709c0611812c3294a55a5e6dde00d5affc67c4273ab1d37dec507a424b618b2736a6976d27872903fa448f208fe2ba4529f2bfbefc2902dcf947cb6bca5b09a +DIST pycodestyle-2.13.0.gh.tar.gz 80780 BLAKE2B 77886f6cf24b27974af6284a70d667dca5766c79325bb377825c4db6d27aacdce08130cef4cdaf8cfcbac284b2e07b1f05b25743eed8f282249ffa9cafc0b8cf SHA512 6e1ba1586b62a9ba3b63f2c67b9b98ee787785fffc29897a68d6dd138d226f5fc490a555ad11f4ca2a8c46082ad5ce8ea1c904c12183005abe4347ca80ca63be diff --git a/dev-python/pycodestyle/metadata.xml b/dev-python/pycodestyle/metadata.xml index 36acccda7221..ea8988e8af6a 100644 --- a/dev-python/pycodestyle/metadata.xml +++ b/dev-python/pycodestyle/metadata.xml @@ -2,9 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> + <email>python@gentoo.org</email> + <name>Python</name> </maintainer> - <origin>ports</origin> + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pycodestyle/pycodestyle-2.12.1.ebuild b/dev-python/pycodestyle/pycodestyle-2.12.1.ebuild index 1b63cd97b62f..e075c86e1edb 100644 --- a/dev-python/pycodestyle/pycodestyle-2.12.1.ebuild +++ b/dev-python/pycodestyle/pycodestyle-2.12.1.ebuild @@ -1,36 +1,45 @@ -# Copyright 2020-2024 Liguros Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 DESCRIPTION="Python style guide checker (fka pep8)" -HOMEPAGE="https://pypi.org/project/pycodestyle/" -SRC_URI="https://github.com/PyCQA/pycodestyle/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://pycodestyle.pycqa.org/en/latest/ + https://github.com/PyCQA/pycodestyle/ + https://pypi.org/project/pycodestyle/ +" +# 2.11.0 broke sdist +# https://github.com/PyCQA/pycodestyle/issues/1183 +SRC_URI=" + https://github.com/PyCQA/pycodestyle/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -python_compile_all() { - use doc && emake -C docs html -} +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest python_test() { - PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --statistics pycodestyle.py || die - PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --testsuite=testsuite || die - PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py --doctest -v || die - esetup.py test -} + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # https://github.com/pypy/pypy/issues/5234 + tests/test_api.py::APITestCase::test_check_nullbytes + ) + ;; + esac -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all + epytest } diff --git a/dev-python/pycodestyle/pycodestyle-2.13.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.13.0.ebuild index ed521e5d6e36..d9a5c8cf3c1e 100644 --- a/dev-python/pycodestyle/pycodestyle-2.13.0.ebuild +++ b/dev-python/pycodestyle/pycodestyle-2.13.0.ebuild @@ -1,36 +1,45 @@ -# Copyright 2020-2025 Liguros Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 DESCRIPTION="Python style guide checker (fka pep8)" -HOMEPAGE="https://pypi.org/project/pycodestyle/" -SRC_URI="https://github.com/PyCQA/pycodestyle/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://pycodestyle.pycqa.org/en/latest/ + https://github.com/PyCQA/pycodestyle/ + https://pypi.org/project/pycodestyle/ +" +# 2.11.0 broke sdist +# https://github.com/PyCQA/pycodestyle/issues/1183 +SRC_URI=" + https://github.com/PyCQA/pycodestyle/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -python_compile_all() { - use doc && emake -C docs html -} +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest python_test() { - PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --statistics pycodestyle.py || die - PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --testsuite=testsuite || die - PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py --doctest -v || die - esetup.py test -} + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # https://github.com/pypy/pypy/issues/5234 + tests/test_api.py::APITestCase::test_check_nullbytes + ) + ;; + esac -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all + epytest } |
