forked from pool/python-w3lib
Accepting request 399873 from home:winski:python
update to newest version, bugfixes & new features - fully backwards compatible OBS-URL: https://build.opensuse.org/request/show/399873 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 2 16:54:55 UTC 2016 - jacobwinski@gmail.com
|
||||
|
||||
- Update to 1.14.2 (2016-04-11)
|
||||
* fix function import for (deprecated) ``urljoin_rfc`` (issue #51)
|
||||
* only expose wanted functions from ``w3lib.url``, via ``__all__``
|
||||
(see issue #54, https://github.com/scrapy/scrapy/issues/1917)
|
||||
- Update to 1.14.1 (2016-04-07)
|
||||
* For bytes URLs, when supplied encoding (or default UTF8) is wrong,
|
||||
``safe_url_string`` falls back to percent-encoding offending bytes.
|
||||
- Update to 1.14.0 (2016-04-06)
|
||||
* proper handling of non-ASCII characters in Python2 and Python3
|
||||
* support IDNs
|
||||
* new `path_encoding` to override default UTF-8 when serializing non-ASCII
|
||||
characters before percent-encoding
|
||||
* html_body_declared_encoding also detects encoding when not sole attribute
|
||||
in ``<meta>``.
|
||||
* Package is now properly marked as ``zip_safe``.
|
||||
- Update to 1.13.0 (2015-11-05)
|
||||
* remove_tags removes uppercase tags as well;
|
||||
* ignore meta-redirects inside script or noscript tags by default,
|
||||
but add an option to not ignore them;
|
||||
* replace_entities now handles entities without trailing semicolon;
|
||||
* fixed uncaught UnicodeDecodeError when decoding entities.
|
||||
- Update to 1.12.0 (2015-06-29)
|
||||
* meta_refresh regex now handles leading newlines and whitespaces in the url;
|
||||
* include tests folder in source distribution.
|
||||
- Update to 1.11.0 (2015-01-13)
|
||||
* url_query_cleaner now supports str or list parameters;
|
||||
* add support for resolving base URLs in <base> tags with attributes
|
||||
before href.
|
||||
- Update spec file to reflect new upstream package requirements.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 5 10:08:16 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-w3lib
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 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
|
||||
@@ -11,21 +11,24 @@
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-w3lib
|
||||
Version: 1.10.0
|
||||
Version: 1.14.2
|
||||
Release: 0
|
||||
Url: http://github.com/scrapy/w3lib
|
||||
Summary: Library of Web-Related Functions
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/w/w3lib/w3lib-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: python-six >= 1.4.1
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-six >= 1.4.1
|
||||
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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:670cd9647dfc9f5adbf973c300bc62f3ba6687acfed93b67527f4cca5459380b
|
||||
size 12300
|
||||
3
w3lib-1.14.2.tar.gz
Normal file
3
w3lib-1.14.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bd87eae62d208eef70869951abf05e96a8ee559714074a485168de4c5b190004
|
||||
size 41191
|
||||
Reference in New Issue
Block a user