diff options
Diffstat (limited to 'python/python3-smart_open')
-rw-r--r-- | python/python3-smart_open/python3-smart_open.SlackBuild | 8 | ||||
-rw-r--r-- | python/python3-smart_open/python3-smart_open.info | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/python/python3-smart_open/python3-smart_open.SlackBuild b/python/python3-smart_open/python3-smart_open.SlackBuild index af5b3a739e..a07da4cb68 100644 --- a/python/python3-smart_open/python3-smart_open.SlackBuild +++ b/python/python3-smart_open/python3-smart_open.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-smart_open -VERSION=${VERSION:-7.2.0} +VERSION=${VERSION:-7.3.0.post1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,7 +64,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +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 diff --git a/python/python3-smart_open/python3-smart_open.info b/python/python3-smart_open/python3-smart_open.info index 5e5351e16a..6467bba055 100644 --- a/python/python3-smart_open/python3-smart_open.info +++ b/python/python3-smart_open/python3-smart_open.info @@ -1,10 +1,10 @@ PRGNAM="python3-smart_open" -VERSION="7.2.0" +VERSION="7.3.0.post1" HOMEPAGE="https://github.com/RaRe-Technologies/smart_open" -DOWNLOAD="https://github.com/RaRe-Technologies/smart_open/archive/v7.2.0/smart_open-7.2.0.tar.gz" -MD5SUM="2c7cf563124ee499efa63801bb5842e4" +DOWNLOAD="https://github.com/RaRe-Technologies/smart_open/archive/v7.3.0.post1/smart_open-7.3.0.post1.tar.gz" +MD5SUM="1d18e4788ee8c6622e14dff9f60e4b09" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-wrapt" +REQUIRES="python3-setuptools-scm-opt python3-wrapt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" |