git: 91c282685c51 - main - www/py-pastedeploy: Update to 3.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 04:28:36 UTC
The branch main has been updated by sunpoet:

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

commit 91c282685c5169e2f49296e5db70ee4b8a7275ed
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:11:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:11:11 +0000

    www/py-pastedeploy: Update to 3.0.1
    
    Changes:        https://github.com/Pylons/pastedeploy/blob/main/docs/news.rst
---
 www/py-pastedeploy/Makefile | 12 ++++++++----
 www/py-pastedeploy/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/www/py-pastedeploy/Makefile b/www/py-pastedeploy/Makefile
index 50299a65f2c1..b6032de7e344 100644
--- a/www/py-pastedeploy/Makefile
+++ b/www/py-pastedeploy/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pastedeploy
-PORTVERSION=	2.1.1
+PORTVERSION=	3.0.1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,15 @@ WWW=		https://pylonsproject.org/ \
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Paste>=1.6:www/py-paste@${PY_FLAVOR}
-
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/py-pastedeploy/distinfo b/www/py-pastedeploy/distinfo
index 05dfce4afd3d..e2f33ffcbdfa 100644
--- a/www/py-pastedeploy/distinfo
+++ b/www/py-pastedeploy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602877815
-SHA256 (PasteDeploy-2.1.1.tar.gz) = 6dead6ab9823a85d585ef27f878bc647f787edb9ca8da0716aa9f1261b464817
-SIZE (PasteDeploy-2.1.1.tar.gz) = 19141
+TIMESTAMP = 1684104580
+SHA256 (PasteDeploy-3.0.1.tar.gz) = 5f4b4d5fddd39b8947ea727161e366bf55b90efc60a4d1dd7976b9031d0b4e5f
+SIZE (PasteDeploy-3.0.1.tar.gz) = 37389