From 7a4672033263acda005a03572096e8b834d02db1436ec5c06a38dbab8a03baf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 11 Nov 2019 14:22:48 +0000 Subject: [PATCH] - dont distribute 'blackd' as missing deps OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=13 --- python-black.changes | 1 + python-black.spec | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/python-black.changes b/python-black.changes index a23556b..103fbe4 100644 --- a/python-black.changes +++ b/python-black.changes @@ -3,6 +3,7 @@ Mon Nov 11 14:14:38 UTC 2019 - Ondřej Súkup - update to 19.10b0 - add fix-tests.patch to avoid problem during test collection +- dont distribute 'blackd' as missing deps * no obvious changelog ------------------------------------------------------------------- diff --git a/python-black.spec b/python-black.spec index 22d9857..49c4112 100644 --- a/python-black.spec +++ b/python-black.spec @@ -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}/*