Accepting request 481819 from devel:languages:python
- point download url to PyPI - drop %oname 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/481819 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-idna?expand=0&rev=2
This commit is contained in:
commit
f392d29770
@ -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
3
idna-2.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3cb5ce08046c4e3a560fc02f138d0ac63e00f8ce5901a56b32ec8b7994082aab
|
||||
size 130211
|
@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 21 15:31:28 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- point download url to PyPI
|
||||
- drop %oname
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -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,21 @@
|
||||
#
|
||||
|
||||
|
||||
%define oname idna
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
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
|
||||
Source0: https://files.pythonhosted.org/packages/source/i/idna/idna-%{version}.tar.gz
|
||||
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
|
||||
@ -48,24 +44,20 @@ for the “encodings.idna” module that comes with the Python standard
|
||||
library but currently only supports the older 2003 specification.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{oname}-%{version}
|
||||
%setup -q -n idna-%{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
|
||||
|
Loading…
x
Reference in New Issue
Block a user