diff --git a/python-w3lib.changes b/python-w3lib.changes index cd036ad..a8a36ae 100644 --- a/python-w3lib.changes +++ b/python-w3lib.changes @@ -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 ````. + * 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 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 diff --git a/python-w3lib.spec b/python-w3lib.spec index e4a946c..a0f75be 100644 --- a/python-w3lib.spec +++ b/python-w3lib.spec @@ -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 diff --git a/w3lib-1.10.0.tar.gz b/w3lib-1.10.0.tar.gz deleted file mode 100644 index ef34690..0000000 --- a/w3lib-1.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:670cd9647dfc9f5adbf973c300bc62f3ba6687acfed93b67527f4cca5459380b -size 12300 diff --git a/w3lib-1.14.2.tar.gz b/w3lib-1.14.2.tar.gz new file mode 100644 index 0000000..1aa1f95 --- /dev/null +++ b/w3lib-1.14.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd87eae62d208eef70869951abf05e96a8ee559714074a485168de4c5b190004 +size 41191