git: 573e0966beb1 - main - www/py-cheroot: Update to 9.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Dec 2022 09:13:00 UTC
The branch main has been updated by sunpoet:

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

commit 573e0966beb14ddd91293768a551e5cd19d6bd48
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-12-30 08:46:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-12-30 09:05:11 +0000

    www/py-cheroot: Update to 9.0.0
    
    Changes:        https://github.com/cherrypy/cheroot/releases
                    https://github.com/cherrypy/cheroot/blob/main/CHANGES.rst
---
 www/py-cheroot/Makefile | 12 +++++++++---
 www/py-cheroot/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/www/py-cheroot/Makefile b/www/py-cheroot/Makefile
index cc3dfe07d470..9305747f54af 100644
--- a/www/py-cheroot/Makefile
+++ b/www/py-cheroot/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	cheroot
-PORTVERSION=	8.6.0
+PORTVERSION=	9.0.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,9 +17,15 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jaraco.functools>=0:devel/py-jaraco.functool
 		${PYTHON_PKGNAMEPREFIX}more-itertools>=2.6:devel/py-more-itertools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR}
 
-USES=		python:3.7+
+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-cheroot/distinfo b/www/py-cheroot/distinfo
index 0d678769a898..dac490e84a49 100644
--- a/www/py-cheroot/distinfo
+++ b/www/py-cheroot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642102361
-SHA256 (cheroot-8.6.0.tar.gz) = 366adf6e7cac9555486c2d1be6297993022eff6f8c4655c1443268cca3f08e25
-SIZE (cheroot-8.6.0.tar.gz) = 134779
+TIMESTAMP = 1669057981
+SHA256 (cheroot-9.0.0.tar.gz) = 3d47ad9ee19ecbec144b4758399036692fdbf67a40b96eef1fb1454367b3d338
+SIZE (cheroot-9.0.0.tar.gz) = 152562