[Bug 297778] www/py-w3lib: Update to 2.4.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 Aug 2026 00:58:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297778

            Bug ID: 297778
           Summary: www/py-w3lib: Update to 2.4.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rm@FreeBSD.org
          Reporter: skreuzer@FreeBSD.org
                CC:
          Assignee: rm@FreeBSD.org
             Flags: maintainer-feedback?(rm@FreeBSD.org)

Update www/py-w3lib from 1.21.0 to 2.4.1 (latest upstream release).

Tested with poudriere (15amd64): 16/16 packages in the dependent chain built
successfully (w3lib, parsel, extruct, scrapy + dependencies). Functional smoke
tests of w3lib, parsel, extruct and scrapy 2.18.0 against w3lib 2.4.1 all pass.

Changelog highlights (1.21.0 -> 2.4.1):
- Python 3.8+ required (dropped 2.7/3.7 support)
- Removed dependency on six
- Build converted to pep517 (hatchling backend)
- New URL parsing behavior: canonicalize_url() no longer removes dot-segments

Port changes:
- DISTVERSION 2.4.1, drop PORTREVISION
- Convert USE_PYTHON distutils -> pep517
- RUN_DEPENDS: drop py-six; add BUILD_DEPENDS on py-hatchling
- Enable tests: USE_PYTHON += pytest (241 passed, 76 xfailed)

Maintainer CC'd for approval: rm@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.