git: b095c8070a42 - main - www/py-soupsieve: update to 2.7

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sat, 19 Jul 2025 19:00:04 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b095c8070a42fb313877ca0a906719f0383caf5f

commit b095c8070a42fb313877ca0a906719f0383caf5f
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2025-07-19 05:47:14 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-07-19 18:59:40 +0000

    www/py-soupsieve: update to 2.7
    
    Port changes:
    - switch to USE_PYTHON=pep517
    - switch to USE_PYTHON=pytest and remove do-test target
    - switch lxml dependency to devel/py-lxml5 (from devel/py-lxml)
    
    Upstream changes:
    - https://github.com/facelessuser/soupsieve/releases/tag/2.1.0
    - https://github.com/facelessuser/soupsieve/releases/tag/2.2
    - https://github.com/facelessuser/soupsieve/releases/tag/2.2.1
    - https://github.com/facelessuser/soupsieve/releases/tag/2.3
    - https://github.com/facelessuser/soupsieve/releases/tag/2.3.1
    - https://github.com/facelessuser/soupsieve/releases/tag/2.3.2
    - https://github.com/facelessuser/soupsieve/releases/tag/2.3.2.post1
    - https://github.com/facelessuser/soupsieve/releases/tag/2.4
    - https://github.com/facelessuser/soupsieve/releases/tag/2.4.1
    - https://github.com/facelessuser/soupsieve/releases/tag/2.5
    - https://github.com/facelessuser/soupsieve/releases/tag/2.6
    - https://github.com/facelessuser/soupsieve/releases/tag/2.7
    
    PR:             288048
    Approved by:    wen (maintainer)
---
 www/py-soupsieve/Makefile | 14 +++++---------
 www/py-soupsieve/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/www/py-soupsieve/Makefile b/www/py-soupsieve/Makefile
index 39227dae726a..3b5252113d70 100644
--- a/www/py-soupsieve/Makefile
+++ b/www/py-soupsieve/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	soupsieve
-PORTVERSION=	2.0.1
-PORTREVISION=	1
+PORTVERSION=	2.7
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,17 +11,14 @@ WWW=		https://github.com/facelessuser/soupsieve
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.1:devel/py-hatchling@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}lxml5>0:devel/py-lxml5@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}beautifulsoup>4:www/py-beautifulsoup@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
-
 .include <bsd.port.mk>
diff --git a/www/py-soupsieve/distinfo b/www/py-soupsieve/distinfo
index 4bad341b9491..b99051796a68 100644
--- a/www/py-soupsieve/distinfo
+++ b/www/py-soupsieve/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1604520380
-SHA256 (soupsieve-2.0.1.tar.gz) = a59dc181727e95d25f781f0eb4fd1825ff45590ec8ff49eadfd7f1a537cc0232
-SIZE (soupsieve-2.0.1.tar.gz) = 95986
+TIMESTAMP = 1751781495
+SHA256 (soupsieve-2.7.tar.gz) = ad282f9b6926286d2ead4750552c8a6142bc4c783fd66b0293547c8fe6ae126a
+SIZE (soupsieve-2.7.tar.gz) = 103418