pkgname=python-babel pkgver=2.16.0 pkgrel=1 pkgdesc="A collection of tools for internationalizing Python applications" arch=('x86_64') url="http://babel.pocoo.org" license=('BSD-3-Clause') depends=('python-pytz') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=(https://files.pythonhosted.org/packages/source/B/Babel/${pkgname#*-}-${pkgver}.tar.gz) sha256sums=(d1f3554ca26605fe173f3de0c65f750f5a42f924499bf134de6423582298e316) build() { cd ${pkgname#*-}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl }