aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-bottle/APKBUILD
blob: 217856bc2f6a478704024732e7715cf7b8e98418 (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: Paul Kilar <pkilar@gmail.com>
# Maintainer: Paul Kilar <pkilar@gmail.com>
pkgname=py3-bottle
_pkgname=bottle
pkgver=0.12.17
pkgrel=2
pkgdesc="A fast, simple and lightweight WSGI micro web-framework"
options="!check" # failures=1
url="https://bottlepy.org/docs/dev"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

build() {
	python3 setup.py build
}

check() {
	python3 test/testall.py
}

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

sha512sums="349231666b41d10f2af7ce834cd64aa8dbe187aee05699a83ab5b7810ffe28994392bee2149d0f134087df24a5b0632ccfefeb3e1152773034f68c583fe520c3  bottle-0.12.17.tar.gz"