diff options
author | isaackwy | 2024-02-29 21:27:41 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2024-03-01 09:51:03 +0100 |
commit | 0f58fb36a29393ad6f3b258b34e31709eceac499 (patch) | |
tree | 23bea3e776f2788861f396106d9df7fb2ac9e01e /python | |
parent | 31f105cbd4babc919c5f6314f7f8beeb345f874c (diff) | |
download | slackbuilds-0f58fb36a29393ad6f3b258b34e31709eceac499.tar.gz |
python/python3-pykeepass: Update for 4.0.7
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-pykeepass/python3-pykeepass.SlackBuild | 23 | ||||
-rw-r--r-- | python/python3-pykeepass/python3-pykeepass.info | 8 |
2 files changed, 10 insertions, 21 deletions
diff --git a/python/python3-pykeepass/python3-pykeepass.SlackBuild b/python/python3-pykeepass/python3-pykeepass.SlackBuild index 79981d2541..6b0239e9ac 100644 --- a/python/python3-pykeepass/python3-pykeepass.SlackBuild +++ b/python/python3-pykeepass/python3-pykeepass.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pykeepass -VERSION=${VERSION:-4.0.6} +VERSION=${VERSION:-4.0.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -78,13 +64,16 @@ 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 +export PYTHONPATH=/opt/python3.9/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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG.rst LICENSE README.rst requirements*.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-pykeepass/python3-pykeepass.info b/python/python3-pykeepass/python3-pykeepass.info index a55b763c76..ac3064cb40 100644 --- a/python/python3-pykeepass/python3-pykeepass.info +++ b/python/python3-pykeepass/python3-pykeepass.info @@ -1,10 +1,10 @@ PRGNAM="python3-pykeepass" -VERSION="4.0.6" +VERSION="4.0.7" HOMEPAGE="https://github.com/libkeepass/pykeepass" -DOWNLOAD="https://github.com/libkeepass/pykeepass/archive/v4.0.6/pykeepass-4.0.6.tar.gz" -MD5SUM="fd2114170c85b3d5a1610506ddf792f4" +DOWNLOAD="https://github.com/libkeepass/pykeepass/archive/v4.0.7/pykeepass-4.0.7.tar.gz" +MD5SUM="5f5aa9ac74ada7779385d65dc375279e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="argon2-cffi python3-construct python3-dateutil python3-lxml pycryptodomex" +REQUIRES="argon2-cffi python3-construct python3-lxml python3-setuptools-opt pycryptodomex" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" |