git: 91f8fa81f655 - main - www/py-cssutils: Update to 2.7.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 30 Jun 2023 07:21:11 UTC
The branch main has been updated by sunpoet:

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

commit 91f8fa81f655ec4bab28e7b31d80d5d75d09fe3a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:05:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:05:55 +0000

    www/py-cssutils: Update to 2.7.0
    
    - Remove outdated PYTHON_REL check after lang/python37 removal
    
    Changes:        https://github.com/jaraco/cssutils/blob/main/CHANGES.rst
---
 www/py-cssutils/Makefile  | 11 ++---------
 www/py-cssutils/distinfo  |  6 +++---
 www/py-cssutils/pkg-plist |  1 +
 3 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/www/py-cssutils/Makefile b/www/py-cssutils/Makefile
index 180cf57c8183..2ed99aaed3e0 100644
--- a/www/py-cssutils/Makefile
+++ b/www/py-cssutils/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	cssutils
-PORTVERSION=	2.6.0
-PORTREVISION=	2
+PORTVERSION=	2.7.0
 PORTEPOCH=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
@@ -26,14 +25,8 @@ NO_ARCH=	yes
 
 OPTIONS_DEFINE=	EXAMPLES
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 30800
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
-.endif
-
 post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/py-cssutils/distinfo b/www/py-cssutils/distinfo
index 6373d4176a11..1aa048164921 100644
--- a/www/py-cssutils/distinfo
+++ b/www/py-cssutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1661599343
-SHA256 (cssutils-2.6.0.tar.gz) = f7dcd23c1cec909fdf3630de346e1413b7b2555936dec14ba2ebb9913bf0818e
-SIZE (cssutils-2.6.0.tar.gz) = 723259
+TIMESTAMP = 1686496786
+SHA256 (cssutils-2.7.0.tar.gz) = b361836e4c39cf94f052351521e706016cc9d380026a9513a74000dbadcb3804
+SIZE (cssutils-2.7.0.tar.gz) = 724282
diff --git a/www/py-cssutils/pkg-plist b/www/py-cssutils/pkg-plist
index 872f292ec030..c77e4100d67b 100644
--- a/www/py-cssutils/pkg-plist
+++ b/www/py-cssutils/pkg-plist
@@ -1,3 +1,4 @@
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/__init__.py
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/build.py
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/codec.py
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cssencodings.py