Hello community,

here is the log from the commit of package python-tld for openSUSE:Factory 
checked in at 2019-09-27 14:48:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tld (Old)
 and      /work/SRC/openSUSE:Factory/.python-tld.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tld"

Fri Sep 27 14:48:44 2019 rev:7 rq:731290 version:0.9.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tld/python-tld.changes    2019-04-18 
09:57:19.593375333 +0200
+++ /work/SRC/openSUSE:Factory/.python-tld.new.2352/python-tld.changes  
2019-09-27 14:48:48.584708391 +0200
@@ -1,0 +2,18 @@
+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
+
+-------------------------------------------------------------------

Old:
----
  remove-download-test.patch
  tld-0.9.3.tar.gz

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

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

Other differences:
------------------
++++++ python-tld.spec ++++++
--- /var/tmp/diff_new_pack.ypebeP/_old  2019-09-27 14:48:49.588705781 +0200
+++ /var/tmp/diff_new_pack.ypebeP/_new  2019-09-27 14:48:49.588705781 +0200
@@ -18,15 +18,15 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-tld
-Version:        0.9.3
+Version:        0.9.6
 Release:        0
 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
 Source:         
https://files.pythonhosted.org/packages/source/t/tld/tld-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE remove-download-test.patch
-Patch0:         remove-download-test.patch
+# PATCH-FIX-OPENSUSE skip_internet_tests.patch
+Patch0:         skip_internet_tests.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
@@ -49,7 +49,7 @@
 
 %prep
 %setup -q -n tld-%{version}
-sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' src/tld/bin/update-tld-names
+#sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' src/tld/bin/update-tld-names
 %patch0 -p1
 
 %build

++++++ 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.9.3.tar.gz -> tld-0.9.6.tar.gz ++++++
++++ 2272 lines of diff (skipped)


Reply via email to