Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2024 16:20:23 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 079b58ba51cf - 2024Q1 - www/py-pelican: update to 4.9.1
Message-ID:  <202401161620.40GGKN9q029523@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by fuz:

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

commit 079b58ba51cf7b794041ee4999334eb1c0ab3045
Author:     Andreas Bilke <andreas@bilke.org>
AuthorDate: 2024-01-07 14:46:37 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-01-16 16:20:02 +0000

    www/py-pelican: update to 4.9.1
    
     - switch build backend
     - remove broken test part, since there is no broken test in the current
       version
    
    Changelog: https://docs.getpelican.com/en/stable/changelog.html
    
    PR:             275284
    MFH:            2024Q1
    (cherry picked from commit 7e62a21f319db9af00d5c5ea77e8ccd1e6440569)
---
 www/py-pelican/Makefile | 30 +++++++++++++++++-------------
 www/py-pelican/distinfo |  6 +++---
 2 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/www/py-pelican/Makefile b/www/py-pelican/Makefile
index 1c594fe0444e..2482cf2efdb1 100644
--- a/www/py-pelican/Makefile
+++ b/www/py-pelican/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pelican
-PORTVERSION=	4.8.0
+DISTVERSION=	4.9.1
 CATEGORIES=	www textproc python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -10,17 +10,20 @@ WWW=		https://docs.getpelican.com/
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blinker>=1.4:devel/py-blinker@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dateutil>=2.8:devel/py-dateutil@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}docutils>=0.16:textproc/py-docutils@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}feedgenerator>=1.9:www/py-feedgenerator@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:devel/py-Jinja2@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}blinker>=1.7:devel/py-blinker@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dateutil>=2.8.2:devel/py-dateutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}docutils>=0.20.1:textproc/py-docutils@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}feedgenerator>=2.1.0:www/py-feedgenerator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}markdown>=3.1:textproc/py-markdown@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pygments>=2.6:textproc/py-pygments@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ordered-set>=4.1.0:devel/py-ordered-set@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pygments>=2.16.1:textproc/py-pygments@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=2020.1:devel/py-pytz@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}rich>=10.1:textproc/py-rich@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rich>=13.6.0:textproc/py-rich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}unidecode>=1.1:converters/py-unidecode@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}unidecode>=1.3.7:converters/py-unidecode@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}watchfiles>=0.21.0:devel/py-watchfiles@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.9:www/py-beautifulsoup@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flake8-import-order>=0.18:devel/py-flake8-import-order@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flake8>:devel/py-flake8@${PY_FLAVOR} \
@@ -37,7 +40,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.9:www/py-beautifulsoup@${P
 USES=		python shebangfix
 USE_GITHUB=	yes
 GH_ACCOUNT=	getpelican
-USE_PYTHON=	autoplist concurrent distutils pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 SHEBANG_FILES=	pelican/tools/*.py \
 		pelican/tools/templates/pelicanconf.py.jinja2 \
@@ -46,8 +49,9 @@ NO_ARCH=	yes
 
 .include <bsd.port.pre.mk>
 
-PYTEST_BROKEN_TESTS=	test_basis_generation_works \
-			test_custom_generation_works \
-			test_custom_locale_generation_works
+do-test:
+		cd ${WRKSRC} && ${SETENV} \
+			PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} \
+			${PYTHON_CMD} -m pytest -v pelican/tests/
 
 .include <bsd.port.post.mk>
diff --git a/www/py-pelican/distinfo b/www/py-pelican/distinfo
index 30ebc7071a7f..38e935986408 100644
--- a/www/py-pelican/distinfo
+++ b/www/py-pelican/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658645644
-SHA256 (getpelican-pelican-4.8.0_GH0.tar.gz) = e61e6a31abff4354477b211fdaeb14dd0d4df08e2d44a1c64f918f2c09c5e249
-SIZE (getpelican-pelican-4.8.0_GH0.tar.gz) = 1401791
+TIMESTAMP = 1700397640
+SHA256 (getpelican-pelican-4.9.1_GH0.tar.gz) = 6c5f2a15470600d2d8a0955ad48619dd1c8c063fa901d6cde46c9524a2eb974f
+SIZE (getpelican-pelican-4.9.1_GH0.tar.gz) = 1374443



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401161620.40GGKN9q029523>