summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAndreas Bilke <andreas@bilke.org>2024-01-07 15:46:37 +0100
committerRobert Clausecker <fuz@FreeBSD.org>2024-01-16 17:18:22 +0100
commit7e62a21f319db9af00d5c5ea77e8ccd1e6440569 (patch)
treed366b0bbec05012ee95dfabbea0259b84ad2de69 /www
parent1b4e67f3e0f60b253537985fb838085e91434b35 (diff)
downloadfreebsd-ports-7e62a21f319db9af00d5c5ea77e8ccd1e6440569.zip
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
Diffstat (limited to 'www')
-rw-r--r--www/py-pelican/Makefile30
-rw-r--r--www/py-pelican/distinfo6
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