aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flask-flatpages/APKBUILD
blob: 95be4cec22db2c21c31cfc43ee281571eb90b7bc (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-flatpages
_pkgname=Flask-FlatPages
pkgver=0.7.1
pkgrel=1
pkgdesc="Flask static pages extension"
url="https://pypi.python.org/pypi/Flask-FlatPages"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-flask py3-jinja2 py3-markdown py3-yaml"
makedepends="py3-setuptools"
checkdepends="py3-pygments"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="8205de10a5048c53865b7dab0da0e3e4dae7f37da469cd8ac4f0fa7510ec78a6617a1cefa1b196bcb1fc919df6a178f20814c84e9660b8f76fb42e3fd624a363  Flask-FlatPages-0.7.1.tar.gz"