Skip to content

Commit 85ba166

Browse files
committed
pelican: update to 4.11.0, adopt.
1 parent 695e897 commit 85ba166

File tree

2 files changed

+13
-20
lines changed

2 files changed

+13
-20
lines changed

srcpkgs/pelican/template

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,24 @@
11
# Template file for 'pelican'
22
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"
118
short_desc="Static site generator written in Python"
12-
maintainer="Orphaned <orphan@voidlinux.org>"
9+
maintainer="Jason Elswick <jason@jasondavid.us>"
1310
license="AGPL-3.0-or-later"
1411
homepage="https://getpelican.com/"
1512
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"
2013
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
2217

2318
case "$XBPS_MACHINE" in
2419
x86_64*|i686|ppc64le*|ppc64) checkdepends+=" pandoc";;
2520
esac
2621

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-
3322
post_install() {
3423
vlicense LICENSE
3524
}

srcpkgs/python3-watchfiles/template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ homepage="https://github.com/samuelcolvin/watchfiles"
1313
distfiles="https://github.com/samuelcolvin/watchfiles/archive/refs/tags/v${version}.tar.gz"
1414
checksum=15051457d29f8e9a16eaa3ec1714052ff07c1134dd3a74ed46e631d4d821b770
1515

16+
post_extract() {
17+
rm -f tests/__init__.py
18+
}
19+
1620
post_install() {
1721
vlicense LICENSE
1822
}

0 commit comments

Comments
 (0)