diff --git a/change_psl_location.patch b/change_psl_location.patch index 9fcf285..9691d1a 100644 --- a/change_psl_location.patch +++ b/change_psl_location.patch @@ -1,11 +1,11 @@ ---- publicsuffixlist-0.5.1/publicsuffixlist/__init__.py 2018-03-31 04:11:06.000000000 +0200 -+++ publicsuffixlist-0.5.1/publicsuffixlist/__init__.py 2018-05-14 11:35:04.328909547 +0200 -@@ -16,7 +16,7 @@ +--- publicsuffixlist-1.0.2.20240903/publicsuffixlist/__init__.py 2024-09-03 05:27:39.000000000 +0200 ++++ publicsuffixlist-1.0.2.20240903/publicsuffixlist/__init__.py 2024-09-04 11:59:54.896862467 +0200 +@@ -18,7 +18,7 @@ PSLURL = "https://publicsuffix.org/list/public_suffix_list.dat" -PSLFILE = os.path.join(os.path.dirname(__file__), "public_suffix_list.dat") +PSLFILE = "/usr/share/publicsuffix/public_suffix_list.dat" - if sys.version_info >= (3, ): - # python3.x + BytesTuple = Tuple[bytes, ...] + ByteString = Union[bytes, bytearray] diff --git a/publicsuffixlist-0.10.0.20240420.tar.gz b/publicsuffixlist-0.10.0.20240420.tar.gz deleted file mode 100644 index e9120a0..0000000 --- a/publicsuffixlist-0.10.0.20240420.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b3cc4f91eb3fc4595e8ea7ce94c64e3cb98d2bdd9ed932cad7c5199afdff6ba2 -size 101205 diff --git a/publicsuffixlist-1.0.2.20240903.tar.gz b/publicsuffixlist-1.0.2.20240903.tar.gz new file mode 100644 index 0000000..09e16ab --- /dev/null +++ b/publicsuffixlist-1.0.2.20240903.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99c7f35974ef30a5dbe57739736a7078e16e304f0a520b7234fa11b2cc5fec40 +size 104838 diff --git a/python-publicsuffixlist.changes b/python-publicsuffixlist.changes index a0ca258..7f25e42 100644 --- a/python-publicsuffixlist.changes +++ b/python-publicsuffixlist.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed Sep 4 09:57:53 UTC 2024 - Sebastian Wagner + +- update to version 1.0.2: + - Use @typing.overload to indicate str-to-str domain input/output. #32. + - Address deprecation of ByteString in python 3.14. +- update to version 1.0.1: + - Fix internal logic where domain name passed as a tuple of bytes, that contains + UTF-8 encoded non-ascii chars, unintentionally matched PSL. Fixes #31. +- update to version 1.0.0: + - This version drops support for Python 2.x and 3.4. + - The internal logic has been slightly changed to address conflicting evaluation + rules between the PSL wiki and the test data. + As with versions before 1.0.0, this module assumes that wildcards have + implicit public declarations on the wildcard root. + - With the minimum Python version changed to 3.5, type annotations have + been added to exposed API methods to clarify expected input types. + For example, psl.publicsuffix() now accepts `str` or `Tuple[bytes, ...]`. + - Add tuple of bytes style input + - Add keep_case keyword argument + - Accept trailing dot + - Migrate CI to GitHub Actions + ------------------------------------------------------------------- Sun Apr 21 08:37:11 UTC 2024 - Dirk Müller @@ -78,7 +101,7 @@ Tue Oct 4 23:30:13 UTC 2022 - Yogalakshmi Arunachalam * Update PSL ------------------------------------------------------------------- -Thu Dec 16 08:10:00 UTC 2021 - Sebastian Wagner +Thu Dec 16 08:10:00 UTC 2021 - Sebastian Wagner - Update to version 0.7.11: - Add testcase for wildcard match. @@ -91,7 +114,7 @@ Thu Dec 16 08:10:00 UTC 2021 - Sebastian Wagner - Update PSL. ------------------------------------------------------------------- -Sun May 30 10:42:48 UTC 2021 - Sebastian Wagner +Sun May 30 10:42:48 UTC 2021 - Sebastian Wagner - update to version 0.7.8: - Update PSL @@ -110,7 +133,7 @@ Thu Nov 19 06:34:19 UTC 2020 - John Vandenberg * PSL updates ------------------------------------------------------------------- -Wed Jun 3 11:14:04 UTC 2020 - Sebastian Wagner +Wed Jun 3 11:14:04 UTC 2020 - Sebastian Wagner - Update to version 0.7.2: * Fix PSL file timestamp offset caused by TZ. @@ -150,7 +173,7 @@ Mon May 20 08:06:14 UTC 2019 - pgajdos@suse.com * no upstream changelog ------------------------------------------------------------------- -Sat Mar 16 13:25:05 UTC 2019 - Sebastian Wagner +Sat Mar 16 13:25:05 UTC 2019 - Sebastian Wagner - Update to version 0.6.5: * No changes @@ -158,7 +181,7 @@ Sat Mar 16 13:25:05 UTC 2019 - Sebastian Wagner * No changes ------------------------------------------------------------------- -Tue Jan 15 21:29:54 UTC 2019 - Sebastian Wagner +Tue Jan 15 21:29:54 UTC 2019 - Sebastian Wagner - Update to version 0.6.3: * No changes @@ -171,7 +194,7 @@ Tue Dec 4 12:51:48 UTC 2018 - Matej Cepl - Remove superfluous devel dependency for noarch package ------------------------------------------------------------------- -Mon May 21 06:48:00 UTC 2018 - sebix+novell.com@sebix.at +Mon May 21 06:48:00 UTC 2018 - sebix@sebix.at - update to version 0.6.1: - cleanup pypi descriptors @@ -179,11 +202,11 @@ Mon May 21 06:48:00 UTC 2018 - sebix+novell.com@sebix.at - support for icann-only suffixes ------------------------------------------------------------------- -Mon May 14 09:37:38 UTC 2018 - sebix+novell.com@sebix.at +Mon May 14 09:37:38 UTC 2018 - sebix@sebix.at - add change_psl_location.patch to use list from publicsuffix package. ------------------------------------------------------------------- -Thu Mar 29 09:35:22 UTC 2018 - sebix+novell.com@sebix.at +Thu Mar 29 09:35:22 UTC 2018 - sebix@sebix.at - initial package for version 0.5.0 diff --git a/python-publicsuffixlist.spec b/python-publicsuffixlist.spec index bcaaf5c..0bf2353 100644 --- a/python-publicsuffixlist.spec +++ b/python-publicsuffixlist.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-publicsuffixlist -Version: 0.10.0.20240420 +Version: 1.0.2.20240903 Release: 0 Summary: Public suffix list implementaion in Python License: MPL-2.0