# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py3-bottle-request _pkgname=bottle-request pkgver=0.2.0 pkgrel=9 pkgdesc="Bottle 'stateless' request object plugin" options="!check" # No testsuite url="https://github.com/turtlebender/bottle-request/" arch="noarch" license="MIT" depends="python3 py3-bottle" makedepends="py3-setuptools py3-gpep517 py3-wheel" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-bottle-request" # Backwards compatibility provides="py-bottle-request=$pkgver-r$pkgrel" # Backwards compatibility build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { gpep517 install-wheel --destdir "$pkgdir" \ .dist/*.whl } sha512sums="bd12268d703996e200dea5817f939ecf80e572e97d3686bcaf988ec048cda4e3b950122588b91ce78a06712a321e155e2e365bc75bbd2a720228a65441a67e21 bottle-request-0.2.0.tar.gz"