Accepting request 810735 from home:mcalabkova:branches:devel:languages:python

- Update to version 0.2.2
  * Enhancement: Unicode version may be selected by exporting the 
    Environment variable UNICODE_VERSION, such as 13.0, or 6.3.0. 
    See the jquast/ucs-detect CLI utility for automatic detection.
  * Enhancement: API Documentation is published to readthedocs.org.
  * Updated tables for all Unicode Specifications with files published 
    in a programmatically consumable format.

OBS-URL: https://build.opensuse.org/request/show/810735
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wcwidth?expand=0&rev=23
This commit is contained in:
Tomáš Chvátal 2020-06-02 08:08:09 +00:00 committed by Git OBS Bridge
parent a2929d0c6e
commit 940c1a1058
4 changed files with 20 additions and 12 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Jun 2 06:52:39 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to version 0.2.2
* Enhancement: Unicode version may be selected by exporting the
Environment variable UNICODE_VERSION, such as 13.0, or 6.3.0.
See the jquast/ucs-detect CLI utility for automatic detection.
* Enhancement: API Documentation is published to readthedocs.org.
* Updated tables for all Unicode Specifications with files published
in a programmatically consumable format.
-------------------------------------------------------------------
Wed May 6 02:25:29 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -26,13 +26,13 @@
%define psuffix %{nil}
%endif
Name: python-wcwidth%{psuffix}
Version: 0.1.9
Version: 0.2.2
Release: 0
Summary: Number of Terminal column cells of wide-character codes
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jquast/wcwidth
Source: https://files.pythonhosted.org/packages/source/w/wcwidth/wcwidth-%{version}.tar.gz
Source: https://github.com/jquast/wcwidth/archive/%{version}.tar.gz#/wcwidth-%{version}.tar.gz
%if %{with test}
BuildRequires: %{python_module pytest}
%endif
@ -57,6 +57,7 @@ release files, which this project aims to track.
%prep
%setup -q -n wcwidth-%{version}
sed -i 's/--cov[-=a-z]*//g' tox.ini
%build
%python_build
@ -64,22 +65,18 @@ release files, which this project aims to track.
%install
%if ! %{with test}
%python_install
# Remove tests from runtime
%{python_expand rm -r %{buildroot}%{$python_sitelib}/wcwidth/tests/
%fdupes %{buildroot}%{$python_sitelib}
}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%check
%if %{with test}
%pytest
%pytest tests
%endif
%if ! %{with test}
%files %{python_files}
%license LICENSE.txt
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%endif

View File

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

3
wcwidth-0.2.2.tar.gz Normal file
View File

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