14
0

- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-publicsuffixlist?expand=0&rev=47
This commit is contained in:
Sebastian Wagner
2024-09-04 10:01:09 +00:00
committed by Git OBS Bridge
parent 22c01f5274
commit 7291a83032
5 changed files with 40 additions and 17 deletions

View File

@@ -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]

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3cc4f91eb3fc4595e8ea7ce94c64e3cb98d2bdd9ed932cad7c5199afdff6ba2
size 101205

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:99c7f35974ef30a5dbe57739736a7078e16e304f0a520b7234fa11b2cc5fec40
size 104838

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Sep 4 09:57:53 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
- 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 <dmueller@suse.com>
@@ -78,7 +101,7 @@ Tue Oct 4 23:30:13 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
* Update PSL
-------------------------------------------------------------------
Thu Dec 16 08:10:00 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
Thu Dec 16 08:10:00 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
- 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 <sebix+novell.com@sebix.at>
- Update PSL.
-------------------------------------------------------------------
Sun May 30 10:42:48 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
Sun May 30 10:42:48 UTC 2021 - Sebastian Wagner <sebix@sebix.at>
- update to version 0.7.8:
- Update PSL
@@ -110,7 +133,7 @@ Thu Nov 19 06:34:19 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
* PSL updates
-------------------------------------------------------------------
Wed Jun 3 11:14:04 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
Wed Jun 3 11:14:04 UTC 2020 - Sebastian Wagner <sebix@sebix.at>
- 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 <sebix+novell.com@sebix.at>
Sat Mar 16 13:25:05 UTC 2019 - Sebastian Wagner <sebix@sebix.at>
- Update to version 0.6.5:
* No changes
@@ -158,7 +181,7 @@ Sat Mar 16 13:25:05 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
* No changes
-------------------------------------------------------------------
Tue Jan 15 21:29:54 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
Tue Jan 15 21:29:54 UTC 2019 - Sebastian Wagner <sebix@sebix.at>
- Update to version 0.6.3:
* No changes
@@ -171,7 +194,7 @@ Tue Dec 4 12:51:48 UTC 2018 - Matej Cepl <mcepl@suse.com>
- 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

View File

@@ -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