diff --git a/python-tld.changes b/python-tld.changes index 3c25171..c9e88c4 100644 --- a/python-tld.changes +++ b/python-tld.changes @@ -1,3 +1,58 @@ +------------------------------------------------------------------- +Tue Dec 24 10:03:46 UTC 2019 - Sebastian Wagner + +- 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 + +- Switch to github tarball because of missing test files. + +------------------------------------------------------------------- +Sun Dec 15 09:22:45 UTC 2019 - Sebastian Wagner + +- 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 diff --git a/python-tld.spec b/python-tld.spec index 29dab1e..bc24dc9 100644 --- a/python-tld.spec +++ b/python-tld.spec @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-tld -Version: 0.9.8 +Version: 0.11.9 Release: 0 Summary: URL top level domain (TLD) extraction module License: MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only @@ -49,8 +50,9 @@ A list of TLD names is taken from Mozillas public suffix list: %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 +chmod -x src/tld/res/old/effective_tld_names-2015-07-19.dat.txt %build %python_build @@ -58,7 +60,6 @@ A list of TLD names is taken from Mozillas public suffix list: %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%{python_expand chmod -x %{buildroot}%{$python_sitelib}/tld/res/old/effective_tld_names-2015-07-19.dat.txt} %check %python_exec setup.py test diff --git a/tld-0.11.9.tar.gz b/tld-0.11.9.tar.gz new file mode 100644 index 0000000..3f0f27a --- /dev/null +++ b/tld-0.11.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5fe79df74b68ebc33406dfadc69f6484dee8005035a129fdb40b8fabfd06e9f +size 747662 diff --git a/tld-0.9.8.tar.gz b/tld-0.9.8.tar.gz deleted file mode 100644 index 06a1844..0000000 --- a/tld-0.9.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5963b22029e632a17bde87e35a19dc8c5b17266fb8c58e4d550d5593307e3a72 -size 251551