1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-jaraco.context
5 _commit=0e0ae08919b984e3c7cffdb2106e437d0d0891c8
7 pkgdesc="Context managers by jaraco"
8 url="https://github.com/jaraco/jaraco.context"
12 makedepends=('git' 'python-setuptools-scm' 'python-build' 'python-installer' 'python-wheel')
13 checkdepends=('python-pytest')
14 source=("git+https://github.com/jaraco/jaraco.context.git#commit=$_commit")
29 python -m installer -d "$pkgdir" dist/*.whl
30 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/