aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-nikola/APKBUILD
blob: f07430022eb1dbbf214452e7c294926f4ee79c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-nikola
_pkgname=Nikola
pkgver=8.0.4
pkgrel=0
pkgdesc="Modular, fast, simple, static python website generator"
url="https://getnikola.com"
# s390x: py3-piexif
# aarch64: py3-inotify
arch="noarch !s390x !aarch64"
license="MIT"
depends="py3-babel py3-blinker py3-doit py3-dateutil py3-docutils py3-logbook
	py3-lxml py3-mako py3-markdown py3-natsort py3-piexif py3-pillow
	py3-pygments py3-pyphen py3-pyrss2gen py3-requests py3-setuptools
	py3-unidecode py3-yapsy"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-nikola" # Backwards compatibility
provides="py-nikola=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
}

sha512sums="eb6774d11be4eab81fbe41115d80e5d0d38694b734431d5d6355fcd3e3d8ae5ff4a02114c5dd0dbbc9e1ea5a625e9ac2b6b91e82f6e017b4376e4ca8d56cfec7  Nikola-8.0.4.tar.gz"