git: dbb460898b44 - main - www/py-cssutils: Update to 2.2.0
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Apr 18 07:13:35 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dbb460898b44615ba8b0e9afbd19a169a01a5550
commit dbb460898b44615ba8b0e9afbd19a169a01a5550
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-04-18 05:07:24 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-04-18 05:44:16 +0000
www/py-cssutils: Update to 2.2.0
- Update WWW
Changes: https://github.com/jaraco/cssutils/blob/main/CHANGES.rst
---
www/py-cssutils/Makefile | 13 ++++++++++---
www/py-cssutils/distinfo | 6 +++---
www/py-cssutils/pkg-descr | 3 +--
3 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/www/py-cssutils/Makefile b/www/py-cssutils/Makefile
index ac8946900926..c8f3de2b280f 100644
--- a/www/py-cssutils/Makefile
+++ b/www/py-cssutils/Makefile
@@ -1,8 +1,7 @@
# Created by: ijliao
PORTNAME= cssutils
-PORTVERSION= 1.0.2
-PORTREVISION= 1
+PORTVERSION= 2.2.0
PORTEPOCH= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
@@ -16,6 +15,8 @@ LICENSE_COMB= dual
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.LESSER
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR}
+
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
@@ -25,8 +26,14 @@ PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3800
+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.mk>
+.include <bsd.port.post.mk>
diff --git a/www/py-cssutils/distinfo b/www/py-cssutils/distinfo
index 152a5f44893e..b41dd6e92d73 100644
--- a/www/py-cssutils/distinfo
+++ b/www/py-cssutils/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1488737589
-SHA256 (cssutils-1.0.2.tar.gz) = a2fcf06467553038e98fea9cfe36af2bf14063eb147a70958cfcaa8f5786acaf
-SIZE (cssutils-1.0.2.tar.gz) = 367038
+TIMESTAMP = 1618320288
+SHA256 (cssutils-2.2.0.tar.gz) = 5bef59f6b59bdccbea8e36cb292d2be1b6be1b485fc4a9f5886616f19eb31aaf
+SIZE (cssutils-2.2.0.tar.gz) = 731024
diff --git a/www/py-cssutils/pkg-descr b/www/py-cssutils/pkg-descr
index d4a66be27e70..d9aa7665c9f7 100644
--- a/www/py-cssutils/pkg-descr
+++ b/www/py-cssutils/pkg-descr
@@ -2,5 +2,4 @@ A Python package to parse and build CSS Cascading Style Sheets. Partly implement
the DOM Level 2 CSS interfaces. Additional some cssutils only convenience and
(hopefully) more pythonic methods are integrated.
-WWW: https://pypi.org/project/cssutils/
-WWW: http://cthedot.de/cssutils/
+WWW: https://github.com/jaraco/cssutils
More information about the dev-commits-ports-all
mailing list