git: ac6f40952f20 - main - www/py-paste: Update to 3.11.0

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Wed, 28 Oct 2026 13:48:23 UTC
The branch main has been updated by nivit:

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

commit ac6f40952f209b49b069ab87f5e5dc8a321db203
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-10-28 13:31:32 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-10-28 13:48:18 +0000

    www/py-paste: Update to 3.11.0
    
    - Use pep517 instead of distutils
    - Mark the port as deprecated (see [1])
      Users should consider other frameworks such as www/py-beaker
    - Do not set an expiration date because there are ports that still
      depend on this (e.g. www/py-wsgidav)
    
    ChangeLog:
    
    1. https://github.com/pasteorg/paste/releases/tag/3.11.0
    
    Reported by:    "Chris Dent" <notifications@github.com>
    
    [1] https://github.com/pasteorg/paste/pull/110/changes/83ba0dc36cedb0115e3a4daa336e9ac6a901c758
---
 www/py-paste/Makefile  | 16 +++++++++++-----
 www/py-paste/distinfo  |  6 +++---
 www/py-paste/pkg-descr |  5 +++++
 3 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/www/py-paste/Makefile b/www/py-paste/Makefile
index b22cd3636cf5..376bb0371af3 100644
--- a/www/py-paste/Makefile
+++ b/www/py-paste/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	Paste
-PORTVERSION=	3.10.1
-PORTREVISION=	1
+PORTVERSION=	3.11.0
+PORTREVISION=	0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,13 +13,19 @@ WWW=		https://github.com/pasteorg/paste
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/docs/license.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR}
+DEPRECATED=	Paste is not being actively maintained. Choose other options
 
-# 175 passed, 1 skipped
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0_3:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0.48.0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR}
+# tests: 192 passed, 1 skipped, 1 warning
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils pytest
+USE_PYTHON=	autoplist pep517 pytest
+
+TEST_ENV=	PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+		PYTHONPATH="${STAGEDIR}${PYTHON_SITELIBDIR}"
 
 NO_ARCH=	yes
 
diff --git a/www/py-paste/distinfo b/www/py-paste/distinfo
index a6fdd6f42f30..f1cd2c4d8557 100644
--- a/www/py-paste/distinfo
+++ b/www/py-paste/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1714741211
-SHA256 (paste-3.10.1.tar.gz) = 1c3d12065a5e8a7a18c0c7be1653a97cf38cc3e9a5a0c8334a9dd992d3a05e4a
-SIZE (paste-3.10.1.tar.gz) = 652629
+TIMESTAMP = 1793193273
+SHA256 (paste-3.11.0.tar.gz) = c8e95401cbeb80c34bf832a5cd517fbaec7499225b334b2b24ba539a7f54e3ae
+SIZE (paste-3.11.0.tar.gz) = 660968
diff --git a/www/py-paste/pkg-descr b/www/py-paste/pkg-descr
index c1a4104bb9c7..221e5011c1b1 100644
--- a/www/py-paste/pkg-descr
+++ b/www/py-paste/pkg-descr
@@ -6,3 +6,8 @@ These provide several pieces of "middleware" (or filters) that can be
 nested to build web applications. Each piece of middleware uses the
 WSGI (PEP 333) interface, and should be compatible with other
 middleware based on those interfaces.
+
+Paste is in maintenance mode. New projects should not use Paste.
+Existing projects should migrate away. Consider the frameworks
+provided by the Pallets Project ( https://palletsprojects.com ) or
+Beaker ( https://beaker.readthedocs.io/ ).