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 1/3] 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 From b11b600f06448f4079fc4e4f6df83541edcb27c8041b9dd3bb358ee2aa98704c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 8 Jun 2020 07:19:59 +0000 Subject: [PATCH 2/3] - Add missing python2 dependency for Leap to work OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wcwidth?expand=0&rev=24 --- python-wcwidth.changes | 5 +++++ python-wcwidth.spec | 20 +++++++++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/python-wcwidth.changes b/python-wcwidth.changes index cf53ee7..7d8dee3 100644 --- a/python-wcwidth.changes +++ b/python-wcwidth.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 8 07:13:36 UTC 2020 - Tomáš Chvátal + +- Add missing python2 dependency for Leap to work + ------------------------------------------------------------------- Tue Jun 2 06:52:39 UTC 2020 - Marketa Calabkova diff --git a/python-wcwidth.spec b/python-wcwidth.spec index 765f9d4..5f494a1 100644 --- a/python-wcwidth.spec +++ b/python-wcwidth.spec @@ -19,27 +19,34 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" -%bcond_without test %define psuffix -%{flavor} +%bcond_without test %else -%bcond_with test %define psuffix %{nil} +%bcond_with test %endif +%bcond_without python2 Name: python-wcwidth%{psuffix} 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://github.com/jquast/wcwidth/archive/%{version}.tar.gz#/wcwidth-%{version}.tar.gz -%if %{with test} -BuildRequires: %{python_module pytest} -%endif BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module wcwidth >= %{version}} +%if %{with python2} +BuildRequires: python-backports.functools_lru_cache >= 1.2.1 +%endif +%endif +%ifpython2 +Requires: python-backports.functools_lru_cache >= 1.2.1 +%endif %python_subpackages %description @@ -74,7 +81,6 @@ sed -i 's/--cov[-=a-z]*//g' tox.ini %endif %if ! %{with test} - %files %{python_files} %license LICENSE %doc README.rst From 812b211b7af13ee275c670d0c72e4c28e11cb2b961b63b89d8e5d376934c05c0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 Jun 2020 13:46:25 +0000 Subject: [PATCH 3/3] - update to 0.2.3 * add tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wcwidth?expand=0&rev=25 --- python-wcwidth.changes | 6 ++++++ python-wcwidth.spec | 2 +- wcwidth-0.2.2.tar.gz | 3 --- wcwidth-0.2.3.tar.gz | 3 +++ 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 wcwidth-0.2.2.tar.gz create mode 100644 wcwidth-0.2.3.tar.gz diff --git a/python-wcwidth.changes b/python-wcwidth.changes index 7d8dee3..50391f9 100644 --- a/python-wcwidth.changes +++ b/python-wcwidth.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 8 13:45:57 UTC 2020 - Dirk Mueller + +- update to 0.2.3 + * add tests + ------------------------------------------------------------------- Mon Jun 8 07:13:36 UTC 2020 - Tomáš Chvátal diff --git a/python-wcwidth.spec b/python-wcwidth.spec index 5f494a1..d04e2a0 100644 --- a/python-wcwidth.spec +++ b/python-wcwidth.spec @@ -27,7 +27,7 @@ %endif %bcond_without python2 Name: python-wcwidth%{psuffix} -Version: 0.2.2 +Version: 0.2.3 Release: 0 Summary: Number of Terminal column cells of wide-character codes License: MIT diff --git a/wcwidth-0.2.2.tar.gz b/wcwidth-0.2.2.tar.gz deleted file mode 100644 index 0a17e0a..0000000 --- a/wcwidth-0.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4fb2d6ba8ce00acc53cbcdafd7d43cb1152a1d06b2db68f9bbba22420593ee4c -size 46929 diff --git a/wcwidth-0.2.3.tar.gz b/wcwidth-0.2.3.tar.gz new file mode 100644 index 0000000..5329d20 --- /dev/null +++ b/wcwidth-0.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:60fdf9c1f3b1fe8dc39e772e603aa4ee739a432c7586c405564bae56f8639149 +size 46938