kumquat-buildroot/package/python-babel
Peter Seiderer 2b3e87e118 package/python-babel: add purge locale data support
Add purge loacle data support (inspired by BR2_ENABLE_LOCALE_PURGE
handling in Makefile) to reduce target space allocation by the
python-babel package, e.g. from 32MB to 24K for
target/usr/lib/python3.11/site-packages/babel/locale-data with
BR2_ENABLE_LOCALE_WHITELIST="C en_US de_DE".

The special en_US_POSIX locale data is kept as it is used by default
by the python-babel code:

0ce196fccc/babel/core.py (L1076)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-31 23:39:00 +02:00
..
Config.in
python-babel.hash
python-babel.mk