Blob Blame History Raw
%global pypi_name pyls_black

%global _description %{expand:
Black plugin for the Python Language Server. pyls-black can either format an 
entire file or just the selected text. The code will only be formatted if 
it is syntactically valid Python. Text selections are treated as if they 
were a separate Python file.

Name:           python-%{pypi_name}
Version:        0.4.7
Release:        1%{?dist}
Summary:        Black plugin for the Python Language Server

License:        MIT

BuildArch:      noarch

BuildRequires:  python3-devel
BuildRequires:  python3dist(flake8)
BuildRequires:  python3dist(isort)
BuildRequires:  python3dist(pytest)
BuildRequires:  python3dist(setuptools)


%package -n     python3-%{pypi_name}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}

Requires:       python3dist(black)
Requires:       python3dist(python-language-server)
Requires:       python3dist(setuptools)

%description -n python3-%{pypi_name}

%autosetup -n pyls-black-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info



%files -n python3-%{pypi_name}
%license LICENSE

* Sun Jun 27 2021 Mukundan Ragavan <> - 0.4.7-1
- Update to 0.4.7
- Drop source1 (license file is included in tarball)

* Fri Jun 04 2021 Python Maint <> - 0.4.6-3
- Rebuilt for Python 3.10

* Wed Jan 27 2021 Fedora Release Engineering <> - 0.4.6-2
- Rebuilt for

* Thu Nov 26 2020 Mukundan Ragavan <> - 0.4.6-1
- Initial package.