17
0

Accepting request 1164098 from home:rrahl0:branches:security

- Update to 4.0.7:
  * PyKeePass has decrypt kwarg for accessing header info
  * added Entry.index and Entry.move for moving entries
  * added Entry.autotype_window setter
  * allow filename/keyfile to be file-like objects
  * drop dateutil dependency
  * switch to pyproject.toml
- add fix-test.patch for fixing an issue with
  missing pykeepass.kdbx_parsing

OBS-URL: https://build.opensuse.org/request/show/1164098
OBS-URL: https://build.opensuse.org/package/show/security/python-pykeepass?expand=0&rev=26
This commit is contained in:
2024-04-02 12:45:12 +00:00
committed by Git OBS Bridge
parent 7f66e51f83
commit 449b1afa30
5 changed files with 44 additions and 7 deletions

View File

@@ -0,0 +1,23 @@
From 4c8a1cc358e6ba24d9cb598963229f4999d6c70b Mon Sep 17 00:00:00 2001
From: Ben Beasley <code@musicinmybrain.net>
Date: Sun, 10 Mar 2024 21:23:26 -0400
Subject: [PATCH] Fix missing pykeepass.kdbx_parsing when built with modern
tools (#378)
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 6bd7fad..437003c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -37,7 +37,7 @@ Issues = "https://github.com/libkeepass/pykeepass/issues"
Changelog = "https://github.com/libkeepass/pykeepass/blob/master/CHANGELOG.rst"
[tool.setuptools]
-packages = ["pykeepass"]
+packages = ["pykeepass", "pykeepass.kdbx_parsing"]
include-package-data = true
[build-system]

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05c486145a075a328f08677d47fe3bc3f587b325b7832719b6ee226a2c0f57ee
size 103092

3
pykeepass-4.0.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1c8bba7314a8aff196dbb3c2bcbde6dfa64008f4e67637f06d5139d13095cfe
size 110217

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Mar 27 06:34:37 UTC 2024 - Richard Rahl <rrahl0@proton.me>
- Update to 4.0.7:
* PyKeePass has decrypt kwarg for accessing header info
* added Entry.index and Entry.move for moving entries
* added Entry.autotype_window setter
* allow filename/keyfile to be file-like objects
* drop dateutil dependency
* switch to pyproject.toml
- add fix-test.patch for fixing an issue with
missing pykeepass.kdbx_parsing
-------------------------------------------------------------------
Tue Sep 5 04:58:15 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pykeepass
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,17 @@
Name: python-pykeepass
Version: 4.0.6
Version: 4.0.7
Release: 0
Summary: Low-level library to interact with keepass databases
License: GPL-3.0-only
URL: https://github.com/libkeepass/pykeepass
Source: https://github.com/libkeepass/pykeepass/archive/refs/tags/v%{version}.tar.gz#/pykeepass-%{version}.tar.gz
#Patch-Upstream: One test asks for module pykeepass.kdbx_parsing, which doesn't exist yet
Patch0: https://github.com/libkeepass/pykeepass/commit/4c8a1cc358e6ba24d9cb598963229f4999d6c70b.patch#/fix-upstream-test-case.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyotp}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
@@ -33,7 +36,6 @@ Requires: python-argon2-cffi >= 20.1.0
Requires: python-construct >= 2.10.54
Requires: python-lxml >= 4.6.1
Requires: python-pycryptodomex >= 3.10.1
Requires: python-python-dateutil
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module argon2-cffi >= 20.1.0}
@@ -41,7 +43,6 @@ BuildRequires: %{python_module construct >= 2.10.54}
BuildRequires: %{python_module lxml >= 4.6.1}
BuildRequires: %{python_module pycryptodomex >= 3.10.1}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil}
# /SECTION
%python_subpackages