pkgname=python-packaging pkgver=24.2 pkgrel=1 pkgdesc="Core utilities for Python packages" arch=('x86_64') url="https://pypi.org/project/packaging/" license=('Apache') depends=('python') makedepends=('python-installer' 'python-flit-core') source=(https://github.com/pypa/packaging/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(c448ea78de5134f5002a2aa2bb62a0fb4714bb4ab2d2b00bce8ed6ca22502d5a) build() { cd ${pkgname#*-}-${pkgver} python3 -m flit_core.wheel } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }