diff options
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 |