|
1 | 1 | # Template file for 'pelican' |
2 | 2 | pkgname=pelican |
3 | | -version=4.5.1 |
4 | | -revision=5 |
5 | | -build_style=python3-module |
6 | | -hostmakedepends="python3-setuptools" |
7 | | -depends="python3-setuptools python3-feedgenerator python3-Jinja2 python3-Pygments |
8 | | - python3-docutils python3-pytz python3-blinker python3-Unidecode python3-six |
9 | | - python3-dateutil" |
10 | | -checkdepends="$depends git python3-lxml python3-BeautifulSoup4 python3-Markdown" |
| 3 | +version=4.11.0 |
| 4 | +revision=1 |
| 5 | +build_style=python3-pep517 |
| 6 | +hostmakedepends="python3-setuptools python3-wheel python3-pdm-backend" |
| 7 | +depends="python3-setuptools python3-feedgenerator python3-Jinja2 python3-Pygments python3-docutils python3-pytz python3-blinker python3-Unidecode python3-six python3-dateutil python3-rich python3-ordered_set python3-watchfiles" |
11 | 8 | short_desc="Static site generator written in Python" |
12 | | -maintainer="Orphaned <orphan@voidlinux.org>" |
| 9 | +maintainer="Jason Elswick <jason@jasondavid.us>" |
13 | 10 | license="AGPL-3.0-or-later" |
14 | 11 | homepage="https://getpelican.com/" |
15 | 12 | changelog="https://raw.githubusercontent.com/getpelican/pelican/${version}/docs/changelog.rst" |
16 | | -# xbps-src check fails alot with PYPI tarball |
17 | | -# with github tarball, there is one failure on test_error_on_warning |
18 | | -# We can live with it. |
19 | | -# distfiles="${PYPI_SITE}/p/pelican/pelican-${version}.tar.gz" |
20 | 13 | distfiles="https://github.com/getpelican/pelican/archive/${version}.tar.gz" |
21 | | -checksum=b47c65f663bf6f2513b8ebc1f096e51f4d7865c17b36c370f83eadd80b6ba702 |
| 14 | +distfiles="https://github.com/getpelican/pelican/archive/refs/tags/${version}.tar.gz" |
| 15 | +checksum=d18b0a9b2cf0427d05b9b8a955bf7bb1028c9849fb2fa44c562d0fe34b6e3655 |
| 16 | +make_check=no # fix pytest3 -n error and unpackaged dependencies |
22 | 17 |
|
23 | 18 | case "$XBPS_MACHINE" in |
24 | 19 | x86_64*|i686|ppc64le*|ppc64) checkdepends+=" pandoc";; |
25 | 20 | esac |
26 | 21 |
|
27 | | -post_extract() { |
28 | | - # This test is problematic, |
29 | | - # but this test is not important, judging from its content |
30 | | - rm pelican/tests/test_testsuite.py |
31 | | -} |
32 | | - |
33 | 22 | post_install() { |
34 | 23 | vlicense LICENSE |
35 | 24 | } |
0 commit comments