8dae2227c4
Use python3 instead of python2
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'pelican'
|
|
pkgname=pelican
|
|
version=4.2.0
|
|
revision=1
|
|
archs=noarch
|
|
build_style=python3-module
|
|
pycompile_module="pelican"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-feedgenerator python3-Jinja2 python3-Pygments
|
|
python3-docutils python3-pytz python3-blinker python3-Unidecode python3-six
|
|
python3-dateutil"
|
|
checkdepends="$depends pandoc git
|
|
python3-lxml python3-BeautifulSoup4 python3-Markdown"
|
|
short_desc="Static site generator written in Python"
|
|
maintainer="Lugubris <lugubris@disroot.org>"
|
|
license="AGPL-3.0-or-later"
|
|
homepage="https://getpelican.com/"
|
|
changelog="https://raw.githubusercontent.com/getpelican/pelican/${version}/docs/changelog.rst"
|
|
# xbps-src check fails alot with PYPI tarball
|
|
# with github tarball, there is one failure on test_error_on_warning
|
|
# We can live with it.
|
|
# distfiles="${PYPI_SITE}/p/pelican/pelican-${version}.tar.gz"
|
|
distfiles="https://github.com/getpelican/pelican/archive/${version}.tar.gz"
|
|
checksum=4b0d4c9439217b49ace89f4f8b52c90e13fa283a786d7b12e2020a11f32f9a33
|
|
|
|
post_extract() {
|
|
# This test is problematic,
|
|
# but this test is not important, judging from its content
|
|
rm pelican/tests/test_testsuite.py
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|