Accepting request 632145 from devel:languages:python
- Version update to 0.23.0: * Many changes to behaviour based on CHANGELOG * Add various documents/license to distributed tarball OBS-URL: https://build.opensuse.org/request/show/632145 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yapf?expand=0&rev=3
This commit is contained in:
commit
12861e14a3
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 29 11:37:58 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Version update to 0.23.0:
|
||||
* Many changes to behaviour based on CHANGELOG
|
||||
* Add various documents/license to distributed tarball
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 4 11:06:23 UTC 2018 - jengelh@inai.de
|
||||
|
||||
|
@ -17,30 +17,25 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-yapf
|
||||
Version: 0.19.0
|
||||
Version: 0.23.0
|
||||
Release: 0
|
||||
Summary: A formatter for Python code
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/google/yapf
|
||||
URL: https://github.com/google/yapf
|
||||
Source: https://files.pythonhosted.org/packages/source/y/yapf/yapf-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: python-futures
|
||||
%endif
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Recommends: python-futures
|
||||
%endif
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -65,10 +60,8 @@ be reformatted.
|
||||
|
||||
%python_clone -a %{buildroot}%{_bindir}/yapf
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
%endif
|
||||
|
||||
%post
|
||||
%python_install_alternative yapf
|
||||
@ -77,8 +70,8 @@ be reformatted.
|
||||
%python_uninstall_alternative yapf
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGELOG
|
||||
%python_alternative %{_bindir}/yapf
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:701b076a4916e3cfbba345e0297dcd54a02fd0fdcae1f43346f8a043c3bbd052
|
||||
size 120638
|
3
yapf-0.23.0.tar.gz
Normal file
3
yapf-0.23.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:330632d2592e67571ef2c113fe6f5802e2fa5d657448755d5546eea00693dc31
|
||||
size 159301
|
Loading…
x
Reference in New Issue
Block a user