# Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname=py3-paste pkgver=3.5.3 pkgrel=0 pkgdesc="Tools for using a Web Server Gateway Interface stack" url="https://pythonpaste.readthedocs.io/en/latest/" arch="noarch" license="MIT" depends=" py3-setuptools py3-six " makedepends=" py3-gpep517 py3-wheel " checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/P/Paste/Paste-$pkgver.tar.gz" builddir="$srcdir/Paste-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest -p no:warnings } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 3087ea7b6cc45a90b85c473cbff7f018ca961536ff70fbed4610f86dedc82cef0274ccddb767de411ec2955d0c265cb4e797a14a25697870c38667ccd7c4a2d8 py3-paste-3.5.3.tar.gz "