From 7f66e51f8330d24e349d0c2f88694cd562270e229c1869652b564c37b9eb9048 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Tue, 5 Sep 2023 09:59:08 +0000 Subject: [PATCH] Accepting request 1108971 from home:StevenK:branches:security - Update to 4.0.6: * fixed #350 - fixed all Python 2 deprecation FIXMEs (e.g. future, ) - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1108971 OBS-URL: https://build.opensuse.org/package/show/security/python-pykeepass?expand=0&rev=24 --- pykeepass-4.0.5.tar.gz | 3 --- pykeepass-4.0.6.tar.gz | 3 +++ python-pykeepass.changes | 7 +++++++ python-pykeepass.spec | 13 ++++++------- 4 files changed, 16 insertions(+), 10 deletions(-) delete mode 100644 pykeepass-4.0.5.tar.gz create mode 100644 pykeepass-4.0.6.tar.gz diff --git a/pykeepass-4.0.5.tar.gz b/pykeepass-4.0.5.tar.gz deleted file mode 100644 index 5c259bc..0000000 --- a/pykeepass-4.0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6774b3584990bbf3391d0d5649a4a25756886990cc7cd2d7f2a91b7602881d61 -size 103272 diff --git a/pykeepass-4.0.6.tar.gz b/pykeepass-4.0.6.tar.gz new file mode 100644 index 0000000..b278cc5 --- /dev/null +++ b/pykeepass-4.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05c486145a075a328f08677d47fe3bc3f587b325b7832719b6ee226a2c0f57ee +size 103092 diff --git a/python-pykeepass.changes b/python-pykeepass.changes index e67ab35..322911d 100644 --- a/python-pykeepass.changes +++ b/python-pykeepass.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Sep 5 04:58:15 UTC 2023 - Steve Kowalik + +- Update to 4.0.6: + * fixed #350 - fixed all Python 2 deprecation FIXMEs (e.g. future, ) +- Switch to pyproject macros. + ------------------------------------------------------------------- Sat Jun 10 16:42:35 UTC 2023 - Atri Bhattacharya diff --git a/python-pykeepass.spec b/python-pykeepass.spec index 7f97273..668fbed 100644 --- a/python-pykeepass.spec +++ b/python-pykeepass.spec @@ -17,20 +17,20 @@ Name: python-pykeepass -Version: 4.0.5 +Version: 4.0.6 Release: 0 Summary: Low-level library to interact with keepass databases License: GPL-3.0-only -Group: Development/Languages/Python URL: https://github.com/libkeepass/pykeepass Source: https://github.com/libkeepass/pykeepass/archive/refs/tags/v%{version}.tar.gz#/pykeepass-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-argon2-cffi >= 20.1.0 Requires: python-construct >= 2.10.54 -Requires: python-future Requires: python-lxml >= 4.6.1 Requires: python-pycryptodomex >= 3.10.1 Requires: python-python-dateutil @@ -38,7 +38,6 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module argon2-cffi >= 20.1.0} BuildRequires: %{python_module construct >= 2.10.54} -BuildRequires: %{python_module future} BuildRequires: %{python_module lxml >= 4.6.1} BuildRequires: %{python_module pycryptodomex >= 3.10.1} BuildRequires: %{python_module pytest} @@ -54,10 +53,10 @@ This library allows you to write entries to a KeePass database sed -i '1{/^#!.*env python/d}' pykeepass/{pykeepass,deprecated,kdbx_parsing/kdbx*}.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -69,6 +68,6 @@ export PYTHONDONTWRITEBYTECODE=1 %license LICENSE %doc README.rst %{python_sitelib}/pykeepass/ -%{python_sitelib}/pykeepass-%{version}-py%{python_version}.egg-info/ +%{python_sitelib}/pykeepass-%{version}.dist-info/ %changelog