1 # Maintainer: Caleb Maclennan <caleb@alerque.com>
2 # Maintainer: Daniel M. Capella <polyzen@archlinux.org>
3 # Contributor: Angel Velasquez <angvp@archlinux.org>
4 # Contributor: Felix Yan <felixonmars@archlinux.org>
7 pkgname=python-$_pyname
10 pkgdesc='A common base representation of python source code'
12 url="https://github.com/PyCQA/$_pyname"
14 _pydeps=(lazy-object-proxy
18 "${_pydeps[@]/#/python-}")
19 makedepends=(python-{build,installer,wheel}
21 checkdepends=(python-numpy
27 replaces=(python-logilab-astng)
28 conflicts=(python-logilab-astng)
29 _archive="$_pyname-$pkgver"
30 source=("$url/archive/v$pkgver/$_archive.tar.gz")
31 sha256sums=('c819b8f9c97a8365d907d837f1655dca3a0052a494e0c91ec9ad5df48f7a4101')
35 sed -i -e '/^requires =/s/~=[0-9.]\+//g' pyproject.toml
50 python -m installer -d "$pkgdir" dist/*.whl