Hello community, here is the log from the commit of package python-tld for openSUSE:Leap:15.2 checked in at 2020-05-14 16:58:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-tld (Old) and /work/SRC/openSUSE:Leap:15.2/.python-tld.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tld" Thu May 14 16:58:14 2020 rev:20 rq:805471 version:0.12.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-tld/python-tld.changes 2020-04-30 18:52:20.832713393 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.python-tld.new.2738/python-tld.changes 2020-05-14 16:58:18.082763032 +0200 @@ -1,0 +2,6 @@ +Sun May 3 13:19:42 UTC 2020 - Sebastian Wagner <[email protected]> + +- update to version 0.12.1: + - Correctly handling domain names ending with dot(s). + +------------------------------------------------------------------- Old: ---- tld-0.12.tar.gz New: ---- tld-0.12.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tld.spec ++++++ --- /var/tmp/diff_new_pack.ed7qjR/_old 2020-05-14 16:58:18.502763837 +0200 +++ /var/tmp/diff_new_pack.ed7qjR/_new 2020-05-14 16:58:18.506763845 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-tld -Version: 0.12 +Version: 0.12.1 Release: 0 Summary: URL top level domain (TLD) extraction module License: MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only ++++++ tld-0.12.tar.gz -> tld-0.12.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/CHANGELOG.rst new/tld-0.12.1/CHANGELOG.rst --- old/tld-0.12/CHANGELOG.rst 2020-04-19 22:37:01.000000000 +0200 +++ new/tld-0.12.1/CHANGELOG.rst 2020-04-26 00:02:55.000000000 +0200 @@ -15,6 +15,12 @@ 0.3.4 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.12.1 +------ +2020-04-25 + +- Correctly handling domain names ending with dot(s). + 0.12 ---- 2020-04-19 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/PKG-INFO new/tld-0.12.1/PKG-INFO --- old/tld-0.12/PKG-INFO 2020-04-19 22:38:52.000000000 +0200 +++ new/tld-0.12.1/PKG-INFO 2020-04-26 00:24:47.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: tld -Version: 0.12 +Version: 0.12.1 Summary: Extract the top-level domain (TLD) from the URL given. Home-page: https://github.com/barseghyanartur/tld Author: Artur Barseghyan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/docs/changelog.rst new/tld-0.12.1/docs/changelog.rst --- old/tld-0.12/docs/changelog.rst 2020-04-19 22:37:06.000000000 +0200 +++ new/tld-0.12.1/docs/changelog.rst 2020-04-26 00:03:44.000000000 +0200 @@ -15,6 +15,12 @@ 0.3.4 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.12.1 +------ +2020-04-25 + +- Correctly handling domain names ending with dot(s). + 0.12 ---- 2020-04-19 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/setup.py new/tld-0.12.1/setup.py --- old/tld-0.12/setup.py 2020-04-19 22:25:59.000000000 +0200 +++ new/tld-0.12.1/setup.py 2020-04-26 00:03:42.000000000 +0200 @@ -7,7 +7,7 @@ except: readme = '' -version = '0.12' +version = '0.12.1' py_where = './src' py_package_dir = 'src' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/src/tld/__init__.py new/tld-0.12.1/src/tld/__init__.py --- old/tld-0.12/src/tld/__init__.py 2020-04-19 22:26:27.000000000 +0200 +++ new/tld-0.12.1/src/tld/__init__.py 2020-04-25 23:47:59.000000000 +0200 @@ -9,7 +9,7 @@ ) __title__ = 'tld' -__version__ = '0.12' +__version__ = '0.12.1' __author__ = 'Artur Barseghyan' __copyright__ = '2013-2020 Artur Barseghyan' __license__ = 'MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-or-later' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/src/tld/res/effective_tld_names.dat.txt new/tld-0.12.1/src/tld/res/effective_tld_names.dat.txt --- old/tld-0.12/src/tld/res/effective_tld_names.dat.txt 2020-04-19 22:37:56.000000000 +0200 +++ new/tld-0.12.1/src/tld/res/effective_tld_names.dat.txt 2020-04-25 23:47:47.000000000 +0200 @@ -10980,6 +10980,10 @@ *.lcl.dev *.stg.dev +// Clic2000 : https://clic2000.fr +// Submitted by Mathilde Blanchemanche <[email protected]> +clic2000.net + // Cloud66 : https://www.cloud66.com/ // Submitted by Khash Sajadi <[email protected]> c66.me @@ -12791,6 +12795,10 @@ // Submitted by Craig McMahon <[email protected]> shopitsite.com +// shopware AG : https://shopware.com +// Submitted by Jens Küper <[email protected]> +shopware.store + // Siemens Mobility GmbH // Submitted by Oliver Graebner <[email protected]> mo-siemens.io @@ -13131,4 +13139,8 @@ virtualserver.io enterprisecloud.nu +// Mintere : https://mintere.com/ +// Submitted by Ben Aubin <[email protected]> +mintere.site + // ===END PRIVATE DOMAINS=== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/src/tld/tests/test_core.py new/tld-0.12.1/src/tld/tests/test_core.py --- old/tld-0.12/src/tld/tests/test_core.py 2020-03-17 23:58:23.000000000 +0100 +++ new/tld-0.12.1/src/tld/tests/test_core.py 2020-04-25 23:47:11.000000000 +0200 @@ -300,6 +300,15 @@ 'tld': 'fr', 'kwargs': {'fail_silently': True} }, + { + 'url': 'https://github.com....../barseghyanartur/tld/', + 'fld': 'github.com', + 'subdomain': '', + 'domain': 'github', + 'suffix': 'com', + 'tld': 'com', + 'kwargs': {'fail_silently': True} + }, ] self.bad_patterns = { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/src/tld/utils.py new/tld-0.12.1/src/tld/utils.py --- old/tld-0.12/src/tld/utils.py 2020-04-19 22:33:31.000000000 +0200 +++ new/tld-0.12.1/src/tld/utils.py 2020-04-25 23:37:52.000000000 +0200 @@ -326,6 +326,11 @@ else: raise TldBadUrl(url=url) + # This will correctly handle dots at the end of domain name in URLs like + # https://github.com............/barseghyanartur/tld/ + if domain_name.endswith('.'): + domain_name = domain_name.rstrip('.') + domain_parts = domain_name.split('.') tld_names_local_path = parser_class.local_path diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/src/tld.egg-info/PKG-INFO new/tld-0.12.1/src/tld.egg-info/PKG-INFO --- old/tld-0.12/src/tld.egg-info/PKG-INFO 2020-04-19 22:38:52.000000000 +0200 +++ new/tld-0.12.1/src/tld.egg-info/PKG-INFO 2020-04-26 00:24:47.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: tld -Version: 0.12 +Version: 0.12.1 Summary: Extract the top-level domain (TLD) from the URL given. Home-page: https://github.com/barseghyanartur/tld Author: Artur Barseghyan diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/src_py27/tld/res/effective_tld_names.dat.txt new/tld-0.12.1/src_py27/tld/res/effective_tld_names.dat.txt --- old/tld-0.12/src_py27/tld/res/effective_tld_names.dat.txt 2020-04-19 22:38:30.000000000 +0200 +++ new/tld-0.12.1/src_py27/tld/res/effective_tld_names.dat.txt 2020-04-26 00:23:56.000000000 +0200 @@ -10980,6 +10980,10 @@ *.lcl.dev *.stg.dev +// Clic2000 : https://clic2000.fr +// Submitted by Mathilde Blanchemanche <[email protected]> +clic2000.net + // Cloud66 : https://www.cloud66.com/ // Submitted by Khash Sajadi <[email protected]> c66.me @@ -12791,6 +12795,10 @@ // Submitted by Craig McMahon <[email protected]> shopitsite.com +// shopware AG : https://shopware.com +// Submitted by Jens Küper <[email protected]> +shopware.store + // Siemens Mobility GmbH // Submitted by Oliver Graebner <[email protected]> mo-siemens.io @@ -13131,4 +13139,8 @@ virtualserver.io enterprisecloud.nu +// Mintere : https://mintere.com/ +// Submitted by Ben Aubin <[email protected]> +mintere.site + // ===END PRIVATE DOMAINS=== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tld-0.12/src_py35/tld/res/effective_tld_names.dat.txt new/tld-0.12.1/src_py35/tld/res/effective_tld_names.dat.txt --- old/tld-0.12/src_py35/tld/res/effective_tld_names.dat.txt 2020-04-19 22:38:43.000000000 +0200 +++ new/tld-0.12.1/src_py35/tld/res/effective_tld_names.dat.txt 2020-04-26 00:24:07.000000000 +0200 @@ -10980,6 +10980,10 @@ *.lcl.dev *.stg.dev +// Clic2000 : https://clic2000.fr +// Submitted by Mathilde Blanchemanche <[email protected]> +clic2000.net + // Cloud66 : https://www.cloud66.com/ // Submitted by Khash Sajadi <[email protected]> c66.me @@ -12791,6 +12795,10 @@ // Submitted by Craig McMahon <[email protected]> shopitsite.com +// shopware AG : https://shopware.com +// Submitted by Jens Küper <[email protected]> +shopware.store + // Siemens Mobility GmbH // Submitted by Oliver Graebner <[email protected]> mo-siemens.io @@ -13131,4 +13139,8 @@ virtualserver.io enterprisecloud.nu +// Mintere : https://mintere.com/ +// Submitted by Ben Aubin <[email protected]> +mintere.site + // ===END PRIVATE DOMAINS===
