1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="Rapid multi-Python deployment"
9 url="https://codespeak.net/execnet"
14 'python-setuptools-scm'
22 'python-pytest-timeout'
24 source=("https://pypi.io/packages/source/e/execnet/execnet-$pkgver.tar.gz")
25 sha512sums=('d425e7b6f3708efecb5dfa2c36a837cb55f2c32cf2ec0c1dc11cd1ca6ea614d119d04908b84dd5a3593c87db35e71fee202f843665c853ac3538479f60c83d60')
29 python -m build --wheel --no-isolation
33 local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
36 # install to temporary location, as importlib is used
37 python -m installer --destdir=test_dir dist/*.whl
38 export PYTHONPATH="test_dir/$site_packages:$PYTHONPATH"
44 python -m installer --destdir="$pkgdir" dist/*.whl
45 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/