pkgname: python-babel pkgver: '2.18.0' pkgrel: '1' pkgdesc: A collection of tools for internationalizing Python applications url: 'https://babel.pocoo.org/' arch: x86_64 depends: [] makedepends: - python-setuptools - python-wheel - python-pytz - make-ca source: - 'https://github.com/python-babel/babel/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz' - 'https://unicode.org/Public/cldr/46/core.zip' - 'https://unicode.org/Public/cldr/46/cldr-common-46.0.zip' sha256sums: - SKIP - fbce9c2275862ad26668fb34783fe6c339f3d92ddfeb5a10a1775fb58181a15d - fbce9c2275862ad26668fb34783fe6c339f3d92ddfeb5a10a1775fb58181a15d build: | cp ./core.zip babel-${pkgver}/cldr/cldr-core-46.zip cp ./cldr-common-46.0.zip babel-${pkgver}/cldr/cldr-common-46.0.zip cd babel-${pkgver} pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD pip3 install --no-index --find-links dist --no-cache-dir --no-user --root=${PKGDIR} --no-deps babel cd .. find ${PKGDIR} -type d -name vendor -o -name tests | xargs rm -rf package: | true