🔒 Repository is read-only – file editing is disabled.

recipes/utils/python-babel/PAGBUILD.yaml main

30 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930
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