python3-pykeepass: update to 4.1.1.pl1.

This commit is contained in:
Duncaen
2026-04-21 18:04:05 +02:00
parent ff903975ec
commit 0f1b8f1f5d
2 changed files with 7 additions and 35 deletions
@@ -1,28 +0,0 @@
From fcabf9640d0426d01411681d7d1b74db6f3292e0 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Thu, 11 Feb 2021 02:14:36 +0100
Subject: [PATCH] fix big endian support
---
pykeepass/kdbx_parsing/pytwofish.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git pykeepass/kdbx_parsing/pytwofish.py pykeepass/kdbx_parsing/pytwofish.py
index 7cea419..4749d72 100644
--- a/pykeepass/kdbx_parsing/pytwofish.py
+++ b/pykeepass/kdbx_parsing/pytwofish.py
@@ -140,8 +140,9 @@ import struct
import sys
WORD_BIGENDIAN = 0
-if sys.byteorder == 'big':
- WORD_BIGENDIAN = 1
+# this actually breaks the implementation
+#if sys.byteorder == 'big':
+# WORD_BIGENDIAN = 1
def rotr32(x, n):
return (x >> n) | ((x << (32 - n)) & 0xFFFFFFFF)
--
2.30.0
+7 -7
View File
@@ -1,16 +1,16 @@
# Template file for 'python3-pykeepass'
pkgname=python3-pykeepass
version=4.0.3
revision=4
build_style=python3-module
version=4.1.1.pl1
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3-dateutil python3-argon2 python3-construct python3-lxml
python3-pycryptodomex python3-future"
depends="python3-argon2 python3-construct python3-lxml python3-pyotp
python3-pycryptodomex"
checkdepends="$depends"
short_desc="Python3 library to interact with keepass databases"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/libkeepass/pykeepass"
changelog="https://raw.githubusercontent.com/libkeepass/pykeepass/master/CHANGELOG.rst"
distfiles="https://github.com/libkeepass/pykeepass/archive/refs/tags/v${version}.tar.gz"
checksum=c8f655c53af1cd339abd3d6588bcddb9ac869572e141e026352ae9fc8541ba64
distfiles="https://github.com/libkeepass/pykeepass/archive/refs/tags/v${version/pl/post}.tar.gz"
checksum=f377b2efd79e892450d099d6e142f86d4789dd5a61a2bbc36b441b2ad5ad2496