sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-babel/recipe
name python-babel
version 2.18.0
release 1
arch any
description python-babel: Internationalization utilities
source https://files.pythonhosted.org/packages/7d/b2/51899539b6ceeeb420d40ed3cd4b7a40519404f9baf3d4ac99dc413a834b/babel-${version}.tar.gz
hash sha256:b80b99a14bd085fcacfa15c9165f651fbb3406e66cc603abf11c5750937c992d
depend filesystem
depend python
depend python-pytz
builddep python-setuptools
install python3 -m pip install --no-deps --no-build-isolation --no-compile --root="$PKG" --prefix=/usr .
install pyver=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])'); \
if [ -d "$PKG/usr/lib/python$pyver" ]; then \
mkdir -p "$PKG/usr/lib64"; \
cp -a "$PKG/usr/lib/python$pyver/." "$PKG/usr/lib64/python$pyver/"; \
rm -rf "$PKG/usr/lib/python$pyver"; \
rmdir "$PKG/usr/lib" 2>/dev/null || :; fi