blob: 51d049dd3961e92cd8ebafdc651f23f85b7f3133 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-nikola
_pkgname=Nikola
pkgver=8.0.2
pkgrel=1
pkgdesc="A modular, fast, simple, static python website generator"
url="https://getnikola.com"
arch="noarch !s390x" # limited by py3-piexif
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
fix-requirements.patch"
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"
}
sha512sums="4c5f472ad51e1976e8d4188a45a4aabf428b92d50792175b1e8c71681e1f38b7bdcb3cdf5af1907210871baaeba647d5fc74f4ac5f9a22d24d44f610a64f0b53 Nikola-8.0.2.tar.gz
ab1b80940ce411ff6ebab2218bda28f942f9dabea8d2a3729950050c61b30ba294b3fea9ace56952ca8e305fcf0d7e5f9026fe998efa7acbb32358cfe55a336b fix-requirements.patch"
|