From 940c1a105800a1446e593b40ecdc9aa0d084f74a57457f0f9f8bb94272e20330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 2 Jun 2020 08:08:09 +0000 Subject: [PATCH] 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 --- python-wcwidth.changes | 11 +++++++++++ python-wcwidth.spec | 15 ++++++--------- wcwidth-0.1.9.tar.gz | 3 --- wcwidth-0.2.2.tar.gz | 3 +++ 4 files changed, 20 insertions(+), 12 deletions(-) delete mode 100644 wcwidth-0.1.9.tar.gz create mode 100644 wcwidth-0.2.2.tar.gz diff --git a/python-wcwidth.changes b/python-wcwidth.changes index 280905a..cf53ee7 100644 --- a/python-wcwidth.changes +++ b/python-wcwidth.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Jun 2 06:52:39 UTC 2020 - Marketa Calabkova + +- 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 diff --git a/python-wcwidth.spec b/python-wcwidth.spec index aa34c43..765f9d4 100644 --- a/python-wcwidth.spec +++ b/python-wcwidth.spec @@ -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 diff --git a/wcwidth-0.1.9.tar.gz b/wcwidth-0.1.9.tar.gz deleted file mode 100644 index 2f56dd8..0000000 --- a/wcwidth-0.1.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ee73862862a156bf77ff92b09034fc4825dd3af9cf81bc5b360668d425f3c5f1 -size 24764 diff --git a/wcwidth-0.2.2.tar.gz b/wcwidth-0.2.2.tar.gz new file mode 100644 index 0000000..0a17e0a --- /dev/null +++ b/wcwidth-0.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fb2d6ba8ce00acc53cbcdafd7d43cb1152a1d06b2db68f9bbba22420593ee4c +size 46929