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:
Todd R 2017-04-01 21:39:52 +00:00 committed by Git OBS Bridge
parent bfc060d431
commit 5220803d9d
4 changed files with 41 additions and 20 deletions

View File

@ -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

View File

@ -16,23 +16,23 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-wcwidth
Version: 0.1.4
Version: 0.1.7
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://pypi.python.org/packages/source/w/wcwidth/wcwidth-%{version}.tar.gz
BuildRequires: python-devel >= 2.7
BuildRequires: python-nose
BuildRequires: python-setuptools
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
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
%endif
%python_subpackages
%description
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}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
pushd wcwidth/tests
PYTHONPATH=%{buildroot}%{python_sitelib} nosetests
popd
%python_install
# This file is meant to be runnable on its own for testing,
# 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,-)
%doc README.rst
%{python_sitelib}/*

View File

@ -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
View File

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