# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-webob _pkgname=WebOb pkgver=1.8.7 pkgrel=3 pkgdesc="A Python WSGI request and response objects" url="https://webob.org/" arch="noarch" license="MIT" makedepends="py3-setuptools" checkdepends="py3-pytest py3-pytest-runner" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/W/WebOb/WebOb-$pkgver.tar.gz python-3.9.patch" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-webob" # Backwards compatibility provides="py-webob=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py pytest --addopts "--ignore=docs" } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="ff6a1ce796a59d9c078dc908a0d6307a080230a5c806be2278eebcbb78016bed43067e78e3e4a6d72a5f51184c137e8267ac75cbb92b057db008b51a792ff489 WebOb-1.8.7.tar.gz 5e5243dc1662805ae46787a6b2c101d2b1f7cd8124848671e84e9f2a0d7a558c0d7ae0555f9b8dc4eade9525bf842085e2b92782636d4b9d36c47485f984bbbb python-3.9.patch"