diff options
Diffstat (limited to 'python/python3-yarl/python3-yarl.SlackBuild')
| -rw-r--r-- | python/python3-yarl/python3-yarl.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/python/python3-yarl/python3-yarl.SlackBuild b/python/python3-yarl/python3-yarl.SlackBuild index d3a0fb5461..6ace5fbab4 100644 --- a/python/python3-yarl/python3-yarl.SlackBuild +++ b/python/python3-yarl/python3-yarl.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-yarl -VERSION=${VERSION:-1.9.2} +VERSION=${VERSION:-1.9.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -67,9 +67,12 @@ find -L . \ # Workaround taken from Arch Linux PKGBUILD # https://github.com/archlinux/svntogit-community/blob/packages/python-yarl/trunk/PKGBUILD -sed 's| .install-cython ||g' -i Makefile -make cythonize -python3 setup.py install --root=$PKG +#sed 's| .install-cython ||g' -i Makefile +#make cythonize +#python3 setup.py install --root=$PKG + +python3 -m build --config-setting=--pure-python= --no-isolation || exit 1 +python3 -m installer -d "$PKG" dist/*.whl 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 |
