Hello community,

here is the log from the commit of package python-tld for openSUSE:Leap:15.2 
checked in at 2020-03-02 13:24:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-tld (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-tld.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tld"

Mon Mar  2 13:24:02 2020 rev:17 rq:777220 version:0.11.10

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-tld/python-tld.changes  2020-01-15 
15:53:49.851611230 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-tld.new.26092/python-tld.changes       
2020-03-02 13:24:03.570482126 +0100
@@ -1,0 +2,160 @@
+Thu Feb  6 19:50:54 UTC 2020 - Sebastian Wagner <[email protected]>
+
+- update to version 0.11.10:
+  - Python 2.7 and 3.5 fixes.
+
+-------------------------------------------------------------------
+Thu Jan  2 10:14:36 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Do not use setup.py test but call pytest directly
+
+-------------------------------------------------------------------
+Tue Dec 24 10:03:46 UTC 2019 - Sebastian Wagner <[email protected]>
+
+- update to version 0.11.9:
+ - Adding test TLDs list to the package.
+- switch back to pypi file.
+
+-------------------------------------------------------------------
+Sun Dec 15 22:01:42 UTC 2019 - Sebastian Wagner <[email protected]>
+
+- Switch to github tarball because of missing test files.
+
+-------------------------------------------------------------------
+Sun Dec 15 09:22:45 UTC 2019 - Sebastian Wagner <[email protected]>
+
+- update to version 0.11.8:
+ - Minor fixes in setup.py.
+- update to version 0.11.7
+ - There have been no code changes since 0.11.2. The only change is that
+   support for Python 2.7 and 3.5 has been added.
+ - Added support for Python 2.7.
+- update to version 0.11.6:
+ - Targeted releases for all supported Python versions.
+- update to version 0.11.5:
+ - Targeted releases for all supported Python versions.
+- update to version 0.11.4:
+ - Changed order of the releases (Python 3.6 and up come first, then Python 
3.5).
+ - Make all distributions except Python 3.5 universal.
+- update to version 0.11.3:
+ - Added missing resources to the Python 3.5 release.
+- update to version 0.11.2:
+ - Bring back Python 3.5 support.
+- update to version 0.11.1:
+ - Minor speed ups.
+ - More on adding typing.
+- update to version 0.11:
+ - Since introduction of parser classes, usage of
+   ``NAMES_SOURCE_URL`` and ``NAMES_LOCAL_PATH`` of the ``tld.conf``
+   module is deprecated. Also, ``tld_names_local_path``
+   and ``tld_names_source_url`` arguments are deprecated as well.
+   If you want to customise things, implement your own parser (inherit from
+   ``BaseTLDSourceParser``).
+ - Drop support for Python versions prior to 3.6.
+ - Clean-up dependencies.
+ - Introduce parsers.
+ - Drop ``tld_names_source_url`` and ``tld_names_local_path`` introduced
+   in the previous release.
+ - Minor speed-ups (including tests).
+- update to version 0.10:
+ - This is the last release to support Python 2.
+ - Make it possible to provide a custom path to the TLD names file.
+ - Make it possible to free up some resources occupied due to loading custom
+   tld names by calling the ``reset_tld_names`` function
+   with ``tld_names_local_path`` parameter.
+
+-------------------------------------------------------------------
+Tue Nov 26 14:03:36 UTC 2019 - Sebastian Wagner <[email protected]>
+
+- update to version 0.9.8:
+ - Fix for occasional issue when some domains are not correctly recognised.
+- update to version 0.9.7:
+ - Handling urls that are only a TLD.
+ - Accepts already splitted URLs.
+ - Tested against Python 3.8.
+
+-------------------------------------------------------------------
+Mon Sep 16 13:21:10 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.9.6:
+  * Fix for update-tld-names returns a non-zero exit code on success
+  * Minor tests improvements.
+
+-------------------------------------------------------------------
+Sat Sep 14 20:05:33 UTC 2019 - Sebastian Wagner <[email protected]>
+
+- update to version 0.9.5:
+  - Tests improvements.
+- update to version 0.9.4:
+  - Optimisations in setup.py, tests and console scripts.
+  - Skip testing the update-tld-names functionality if no internet is 
available.
+- add skip_internet_tests.patch
+- remove remove-download-test.patch
+
+-------------------------------------------------------------------
+Sun Apr  7 11:31:45 UTC 2019 - Sebastian Wagner <[email protected]>
+
+- update to version 0.9.3:
+ - Added `is_tld` function.
+ - Docs updated.
+ - Upgrade test suite.
+
+-------------------------------------------------------------------
+Wed Jan 23 21:26:49 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Use noun phrase.
+
+-------------------------------------------------------------------
+Tue Jan 15 20:37:18 UTC 2019 - Sebastian Wagner <[email protected]>
+
+- Update to version 0.9.2:
+ * Fix an issue causing certain punycode TLDs to be deemed invalid.
+ * Tested against Python 3.7.
+ * Added tests for commands.
+ * Dropped Python 2.6 support.
+ * TLD source updated to the latest version.
+- Update and extend remove-download-test.patch
+
+-------------------------------------------------------------------
+Tue Dec  4 12:55:21 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
+Mon Jul  9 20:12:12 UTC 2018 - [email protected]
+
+- remove fix-setup-test.patch, merged upstream
+- update to version 0.9.1:
+  * Correctly handling nested TLDs.
+- update to version 0.9:
+ * This release contains backward incompatible changes. You should update your 
code.
+ * The active_only option has been removed from get_tld, get_fld and parse_url 
functions. Update your code accordingly.
+ * Removed active_only option from get_tld, get_fld and parse_url functions.
+ * Correctly handling exceptions (!) in the original TLD list.
+ * Fixes in documentation.
+ * Added parse_tld function.
+ * Fixes the python setup.py test command.
+
+-------------------------------------------------------------------
+Fri Jul  6 20:58:36 UTC 2018 - [email protected]
+
+- add remove-download-test.patch to remove download test requiring internet
+- add fix-setup-test.patch to fix setup.py test_suite specifier
+- update to version 0.8:
+ - This release contains backward incompatible changes. You should update
+   your code.
+   Old `get_tld` functionality remain is moved to `get_fld` (first-level
+   domain definition). The `as_object` argument (False by default) has been
+   deprecated for `get_fld`.
+   Have a look at the packages' documentation and changelog for details and 
examples.
+ - Move to a Trie to match TLDs. This brings a speed up of 15-20%.
+ - It's now possible to search in public, private or all suffixes (old
+   behaviour). Use `search_public` and `search_private` arguments accordingly.
+   By default (to support old behavior), both are set to True.
+ - Correct TLD definitions.
+ - Domains like `*****.xn--fiqs8s` are now recognized as well.
+ - Due to usage of `urlsplit` instead of `urlparse`, the initial list of TLDs
+   is assembled quicker (a speed-up of 15-20%).
+ - Docs/ directory is included in source distribution tarball.
+
+-------------------------------------------------------------------

Old:
----
  tld-0.7.10.tar.gz

New:
----
  skip_internet_tests.patch
  tld-0.11.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-tld.spec ++++++
--- /var/tmp/diff_new_pack.CQX4zc/_old  2020-03-02 13:24:04.194483367 +0100
+++ /var/tmp/diff_new_pack.CQX4zc/_new  2020-03-02 13:24:04.194483367 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tld
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,39 +12,44 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:           python-tld
-Version:        0.7.10
+Version:        0.11.10
 Release:        0
-Summary:        Extract the top level domain (TLD) from the URL given
+Summary:        URL top level domain (TLD) extraction module
 License:        MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only
 Group:          Development/Languages/Python
-Url:            https://github.com/barseghyanartur/tld
+URL:            https://github.com/barseghyanartur/tld
 Source:         
https://files.pythonhosted.org/packages/source/t/tld/tld-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+# PATCH-FIX-OPENSUSE skip_internet_tests.patch
+Patch0:         skip_internet_tests.patch
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-six >= 1.9
+BuildArch:      noarch
 # SECTION test requirements
+BuildRequires:  %{python_module Faker}
+BuildRequires:  %{python_module factory_boy}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module six >= 1.9}
 # /SECTION
-BuildRequires:  fdupes
-Requires:       python-six >= 1.9
-BuildArch:      noarch
-
 %python_subpackages
 
 %description
-Extract the top level domain (TLD) from the URL given. List of TLD names is
-taken from Mozilla
-<http://mxr.mozilla.org/mozilla/source/netwerk/dns/src/effective_tld_names.dat?raw=1>
+This module extracts the top level domain (TLD) from the URL given.
+A list of TLD names is taken from Mozillas public suffix list:
+<https://publicsuffix.org/list/effective_tld_names.dat>
 
 %prep
 %setup -q -n tld-%{version}
-sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' src/tld/bin/update-tld-names
+%patch0 -p1
+# https://github.com/barseghyanartur/tld/issues/75
 
 %build
 %python_build
@@ -54,7 +59,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%pytest
 
 %files %{python_files}
 %doc README.rst CHANGELOG.rst

++++++ skip_internet_tests.patch ++++++
--- tld-0.9.5/src/tld/tests/base.py     2019-09-11 01:17:41.000000000 +0200
+++ tld-0.9.5/src/tld/tests/base.py     2019-09-14 22:20:02.920343051 +0200
@@ -55,13 +55,7 @@
     OpenPort: 53/tcp
     Service: domain (DNS/TCP)
     """
-    try:
-        socket.setdefaulttimeout(timeout)
-        socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect((host, port))
-        return True
-    except socket.error as ex:
-        print(ex)
-        return False
+    return False
 
 
 def internet_available_only(func):
++++++ tld-0.7.10.tar.gz -> tld-0.11.10.tar.gz ++++++
++++ 129820 lines of diff (skipped)


Reply via email to