aboutsummaryrefslogtreecommitdiff
path: root/python/babel
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:10 +0700
commitbbf93579130671d812775cf42c7c01e873ed2932 (patch)
tree395795d6f50fea84dee54eca5504cf4db295ef62 /python/babel
parent3d787489860d6875294c5e3651e02a6085fe412e (diff)
python/babel: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/babel')
-rw-r--r--python/babel/babel.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/babel/babel.SlackBuild b/python/babel/babel.SlackBuild
index 286bd82acdf2..ae569344edfb 100644
--- a/python/babel/babel.SlackBuild
+++ b/python/babel/babel.SlackBuild
@@ -71,8 +71,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
ln -s $CWD/core.zip cldr/core-$CLDRVER.zip
-python setup.py import_cldr
-python setup.py install --root=$PKG
+python2 setup.py import_cldr
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true