git: e7b6ca66e789 - main - www/py-webob: Update to 1.8.11

Nicola Vitale <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by nivit:

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

commit e7b6ca66e78973d19bd53358340810c2bada101b
Author:     Nicola Vitale <[email protected]>
AuthorDate: 2026-08-14 16:23:12 +0000
Commit:     Nicola Vitale <[email protected]>
CommitDate: 2026-08-14 16:23:12 +0000

    www/py-webob: Update to 1.8.11
    
    - Update list of test dependencies
    - Pet port(clippy|fmt)
    
    ChangeLog:
    
    - https://github.com/Pylons/webob/releases/tag/1.8.10
    - https://github.com/Pylons/webob/releases/tag/1.8.11
    
    Reported by:    portscout!
---
 www/py-webob/Makefile | 36 +++++++++++++++++++++---------------
 www/py-webob/distinfo |  6 +++---
 2 files changed, 24 insertions(+), 18 deletions(-)

diff --git a/www/py-webob/Makefile b/www/py-webob/Makefile
index 985591c91f3d..8008c8b9f231 100644
--- a/www/py-webob/Makefile
+++ b/www/py-webob/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	webob
-PORTVERSION=	1.8.9
+PORTVERSION=	1.8.11
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,26 +10,36 @@ WWW=		https://webob.org/
 
 LICENSE=	MIT
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.8.0:devel/py-pytest-xdist@${PY_FLAVOR}
 
 USES=		python
+USE_PYTHON=	autoplist pep517
+# tests: 2488 passed, 1 xfailed, 9 skipped 
+USE_PYTHON+=	pytest
+
+.if make(test)
+TEST_ENV=	PYTHONPATH="${STAGEDIR}${PYTHON_SITELIBDIR}"
+.endif
 
-BUILD_DEPENDS=		${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pylons-sphinx-themes>=0:textproc/py-pylons-sphinx-themes@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}sphinx>=1.7.5,1:textproc/py-sphinx@${PY_FLAVOR}
 DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
+NO_ARCH=	yes
+SUB_FILES=	pyproject.toml
+SUB_LIST=	PORTVERSION=${PORTVERSION}
+
+PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-PORTDOCS=	*
+DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pylons-sphinx-themes>=0:textproc/py-pylons-sphinx-themes@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}sphinx>=1.7.5,1:textproc/py-sphinx@${PY_FLAVOR}
 
-NO_ARCH=	yes
-SUB_FILES=	pyproject.toml
-SUB_LIST=	PORTVERSION=${PORTVERSION}
-USE_PYTHON=	autoplist pep517
+post-extract-DOCS-on:
+	@(cd ${WRKSRC} && \
+	${LN} -s src/webob.egg-info .)
 
 pre-configure:
 	[ ! -e ${WRKSRC}/pyproject.toml ] && cp ${WRKDIR}/pyproject.toml ${WRKSRC}
@@ -37,10 +47,6 @@ pre-configure:
 post-build-DOCS-on:
 	${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b html -E ${WRKSRC}/docs ${WRKSRC}/build/sphinx/html
 
-post-extract-DOCS-on:
-	@(cd ${WRKSRC} && \
-	${LN} -s src/webob.egg-info .)
-
 post-install-DOCS-on:
 	@(cd ${WRKSRC}/build/sphinx/html && \
 	${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objectiv.inv")
diff --git a/www/py-webob/distinfo b/www/py-webob/distinfo
index 2de5c84c4381..139523b0973e 100644
--- a/www/py-webob/distinfo
+++ b/www/py-webob/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1750532344
-SHA256 (webob-1.8.9.tar.gz) = ad6078e2edb6766d1334ec3dee072ac6a7f95b1e32ce10def8ff7f0f02d56589
-SIZE (webob-1.8.9.tar.gz) = 279775
+TIMESTAMP = 1786722997
+SHA256 (webob-1.8.11.tar.gz) = aa8c27231070b135c025e567a9cd7eda03f4df71352ffaac740cb6a75f0f81a5
+SIZE (webob-1.8.11.tar.gz) = 286047
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.