From 1fc8e028f03cacd6c6961a7a8390cec4e29a1fae Mon Sep 17 00:00:00 2001 From: icp Date: Thu, 28 Dec 2023 12:02:41 +0530 Subject: [PATCH] black: update to 24.1.1. --- srcpkgs/black/patches/remove_reduntant_build_dep.patch | 6 +++--- srcpkgs/black/template | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/black/patches/remove_reduntant_build_dep.patch b/srcpkgs/black/patches/remove_reduntant_build_dep.patch index 63054e2f4b3c4..908f9edf57f42 100644 --- a/srcpkgs/black/patches/remove_reduntant_build_dep.patch +++ b/srcpkgs/black/patches/remove_reduntant_build_dep.patch @@ -4,12 +4,12 @@ # NOTE: You don't need this in your own Black configuration. [build-system] --requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"] -+requires = ["hatchling>=1.8.0", "hatch-vcs"] +-requires = ["hatchling>=1.20.0", "hatch-vcs", "hatch-fancy-pypi-readme"] ++requires = ["hatchling>=1.20.0", "hatch-vcs"] build-backend = "hatchling.build" [project] -@@ -92,13 +92,6 @@ blackd = "blackd:patched_main [d]" +@@ -96,13 +96,6 @@ blackd = "blackd:patched_main [d]" Changelog = "https://github.com/psf/black/blob/main/CHANGES.md" Homepage = "https://github.com/psf/black" diff --git a/srcpkgs/black/template b/srcpkgs/black/template index 0382e8624e46c..3c81589b6a781 100644 --- a/srcpkgs/black/template +++ b/srcpkgs/black/template @@ -1,6 +1,6 @@ # Template file for 'black' pkgname=black -version=23.12.0 +version=24.1.1 revision=1 build_style=python3-pep517 hostmakedepends="hatchling hatch-vcs" @@ -14,7 +14,7 @@ license="MIT" homepage="https://black.readthedocs.io/en/stable/" changelog="https://raw.githubusercontent.com/psf/black/main/CHANGES.md" distfiles="${PYPI_SITE}/b/black/black-${version}.tar.gz" -checksum=330a327b422aca0634ecd115985c1c7fd7bdb5b5a2ef8aa9888a82e2ebe9437a +checksum=48b5760dcbfe5cf97fd4fba23946681f3a81514c6ab8a45b50da67ac8fbc6c7b post_check() { PYTHONPATH=src python3 -m black --check src tests