Accepting request 480624 from home:tbechtold:branches:devel:languages:python

update to version v2.5
  * only store scripts that are specifically referenced in logic
  * Fix validation for U+30FB KATAKANA MIDDLE DOT code point (#47)
  * range-based integer containment code
  * Documentation Updates
  * Make test runners Python 2.6 compatible (issue #20)
  * remove DISALLOWED codepoints from datafile, since they're unread
  * Avoid using bare 'except' (#39)
  * Add Python 3.5 support
  * Mark Python Wheels as universal (supports Python 2 and 3)
  * Skip tests that won't work on Python 2.6 (fixes #20)
  * Update Travis configuration to test against Python 2.6 and 3.6
  * Use relative imports (fixes #26)
  * Documentation tidy up
  * Revert to basing IDNAError on UnicodeError (issue #43) (#45)
  * rebuild idnadata
  * Update history with Java-related change
  * ignore vim swapfiles
  * Update Travis CI coverage to 3.6 and 3.7-dev
  * Reduce memory usage even further. (#41)
  * Update trove classifier for Python 3.6
  * Properly report label length exceptions (issue #36)
  * Segment uts46data to avoid Jython limits (#28)
- Switch to singlespec approach

OBS-URL: https://build.opensuse.org/request/show/480624
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-idna?expand=0&rev=3
This commit is contained in:
Jan Matejek 2017-03-16 14:21:09 +00:00 committed by Git OBS Bridge
parent aebd1128f7
commit caee202a05
4 changed files with 43 additions and 21 deletions

View File

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

3
idna-2.5.tar.gz Normal file
View File

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

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Thu Mar 16 14:01:23 UTC 2017 - tbechtold@suse.com
update to version v2.5
* only store scripts that are specifically referenced in logic
* Fix validation for U+30FB KATAKANA MIDDLE DOT code point (#47)
* range-based integer containment code
* Documentation Updates
* Make test runners Python 2.6 compatible (issue #20)
* remove DISALLOWED codepoints from datafile, since they're unread
* Avoid using bare 'except' (#39)
* Add Python 3.5 support
* Mark Python Wheels as universal (supports Python 2 and 3)
* Skip tests that won't work on Python 2.6 (fixes #20)
* Update Travis configuration to test against Python 2.6 and 3.6
* Use relative imports (fixes #26)
* Documentation tidy up
* Revert to basing IDNAError on UnicodeError (issue #43) (#45)
* rebuild idnadata
* Update history with Java-related change
* ignore vim swapfiles
* Update Travis CI coverage to 3.6 and 3.7-dev
* Reduce memory usage even further. (#41)
* Update trove classifier for Python 3.6
* Properly report label length exceptions (issue #36)
* Segment uts46data to avoid Jython limits (#28)
- Switch to singlespec approach
-------------------------------------------------------------------
Fri Jul 17 13:39:56 UTC 2015 - nemysis@gmx.ch

View File

@ -1,7 +1,7 @@
#
# spec file for package python-idna
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,25 +16,23 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oname idna
Name: python-idna
Version: 2.0
Version: 2.5
Release: 0
Summary: Internationalized Domain Names in Applications (IDNA)
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/kjd/idna
Source0: https://github.com/kjd/%{oname}/archive/v%{version}.tar.gz#/%{oname}-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
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
A library to support the Internationalised Domain Names in
@ -51,21 +49,17 @@ library but currently only supports the older 2003 specification.
%setup -q -n %{oname}-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%if 0%{?suse_version} && 0%{?suse_version} > 1110
%check
python setup.py test
%endif
%python_exec setup.py test
%files
%files %python_files
%defattr(-,root,root,-)
%doc HISTORY.rst LICENSE.rst README.rst
%{python_sitelib}/%{oname}
%{python_sitelib}/%{oname}-%{version}-py%{py_ver}.egg-info
%{python_sitelib}/*
%changelog