Accepting request 812628 from devel:languages:python
- update to 0.2.3 * add tests - Add missing python2 dependency for Leap to work - 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/812628 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wcwidth?expand=0&rev=9
This commit is contained in:
commit
16aca13834
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 8 13:45:57 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- update to 0.2.3
|
||||
* add tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 8 07:13:36 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add missing python2 dependency for Leap to work
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -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.1.9
|
||||
Version: 0.2.3
|
||||
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
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
Source: https://github.com/jquast/wcwidth/archive/%{version}.tar.gz#/wcwidth-%{version}.tar.gz
|
||||
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
|
||||
@ -57,6 +64,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 +72,17 @@ 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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee73862862a156bf77ff92b09034fc4825dd3af9cf81bc5b360668d425f3c5f1
|
||||
size 24764
|
3
wcwidth-0.2.3.tar.gz
Normal file
3
wcwidth-0.2.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:60fdf9c1f3b1fe8dc39e772e603aa4ee739a432c7586c405564bae56f8639149
|
||||
size 46938
|
Loading…
Reference in New Issue
Block a user