./net/py-tldextract, Accurately separate the TLD from the registered domain and subdomains

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.1.2, Package name: py311-tldextract-5.1.2, Maintainer: pkgsrc-users

tldextract accurately separates the gTLD or ccTLD (generic or
country code top-level domain) from the registered domain and
subdomains of a URL.


Required to run:
[devel/py-setuptools] [devel/py-requests] [www/py-idna] [devel/py-requests-file] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 114.087 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-21 10:13:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tldextract: updated to 5.1.2

5.1.2 (2024-03-18)

* Bugfixes
  * Remove `socket.inet_pton`, to fix platform-dependent IP parsing
  * Use non-capturing groups for IPv4 address detection, for a slight speed boost
* Misc.
  * Add CI for PyPy3.9 and PyPy3.10
  * Add script to automate package release process
  * Update LICENSE copyright years
   2023-11-19 18:35:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tldextract: updated to 5.1.1

5.1.1 (2023-11-16)

* Bugfixes
  * Fix path join on Windows
  * Support Python 3.12

5.1.0 (2023-11-05)

* Features
    * Allow passing in `requests.Session`
    * Add "-j, --json" option to support output in json format
* Docs
    * Improve clarity of absolute path
* Misc.
    * Extract all testing deps from tox.ini to pyproject.toml extras
    * Work around responses type union error, in tests
   2023-11-03 09:17:33 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tldextract: updated to 5.0.1

5.0.1 (2023-10-17)

* Bugfixes
   * Indicate MD5 not used in a security context (FIPS compliance)
* Misc.
   * Increase typecheck aggression

5.0.0 (2023-10-11)

* Breaking Changes
   * Migrate `ExtractResult` from `namedtuple` to `dataclass`
       * This means no more iterating/indexing/slicing/unpacking the result
         object returned by this library. It is no longer a tuple. You must
         directly reference the fields you're interested in.

         For example, the
         following will no longer work.
         ```python
         tldextract.extract("example.com")[1:3]
         # TypeError: 'ExtractResult' object is not subscriptable
         ```
         Instead, use the following.
         ```python
         ext = tldextract.extract("example.com")
         (ext.domain, ext.suffix)
         ```
* Bugfixes
   * Drop support for EOL Python 3.7
* Misc.
   * Switch from pycodestyle and Pylint to Ruff
   * Consolidate config files
   * Type tests
   * Require docstrings in tests
   * Remove obsolete tests

4.0.0 (2023-10-11)

* **Breaking** bugfixes
   * Always include suffix if private suffix enabled and private suffix exists
       * Add a 4th field `is_private: bool`, to the `ExtractResult`
         `namedtuple`, indicating whether the extraction came from the PSL's
         private domains or not.
       * **This could cause issues when iterating over the tuple and assuming
         only 3 fields.**
       * Previously, the docs promoted iteration to rejoin parts of the tuple.
         This is better achieved by individual access of fields of interest
         (e.g. `ExtractResult.subdomain`) or convenience properties (e.g.
         `ExtractResult.{fqdn,registered_domain}`).

This is the same content as version 3.6.0, originally released 2023-09-19,
which was yanked.
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-09-20 09:30:28 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tldextract: updated to 3.6.0

3.6.0 (2023-09-19)

* **Breaking** bugfixes
    * Always include suffix if private suffix enabled and private suffix exists
        * Add a 4th field `is_private: bool`, to the `ExtractResult`
          `namedtuple`, indicating whether the extraction came from the PSL's
          private domains or not.
        * **This could cause issues when iterating over the tuple and assuming
          only 3 fields.**
        * Previously, the docs promoted iteration to rejoin parts of the tuple.
          This is better achieved by individual access of fields of interest
          (e.g. `ExtractResult.subdomain`) or convenience properties (e.g.
          `ExtractResult.{fqdn,registered_domain}`).
   2023-09-14 14:43:44 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tldextract: updated to 3.5.0

3.5.0 (2023-09-06)

* Features
    * Support IPv6 addresses
* Bugfixes
    * Accept only 4 decimal octet IPv4 addresses
    * Support IPv4 addresses with unicode dots
    * Reject IPv4 addresses with trailing whitespaces + non-whitespaces
* Misc.
    * Migrate setup.py to pyproject.toml
   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
   2023-05-22 09:25:06 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tldextract: updated to 3.4.4

3.4.4
Bugfixes
  * Honor private domains flag on `self`, not only when passed to `__call__`