Accepting request 484364 from home:TheBlackCat:branches:devel:languages:python
Update to version 0.1.7 OBS-URL: https://build.opensuse.org/request/show/484364 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wcwidth?expand=0&rev=5
This commit is contained in:
parent
bfc060d431
commit
5220803d9d
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 1 21:00:22 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to version 0.1.7
|
||||||
|
* **Updated** tables to Unicode Specification 9.0.0. (`PR #18`_).
|
||||||
|
- Update to version 0.1.6
|
||||||
|
0.1.6 *2016-01-08 Production/Stable*
|
||||||
|
* ``LICENSE`` file now included with distribution.
|
||||||
|
- Update to version 0.1.5
|
||||||
|
* **Bugfix**:
|
||||||
|
Resolution of "combining_ character width" issue, most especially
|
||||||
|
those that previously returned -1 now often (correctly) return 0.
|
||||||
|
resolved by `Philip Craig`_ via `PR #11`_.
|
||||||
|
* **Deprecated**:
|
||||||
|
The module path ``wcwidth.table_comb`` is no longer available,
|
||||||
|
it has been superseded by module path ``wcwidth.table_zero``.
|
||||||
|
- Implement single-spec version
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 30 21:50:06 UTC 2017 - rjschwei@suse.com
|
Mon Jan 30 21:50:06 UTC 2017 - rjschwei@suse.com
|
||||||
|
|
||||||
|
@ -16,23 +16,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-wcwidth
|
Name: python-wcwidth
|
||||||
Version: 0.1.4
|
Version: 0.1.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Number of Terminal column cells of wide-character codes
|
Summary: Number of Terminal column cells of wide-character codes
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/jquast/wcwidth
|
Url: https://github.com/jquast/wcwidth
|
||||||
Source: https://pypi.python.org/packages/source/w/wcwidth/wcwidth-%{version}.tar.gz
|
Source: https://pypi.python.org/packages/source/w/wcwidth/wcwidth-%{version}.tar.gz
|
||||||
BuildRequires: python-devel >= 2.7
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-nose
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module nose}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This API is mainly for Terminal Emulator implementors -- any python
|
This API is mainly for Terminal Emulator implementors -- any python
|
||||||
@ -51,21 +51,24 @@ release files, which this project aims to track.
|
|||||||
%setup -q -n wcwidth-%{version}
|
%setup -q -n wcwidth-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
|
||||||
%check
|
|
||||||
pushd wcwidth/tests
|
|
||||||
PYTHONPATH=%{buildroot}%{python_sitelib} nosetests
|
|
||||||
popd
|
|
||||||
|
|
||||||
# This file is meant to be runnable on its own for testing,
|
# This file is meant to be runnable on its own for testing,
|
||||||
# so don't remove the shebang.
|
# so don't remove the shebang.
|
||||||
chmod a+x %{buildroot}%{python_sitelib}/wcwidth/tests/test_*.py
|
%python_expand chmod a+x %{buildroot}%{$python_sitelib}/wcwidth/tests/test_*.py
|
||||||
|
|
||||||
%files
|
%check
|
||||||
|
pushd wcwidth/tests
|
||||||
|
%{python_expand
|
||||||
|
export PYTHONPATH=%{buildroot}%{python_sitelib}
|
||||||
|
nosetests-%{python_bin_suffix}
|
||||||
|
}
|
||||||
|
popd
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:906d3123045d77027b49fe912458e1a1e1d6ca1a51558a4bd9168d143b129d2b
|
|
||||||
size 19584
|
|
3
wcwidth-0.1.7.tar.gz
Normal file
3
wcwidth-0.1.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e
|
||||||
|
size 22884
|
Loading…
Reference in New Issue
Block a user