python/cssutils: Build with python3 by default
This commit is contained in:
parent
e48218d43a
commit
499a0b74b9
|
@ -63,11 +63,8 @@ for FILE in $(find . -type f -exec grep -Pl '\r$' {} \;); do
|
|||
done
|
||||
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
if [ "${PYTHON3:-no}" == "yes" ]; then
|
||||
rm -rf build
|
||||
python3 setup.py install --root=$PKG
|
||||
fi
|
||||
rm -rf build
|
||||
python3 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
|
||||
|
|
Loading…
Reference in New Issue