# Maintainer: Mark Wagie pkgname=python-types-setuptools _name=${pkgname#python-} pkgver=57.4.18 pkgrel=1 pkgdesc="Typing stubs for setuptools" arch=('any') url="https://github.com/python/typeshed" license=('Apache') depends=('python') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") sha256sums=('8ee03d823fe7fda0bd35faeae33d35cb5c25b497263e6a58b34c4cfd05f40bcf') build() { cd "$_name-$pkgver" python -m build --wheel --no-isolation } package() { cd "$_name-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl }