pkgname=python-trove-classifiers pkgver=2024.10.21.16 pkgrel=1 pkgdesc="Canonical source for classifiers on PyPI (pypi.org)" arch=('x86_64') url="https://github.com/pypa/trove-classifiers" license=('Apache-2.0') depends=('python') makedepends=('python-calver' 'python-setuptools' 'python-wheel' 'python-build' 'python-installer') source=(https://github.com/pypa/trove-classifiers/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(4c86dbaacda8ca2bee6891dcf24bc1bab2b58a1d5bc36db6d6910bc3488eacf2) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer --destdir="$pkgdir" dist/*.whl }