aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-werkzeug/APKBUILD
blob: 3ac83bc5e9f1f881c9d3d9cd9c1fc69b6b863d82 (plain) (blame)
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:
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-werkzeug
_pkgname=Werkzeug
pkgver=0.16.1
pkgrel=0
pkgdesc="The WSGI swiss-army knife"
url="http://werkzeug.pocoo.org/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
options="!check" # doesn't find its own modules even with PYTHONPATH set
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

build() {
	python3 setup.py build
}

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

sha512sums="1f27ea5b890c10df67726299c7656bab492e356021beec8f7a08413b386b7a884b64aaa16b80b60d7060a59c8c8e497ccc4c1e1e9104e8800dbfd7cf8b5b0d9c  Werkzeug-0.16.1.tar.gz"