aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-bottle-werkzeug/APKBUILD
blob: 5a3bdf277d02339f2fc1340fe1c9045da9241dcf (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-bottle-werkzeug
_pkgname=bottle-werkzeug
pkgver=0.1.1
pkgrel=2
pkgdesc="Bottle werkzeug plugin"
url="https://pypi.python.org/pypi/bottle-werkzeug"
arch="noarch"
license="MIT"
depends="python3 py3-bottle py3-werkzeug"
makedepends="py3-setuptools"
options="!check"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

build() {
	python3 setup.py build
}

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

sha512sums="13fce3be73caa42c8cbdf437799c1fdb32a6e1ea513055ce9cd53788cea318a6d990b0975b39bcbad3b6fb2994d17d29651603687f59604e81508e61b3b0319a  bottle-werkzeug-0.1.1.tar.gz"