diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:35:26 -0500 |
| commit | f716a9fe6455d39eef01e718aae68dae61c19704 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/black | |
| parent | 3f9cf298e89cd5037b982abba06091224ee76daf (diff) | |
| download | baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip | |
Adding metadata
Diffstat (limited to 'dev-python/black')
| -rw-r--r-- | dev-python/black/Manifest | 7 | ||||
| -rw-r--r-- | dev-python/black/black-25.1.0.ebuild | 70 | ||||
| -rw-r--r-- | dev-python/black/black-26.3.1.ebuild | 47 | ||||
| -rw-r--r-- | dev-python/black/black-26.5.0.ebuild | 47 | ||||
| -rw-r--r-- | dev-python/black/black-26.5.1.ebuild | 47 | ||||
| -rw-r--r-- | dev-python/black/files/black-25.1.0-test.patch | 130 | ||||
| -rw-r--r-- | dev-python/black/metadata.xml | 15 |
7 files changed, 0 insertions, 363 deletions
diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest deleted file mode 100644 index c184cb9d6ef3..000000000000 --- a/dev-python/black/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -DIST black-25.1.0.tar.gz 649449 BLAKE2B 28045d73259780c38430838ad245a3a6545f6c55890ee5105f15121659e28dc3d3b332ddd08b7f196afcabc04d3d423b0ccf61e2a467f9ac131b9d7480e86415 SHA512 57281a678d322aaf0f2b7059aa59ad65055cb6999b8fc22ead115011d1b2e607d5cc91880369ee93a438bc266d7ebd371cd046f12d41a83383577f36a6211844 -DIST black-26.3.1.tar.gz 666155 BLAKE2B 624ebe663ba4faedb989b19a24897dcbfb815a3e8a75823ac99fee36abfafea29da72c7327801d39ca7190192459eec103de742a376605fb2f4dcb73f493dfd4 SHA512 55c843ba5a13fb20bf47b7f91d1e44b9afdccf13d3b9966cfe54e635c1fa72d8217e0005d2391f7f76ba04458ba03edf67f3dd8a568d197c4ab558e83395b934 -DIST black-26.3.1.tar.gz.provenance 9293 BLAKE2B 37bcbb05de1429b53166029ac5feb4c27f7a8885f3b0df06a24217e63daf5ae0b0beb195d5bb62b8113331a0b35ea557f80e3e2ae59163cebd261d02b48eae17 SHA512 b5cf26f24e6faf6c5a055a96a4370c81065fae55d9ff07045b5caa2eab8f301b6206a8366735bbbc1dfce17df8a9f6ecfbfe5ca28729119fd707e803956e4788 -DIST black-26.5.0.tar.gz 677762 BLAKE2B 3f240ebb358633cefeebfa3ac5ff5d8925e0c1684ee21d512f72a9b2a6f3b3f1dce08ed1eb0309a17eda75740da9b296a9eccc9f11954c0a4320cd673ebf3b0f SHA512 8477c4cb87c25056772b636b4e5aba38821812ef5a746438a3dbd1de72e37af5e03372389db20aa45678ed560bc8f61ae7c0e3f28c86d14b6ad0ef3956cccaa0 -DIST black-26.5.0.tar.gz.provenance 9441 BLAKE2B ba3bba053520288fdb4acbf642aa3384377e70dd2771504f3f6c403d8d9eb94c8da09b4634d7b355e81fa4432620b6148e5ceaa0990119bed9bf934d6fccba10 SHA512 4f2516bc9b0f34fba4254aecb269873a822ccb8b91001050514786a8a1a2ba260a992a33aa6da17e80c369731c9d972a18ec55bdc915705f2e4f2db98c721dc3 -DIST black-26.5.1.tar.gz 679439 BLAKE2B 0fc68b6af7ca700f8b4d8ce0ef12eea1234b295a7a9893eb0915a8f243f7756bad17bce8d6552f6e90ca969273b178a7de01fb787966ee2db1faba57102249e8 SHA512 8e17234aeffb5f7a66f1d9d9e2672796ec8ef0c660a3a8c0668061632591aee626a5f8a1a5210900c154ef2ae63919a690512e2d8fe789ac6bcf5d6eaaa055f0 -DIST black-26.5.1.tar.gz.provenance 9300 BLAKE2B 79de1ff83d6d354efa3b8df3599148528d423eecdc24ff4a42821885676e0e3790c06a81bca452829336e148dee88477ed6b4a3ebe971d517932e8811b1a8c07 SHA512 4ebd71e4fd30de1ebedb25e11116a09abbb7f1bb48b99026aed6f792b3d6a67e2b3f2560dfdf9a5bf7d40323105008514a5d8ae80bacd297553559e73f3a317f diff --git a/dev-python/black/black-25.1.0.ebuild b/dev-python/black/black-25.1.0.ebuild deleted file mode 100644 index 55e3abc5c954..000000000000 --- a/dev-python/black/black-25.1.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2020-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE=" - https://black.readthedocs.io/en/stable/ - https://github.com/psf/black/ - https://pypi.org/project/black/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy-extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.10[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -PATCHES=( - # combined upstream test fixes: - # https://github.com/psf/black/pull/4577 - # https://github.com/psf/black/pull/4591 - # https://github.com/psf/black/pull/4666 - # https://github.com/psf/black/pull/4690 - "${FILESDIR}/${P}-test.patch" -) - -python_test() { - local EPYTEST_DESELECT=() - - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - # https://github.com/psf/black/issues/4582 - 'tests/test_format.py::test_simple_format[backslash_before_indent]' - 'tests/test_format.py::test_simple_format[form_feeds]' - ) - ;; - esac - - epytest -} - -pkg_postinst() { - optfeature "blackd - HTTP API for black" \ - "dev-python/aiohttp dev-python/aiohttp-cors" -} diff --git a/dev-python/black/black-26.3.1.ebuild b/dev-python/black/black-26.3.1.ebuild deleted file mode 100644 index a2cc86760f4f..000000000000 --- a/dev-python/black/black-26.3.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2020-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_VERIFY_REPO=https://github.com/psf/black -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE=" - https://black.readthedocs.io/en/stable/ - https://github.com/psf/black/ - https://pypi.org/project/black/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy-extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/pathspec-1.0.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - >=dev-python/pytokens-0.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.10[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "blackd - HTTP API for black" \ - "dev-python/aiohttp dev-python/aiohttp-cors" -} diff --git a/dev-python/black/black-26.5.0.ebuild b/dev-python/black/black-26.5.0.ebuild deleted file mode 100644 index 8ad35b825823..000000000000 --- a/dev-python/black/black-26.5.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2020-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_VERIFY_REPO=https://github.com/psf/black -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE=" - https://black.readthedocs.io/en/stable/ - https://github.com/psf/black/ - https://pypi.org/project/black/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy-extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/pathspec-1.0.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - >=dev-python/pytokens-0.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.10[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "blackd - HTTP API for black" \ - "dev-python/aiohttp dev-python/aiohttp-cors" -} diff --git a/dev-python/black/black-26.5.1.ebuild b/dev-python/black/black-26.5.1.ebuild deleted file mode 100644 index 8ad35b825823..000000000000 --- a/dev-python/black/black-26.5.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2020-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_VERIFY_REPO=https://github.com/psf/black -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE=" - https://black.readthedocs.io/en/stable/ - https://github.com/psf/black/ - https://pypi.org/project/black/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy-extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/pathspec-1.0.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - >=dev-python/pytokens-0.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.10[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -pkg_postinst() { - optfeature "blackd - HTTP API for black" \ - "dev-python/aiohttp dev-python/aiohttp-cors" -} diff --git a/dev-python/black/files/black-25.1.0-test.patch b/dev-python/black/files/black-25.1.0-test.patch deleted file mode 100644 index 5573519caea4..000000000000 --- a/dev-python/black/files/black-25.1.0-test.patch +++ /dev/null @@ -1,130 +0,0 @@ -diff --git a/tests/data/cases/pep_701.py b/tests/data/cases/pep_701.py -index 9acee95..6f86988 100644 ---- a/tests/data/cases/pep_701.py -+++ b/tests/data/cases/pep_701.py -@@ -74,9 +74,9 @@ - x = f"a{2+2:=^{foo(x+y**2):something else}one more}b" - f'{(abc:=10)}' - --f"This is a really long string, but just make sure that you reflow fstrings { -+f"""This is a really long string, but just make sure that you reflow fstrings { - 2+2:d --}" -+}""" - f"This is a really long string, but just make sure that you reflow fstrings correctly {2+2:d}" - - f"{2+2=}" -@@ -213,9 +213,9 @@ - x = f"a{2+2:=^{foo(x+y**2):something else}one more}b" - f"{(abc:=10)}" - --f"This is a really long string, but just make sure that you reflow fstrings { -+f"""This is a really long string, but just make sure that you reflow fstrings { - 2+2:d --}" -+}""" - f"This is a really long string, but just make sure that you reflow fstrings correctly {2+2:d}" - - f"{2+2=}" -diff --git a/tests/test_black.py b/tests/test_black.py -index 31bc34d..f7a68aa 100644 ---- a/tests/test_black.py -+++ b/tests/test_black.py -@@ -14,6 +14,7 @@ - from concurrent.futures import ThreadPoolExecutor - from contextlib import contextmanager, redirect_stderr - from dataclasses import fields, replace -+from importlib.metadata import version as imp_version - from io import BytesIO - from pathlib import Path, WindowsPath - from platform import system -@@ -25,6 +26,7 @@ - import pytest - from click import unstyle - from click.testing import CliRunner -+from packaging.version import Version - from pathspec import PathSpec - - import black -@@ -114,7 +116,10 @@ class BlackRunner(CliRunner): - """Make sure STDOUT and STDERR are kept separate when testing Black via its CLI.""" - - def __init__(self) -> None: -- super().__init__(mix_stderr=False) -+ if Version(imp_version("click")) >= Version("8.2.0"): -+ super().__init__() -+ else: -+ super().__init__(mix_stderr=False) - - - def invokeBlack( -@@ -187,10 +192,10 @@ def test_piping(self) -> None: - input=BytesIO(source.encode("utf-8")), - ) - self.assertEqual(result.exit_code, 0) -- self.assertFormatEqual(expected, result.output) -- if source != result.output: -- black.assert_equivalent(source, result.output) -- black.assert_stable(source, result.output, DEFAULT_MODE) -+ self.assertFormatEqual(expected, result.stdout) -+ if source != result.stdout: -+ black.assert_equivalent(source, result.stdout) -+ black.assert_stable(source, result.stdout, DEFAULT_MODE) - - def test_piping_diff(self) -> None: - diff_header = re.compile( -@@ -210,7 +215,7 @@ def test_piping_diff(self) -> None: - black.main, args, input=BytesIO(source.encode("utf-8")) - ) - self.assertEqual(result.exit_code, 0) -- actual = diff_header.sub(DETERMINISTIC_HEADER, result.output) -+ actual = diff_header.sub(DETERMINISTIC_HEADER, result.stdout) - actual = actual.rstrip() + "\n" # the diff output has a trailing space - self.assertEqual(expected, actual) - -@@ -295,7 +300,7 @@ def test_expression_diff(self) -> None: - self.assertEqual(result.exit_code, 0) - finally: - os.unlink(tmp_file) -- actual = result.output -+ actual = result.stdout - actual = diff_header.sub(DETERMINISTIC_HEADER, actual) - if expected != actual: - dump = black.dump_to_file(actual) -@@ -404,7 +409,7 @@ def test_skip_magic_trailing_comma(self) -> None: - self.assertEqual(result.exit_code, 0) - finally: - os.unlink(tmp_file) -- actual = result.output -+ actual = result.stdout - actual = diff_header.sub(DETERMINISTIC_HEADER, actual) - actual = actual.rstrip() + "\n" # the diff output has a trailing space - if expected != actual: -@@ -1826,7 +1831,7 @@ def test_bpo_2142_workaround(self) -> None: - self.assertEqual(result.exit_code, 0) - finally: - os.unlink(tmp_file) -- actual = result.output -+ actual = result.stdout - actual = diff_header.sub(DETERMINISTIC_HEADER, actual) - self.assertEqual(actual, expected) - -@@ -1836,7 +1841,7 @@ def compare_results( - ) -> None: - """Helper method to test the value and exit code of a click Result.""" - assert ( -- result.output == expected_value -+ result.stdout == expected_value - ), "The output did not match the expected value." - assert result.exit_code == expected_exit_code, "The exit code is incorrect." - -@@ -1913,7 +1918,8 @@ def test_code_option_safe(self) -> None: - args = ["--safe", "--code", code] - result = CliRunner().invoke(black.main, args) - -- self.compare_results(result, error_msg, 123) -+ assert error_msg == result.output -+ assert result.exit_code == 123 - - def test_code_option_fast(self) -> None: - """Test that the code option ignores errors when the sanity checks fail.""" diff --git a/dev-python/black/metadata.xml b/dev-python/black/metadata.xml deleted file mode 100644 index f3e7a2a98408..000000000000 --- a/dev-python/black/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>chutzpah@gentoo.org</email> - <name>Patrick McLean</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - </maintainer> - <upstream> - <remote-id type="pypi">black</remote-id> - <remote-id type="github">psf/black</remote-id> - </upstream> -</pkgmetadata> |
