aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py3-pelican/APKBUILD26
1 files changed, 21 insertions, 5 deletions
diff --git a/testing/py3-pelican/APKBUILD b/testing/py3-pelican/APKBUILD
index eba5c96365..4dc19ec020 100644
--- a/testing/py3-pelican/APKBUILD
+++ b/testing/py3-pelican/APKBUILD
@@ -2,15 +2,27 @@
# Maintainer: Danilo Falcão <danilo@falcao.org>
pkgname=py3-pelican
_pkgname=pelican
-pkgver=4.1.3
+pkgver=4.2.0
pkgrel=0
pkgdesc="Static site generator written in Python"
+options="!check" # Tests require locale support
url="https://getpelican.com"
arch="noarch"
license="AGPL-3.0-only"
-depends="py3-blinker py3-dateutil py3-django py3-docutils py3-feedgenerator
- py3-jinja2 py3-markdown py3-pygments py3-setuptools py3-six py3-tz
- py3-unidecode"
+depends="
+ python3
+ py3-feedgenerator
+ py3-jinja2
+ py3-pygments
+ py3-docutils
+ py3-tz
+ py3-blinker
+ py3-unidecode
+ py3-six
+ py3-dateutil
+ py3-markdown
+ "
+checkdepends="py3-django"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
@@ -33,8 +45,12 @@ build() {
python3 setup.py build
}
+check() {
+ python3 setup.py test
+}
+
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="1b772accf59406cd895c052871a5302da8c604f175cc6ed8c29137c19bc3ed1b105367d19c2fc40b87f5f377f23303cfa5b89395565fc6bbb3e980fa8319c94d pelican-4.1.3.tar.gz"
+sha512sums="094197407bb5e17cbf4a3c0f6df078a321de4b2373da2bd608baf6f82fd634986da0dae10547bcd9644f6b83e9cb4aa204a1a36e347a8a6248a3f6a197ebcff4 pelican-4.2.0.tar.gz"