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