# Contributor: Paul Kilar # Maintainer: Paul Kilar pkgname=py3-bottle _pkgname=bottle pkgver=0.12.17 pkgrel=1 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"