15
0
forked from pool/python-blue

- Upgrade to 0.5.2:

- fixed building of documentation (gh#grantjenks/blue#26)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blue?expand=0&rev=5
This commit is contained in:
2021-01-18 08:24:49 +00:00
committed by Git OBS Bridge
parent 49a60df2f7
commit 15b08034da
4 changed files with 21 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86cac45a88f9b2a426e2907c082cd90d90c663353a1003eeb7e26777bb1c73a3
size 8693

3
blue-0.5.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0cf07f9f63a66b02dd99f7d6106d1f788c6889f9456a0ad9d7b55523d2ae224
size 8775

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 18 08:23:55 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Upgrade to 0.5.2:
- fixed building of documentation (gh#grantjenks/blue#26)
-------------------------------------------------------------------
Sun Jan 17 22:49:08 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -20,7 +20,7 @@
%define skip_python2 1
%define modname blue
Name: python-blue
Version: 0.5.1
Version: 0.5.2
Release: 0
Summary: A code formatter written in, and written for Python
License: MIT
@@ -70,13 +70,19 @@ the rules of the "pycodestyle" checker. Black skips over blocks that
start and end with "# fmt: off" and "# fmt: on", respectively. It
also recognizes YAPF's block comments to the same effect.
%package -n python-blue-doc
Summary: Documentation files for %name
Provides: %{python_module foo-doc = %{version}}
%description -n python-blue-doc
HTML Documentation and examples for %name.
%prep
%setup -q -n blue-%{version}
%build
%python_build
# commented out for gh#grantjenks/blue#26
# ( cd docs ; PYTHONPATH=../build/lib make html )
( cd docs ; PYTHONPATH=../build/lib make html )
%install
%python_install
@@ -98,4 +104,7 @@ also recognizes YAPF's block comments to the same effect.
%{python_sitelib}/blue/
%{python_sitelib}/blue-%{version}-py*.egg-info
%files -n python-blue-doc
%doc docs/_build/html
%changelog