14
0
Files
python-publicsuffixlist/change_psl_location.patch
Sebastian Wagner 7291a83032 - 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
2024-09-04 10:01:09 +00:00

12 lines
498 B
Diff

--- 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"
BytesTuple = Tuple[bytes, ...]
ByteString = Union[bytes, bytearray]