From f63ae5fa16d49aaab6596c286ad6131fadc0cebd Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Nov 17 2021 11:31:27 +0000 Subject: Update to 21.11b0 --- diff --git a/python-black.spec b/python-black.spec index 74ff653..b9e3c4c 100644 --- a/python-black.spec +++ b/python-black.spec @@ -1,10 +1,10 @@ %global pypi_name black -%global base_version 21.6 +%global base_version 21.11 %global prerel b0 %global upstream_version %{base_version}%{?prerel} Name: python-%{pypi_name} Version: %{base_version}%{?prerel:~%{prerel}} -Release: 2%{?dist} +Release: 1%{?dist} Summary: The uncompromising code formatter License: MIT URL: https://github.com/psf/black @@ -17,9 +17,6 @@ BuildRequires: pyproject-rpm-macros # test requirements (upstream mixed with coverage, we hand-pick what we need only): BuildRequires: python3-pytest -BuildRequires: python3-pytest-cases -BuildRequires: python3-pytest-mock -BuildRequires: python3-parameterized %global _description %{expand: Black is the uncompromising Python code formatter. By using it, you agree to @@ -42,7 +39,10 @@ Recommends: %{pypi_name}+d = %{version}-%{release} %autosetup -n %{pypi_name}-%{upstream_version} -p1 %generate_buildrequires -%pyproject_buildrequires -rx d,python2 +%global extras_without_d colorama,python2,uvloop +# skipped extras: +# jupyter: needs tokenize-rt +%pyproject_buildrequires -rx d,%{extras_without_d} %build @@ -61,7 +61,7 @@ done %check export PIP_INDEX_URL=http://host.invalid./ export PIP_NO_DEPS=yes -%pytest +%pytest -rs %files -n %{pypi_name} -f %{pyproject_files} @@ -76,10 +76,14 @@ export PIP_NO_DEPS=yes %{_bindir}/blackd %{_bindir}/blackd-%{python3_version} -%pyproject_extras_subpkg -n %{pypi_name} python2 +%pyproject_extras_subpkg -n %{pypi_name} %{extras_without_d} %changelog +* Wed Nov 17 2021 Miro Hrončok - 21.11~b0-1 +- Update to 21.11b0 +- Fixes rhbz#1983119 + * Fri Jul 23 2021 Fedora Release Engineering - 21.6~b0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 3e06c04..1493977 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (black-21.6b0.tar.gz) = 79f39eb53c0a03b1d1401bb4c9c71ace829011e9981d8434b76180a068d862030b3bda253763e489f96ea999dad29ad82aa89cfeb1fd18b435c7e09dc6e35831 +SHA512 (black-21.11b0.tar.gz) = ab5227048ce5405db3e4f42f2887180ea8ef5a8313c3283a587df694d495968bc6b9b793578d44c1b763e25dc0833b27607088afca05a6808e0efebfb6ecb6ee