14
0
forked from pool/python-black

- dont distribute 'blackd' as missing deps

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=13
This commit is contained in:
2019-11-11 14:22:48 +00:00
committed by Git OBS Bridge
parent 4f5c0d4f1f
commit 7a46720332
2 changed files with 4 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ Mon Nov 11 14:14:38 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 19.10b0
- add fix-tests.patch to avoid problem during test collection
- dont distribute 'blackd' as missing deps
* no obvious changelog
-------------------------------------------------------------------

View File

@@ -23,7 +23,6 @@ Version: 19.10b0
Release: 0
Summary: A code formatter written in, and written for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/ambv/black
Source: https://files.pythonhosted.org/packages/source/b/black/black-%{version}.tar.gz
Patch0: fix-tests.patch
@@ -53,7 +52,6 @@ Requires: python-attrs >= 18.1.0
Requires: python-click >= 6.5
Requires: python-mypy_extensions
Requires: python-regex
Requires: python-regex
Requires: python-toml >= 0.9.4
Requires: python-typed-ast
Requires: python-typing_extensions
@@ -82,6 +80,8 @@ rm -rf %{pypi_name}.egg-info
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# TODO: missing aiohttp-cors (not in distribution and tests failing)
rm %{buildroot}/%{_bindir}/blackd
%check
# test_expression_diff - sometimes fails on async timing in OBS
@@ -90,7 +90,7 @@ rm -rf %{pypi_name}.egg-info
%files %{python_files}
%doc README.md
%python3_only %{_bindir}/black
%python3_only %{_bindir}/blackd
#%%python3_only %%{_bindir}/blackd
%license LICENSE
%{python_sitelib}/*