diff options
| author | isaackwy <isaacyu@protonmail.com> | 2024-03-09 23:32:56 -0800 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-11 06:48:23 +0700 |
| commit | 009c49589996321c095565ca17fe0eb9b0688d61 (patch) | |
| tree | 9a1366e53a262b51f3f4f835b019845b987164b4 /python/python3-pykeepass/python3-pykeepass.SlackBuild | |
| parent | 13c7df01db950ff5ca0638740b512c1464e6bcc2 (diff) | |
python/python3-pykeepass: Fix missing kdbx_parsing submodule, +use built-in isoformat support
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-pykeepass/python3-pykeepass.SlackBuild')
| -rw-r--r-- | python/python3-pykeepass/python3-pykeepass.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/python/python3-pykeepass/python3-pykeepass.SlackBuild b/python/python3-pykeepass/python3-pykeepass.SlackBuild index 347863ac37..a5a0d11d14 100644 --- a/python/python3-pykeepass/python3-pykeepass.SlackBuild +++ b/python/python3-pykeepass/python3-pykeepass.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pykeepass VERSION=${VERSION:-4.0.7} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,6 +64,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 {} \; +# Fix missing pykeepass.kdbx_parsing when built with modern tools +# https://github.com/libkeepass/pykeepass/pull/378 +patch -p1 < $CWD/fix_missing_pykeepass_kdbx_parsing.patch + +# Use built-in isoformat support +# https://github.com/libkeepass/pykeepass/pull/383 +patch -p1 < $CWD/use_built_in_isoformat_support.patch + export PYTHONPATH=/opt/python3.9/site-packages/ python3 -m build --no-isolation |
