git: 2dfe786108e8 - main - www/py-w3lib: update to 2.4.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Sep 2026 08:25:48 UTC
The branch main has been updated by rm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2dfe786108e8957480bd709e90fbbbc0cabd1a49
commit 2dfe786108e8957480bd709e90fbbbc0cabd1a49
Author: Steven Kreuzer <skreuzer@FreeBSD.org>
AuthorDate: 2026-09-07 08:22:51 +0000
Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2026-09-07 08:25:17 +0000
www/py-w3lib: update to 2.4.1
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)
PR: 297778
Reported by: skreuzer
---
www/py-w3lib/Makefile | 7 +++----
www/py-w3lib/distinfo | 6 +++---
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/www/py-w3lib/Makefile b/www/py-w3lib/Makefile
index 3d2bc48e665e..ff22fc11ca60 100644
--- a/www/py-w3lib/Makefile
+++ b/www/py-w3lib/Makefile
@@ -1,6 +1,5 @@
PORTNAME= w3lib
-PORTVERSION= 1.21.0
-PORTREVISION= 1
+PORTVERSION= 2.4.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +10,10 @@ WWW= https://github.com/scrapy/w3lib/
LICENSE= BSD3CLAUSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.27.0:devel/py-hatchling@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
diff --git a/www/py-w3lib/distinfo b/www/py-w3lib/distinfo
index 38abcd39f2ac..b9451f92b271 100644
--- a/www/py-w3lib/distinfo
+++ b/www/py-w3lib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1572735384
-SHA256 (w3lib-1.21.0.tar.gz) = 8b1854fef570b5a5fc84d960e025debd110485d73fd283580376104762774315
-SIZE (w3lib-1.21.0.tar.gz) = 38153
+TIMESTAMP = 1787425947
+SHA256 (w3lib-2.4.1.tar.gz) = 8dd69ee39ff6398d708c793abc779c334a69bac7cee1cdf71736c669ed6be864
+SIZE (w3lib-2.4.1.tar.gz) = 48494