diff options
author | 2025-05-29 15:04:20 +0700 | |
---|---|---|
committer | 2025-05-30 21:26:25 +0700 | |
commit | 7aebdc8e935b0d64d40bdb2654d499587cefde0b (patch) | |
tree | 5e802462a9db03508e18c498d52ff4b95df2b09c /python | |
parent | 7aed4da18f617b5f44ace647f7e261fd41d400ce (diff) | |
download | slackbuilds-7aebdc8e935b0d64d40bdb2654d499587cefde0b.tar.gz slackbuilds-7aebdc8e935b0d64d40bdb2654d499587cefde0b.tar.xz |
python/python3-types-python-dateutil: Updated for version 2.9.0.20250516.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild | 10 | ||||
-rw-r--r-- | python/python3-types-python-dateutil/python3-types-python-dateutil.info | 8 |
2 files changed, 11 insertions, 7 deletions
diff --git a/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild b/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild index 8c6a8af17d..d21a77655d 100644 --- a/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild +++ b/python/python3-types-python-dateutil/python3-types-python-dateutil.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-types-python-dateutil -# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2024-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-types-python-dateutil -VERSION=${VERSION:-2.9.0.20241206} +VERSION=${VERSION:-2.9.0.20250516} 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-types-python-dateutil/python3-types-python-dateutil.info b/python/python3-types-python-dateutil/python3-types-python-dateutil.info index 7fdfe00a32..84f255ca9a 100644 --- a/python/python3-types-python-dateutil/python3-types-python-dateutil.info +++ b/python/python3-types-python-dateutil/python3-types-python-dateutil.info @@ -1,10 +1,10 @@ PRGNAM="python3-types-python-dateutil" -VERSION="2.9.0.20241206" +VERSION="2.9.0.20250516" HOMEPAGE="https://pypi.org/project/types-python-dateutil" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/types_python_dateutil/types_python_dateutil-2.9.0.20241206.tar.gz" -MD5SUM="75621f393711ce76bb7a7e46902384db" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/types_python_dateutil/types_python_dateutil-2.9.0.20250516.tar.gz" +MD5SUM="0cc8a409281296aba391797c227571bc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" |