diff options
author | Giancarlo Dessì <slack@giand.it> | 2023-10-29 09:39:21 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-04 16:39:13 +0700 |
commit | e220e0c63c270150c92d514603e095669c7e2c7f (patch) | |
tree | 1f6fe5726af3777737cf537a643c9f9ef28fe5c4 /python/cloudpickle | |
parent | 80fddc7d871fac3c6653f01c2712265ff15b23a5 (diff) |
python/cloudpickle: Updated for version 3.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/cloudpickle')
-rw-r--r-- | python/cloudpickle/README | 2 | ||||
-rw-r--r-- | python/cloudpickle/cloudpickle.SlackBuild | 9 | ||||
-rw-r--r-- | python/cloudpickle/cloudpickle.info | 8 |
3 files changed, 11 insertions, 8 deletions
diff --git a/python/cloudpickle/README b/python/cloudpickle/README index 6feb3ec2d4c7..c41571e7e79d 100644 --- a/python/cloudpickle/README +++ b/python/cloudpickle/README @@ -1,3 +1,5 @@ cloudpickle is an extended pickling support for Python objects. It makes possible to serialize Python constructs not supported by the default pickle module from the Python standard library. + +python3-build and python3-installer are build-only dependencies. diff --git a/python/cloudpickle/cloudpickle.SlackBuild b/python/cloudpickle/cloudpickle.SlackBuild index 7b76158e8ded..468b653ea540 100644 --- a/python/cloudpickle/cloudpickle.SlackBuild +++ b/python/cloudpickle/cloudpickle.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cloudpickle -# Copyright 2020-2022 Giancarlo Dessì, Cagliari, IT +# Copyright 2020-2023 Giancarlo Dessì, Cagliari, IT # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cloudpickle -VERSION=${VERSION:-2.2.1} +VERSION=${VERSION:-3.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,13 +76,14 @@ 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 +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE PKG-INFO MANIFEST.in README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE MANIFEST.in README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/cloudpickle/cloudpickle.info b/python/cloudpickle/cloudpickle.info index a25c49289a46..f6f96f593317 100644 --- a/python/cloudpickle/cloudpickle.info +++ b/python/cloudpickle/cloudpickle.info @@ -1,10 +1,10 @@ PRGNAM="cloudpickle" -VERSION="2.2.1" +VERSION="3.0.0" HOMEPAGE="https://pypi.org/project/cloudpickle/" -DOWNLOAD="https://files.pythonhosted.org/packages/5f/51/913ecca3970a2227cf4d5e8937df52cc28f465ac442216110b8e3323262d/cloudpickle-2.2.1.tar.gz" -MD5SUM="640430615bdb68e1900bc26b84fad967" +DOWNLOAD="https://github.com/cloudpipe/cloudpickle/archive/v3.0.0/cloudpickle-3.0.0.tar.gz" +MD5SUM="933d7b20d6db215217dbd8c520d84870" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-build python3-installer" MAINTAINER="Giancarlo Dessì" EMAIL="slack@giand.it" |