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

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

build() {
	python3 setup.py build
}

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

sha512sums="0d95217bbbf34aca2027b51cbf5114fbd6a5a695fd7caaf4427ea9244ddd188b5a509bf86cfb98479068691fcc04d0b5747a2b2ac7059b13d868237a168f398a  Flask-Markdown-0.3.tar.gz"