diff --git a/pykeepass-3.2.1.tar.gz b/pykeepass-3.2.1.tar.gz deleted file mode 100644 index fe74aaa..0000000 --- a/pykeepass-3.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dba1b2ba02dc5e7046b9797a1628154f87295dbfc358de66ec1419a87ce2635b -size 69637 diff --git a/pykeepass-4.0.0.tar.gz b/pykeepass-4.0.0.tar.gz new file mode 100644 index 0000000..629abf4 --- /dev/null +++ b/pykeepass-4.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5134724ecb3ff4a0e7aedcd5a0377f3152d105d542067ee12c6bc20418682ac8 +size 88720 diff --git a/python-pykeepass-fix-version.patch b/python-pykeepass-fix-version.patch new file mode 100644 index 0000000..1611831 --- /dev/null +++ b/python-pykeepass-fix-version.patch @@ -0,0 +1,9 @@ +Index: pykeepass-4.0.0/pykeepass/version.py +=================================================================== +--- pykeepass-4.0.0.orig/pykeepass/version.py ++++ pykeepass-4.0.0/pykeepass/version.py +@@ -1,3 +1,3 @@ +-__version__ = "3.2.1" ++__version__ = "4.0.0" + + __all__= ["__version__"] diff --git a/python-pykeepass.changes b/python-pykeepass.changes index 3c833ad..5acccd1 100644 --- a/python-pykeepass.changes +++ b/python-pykeepass.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Feb 15 23:16:12 UTC 2021 - Atri Bhattacharya + +- Update to version 4.0.0: + * Paths changed from strings to lists. + * Added PyKeePass.recyclebin_group. + * Added PyKeePass.trash_group(). + * Added PyKeePass.trash_entry(). + * Added PyKeePass.empty_group(). + * Support reading/saving from streams. + * Fixed PyKeePass.dump_xml() pretty printing. + * Fixed gh#libkeepass/pykeepass#212 - properly pad encrypted + payload. + * Fixed gh#libkeepass/pykeepass#222 - corrected transform_rounds + field length. +- Add python-pykeepass-fix-version.patch: Fix version so that + egg-infos don't end up with the wrong version; patch taken from + upstream commit. +- Update URL and Source URL to new github repository. + ------------------------------------------------------------------- Sat Aug 1 16:44:02 UTC 2020 - Atri Bhattacharya diff --git a/python-pykeepass.spec b/python-pykeepass.spec index f2f5672..c0d4e1a 100644 --- a/python-pykeepass.spec +++ b/python-pykeepass.spec @@ -1,7 +1,7 @@ # # spec file for package python-pykeepass # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pykeepass -Version: 3.2.1 +Version: 4.0.0 Release: 0 Summary: Low-level library to interact with keepass databases License: GPL-3.0-only Group: Development/Languages/Python -URL: https://github.com/pschmitt/pykeepass -Source: https://github.com/pschmitt/pykeepass/archive/%{version}.tar.gz#/pykeepass-%{version}.tar.gz +URL: https://github.com/libkeepass/pykeepass +Source: https://github.com/libkeepass/pykeepass/archive/%{version}.tar.gz#/pykeepass-%{version}.tar.gz +# PATCH-FIX-UPSTREAM python-pykeepass-fix-version.patch badshah400@gmail.com -- Fix version so that egg-infos don't end up with the wrong version; patch taken from upstream commit +Patch0: python-pykeepass-fix-version.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -51,7 +53,7 @@ BuildRequires: %{python_module python-dateutil} This library allows you to write entries to a KeePass database %prep -%setup -q -n pykeepass-%{version} +%autosetup -p1 -n pykeepass-%{version} sed -i '1{/^#!.*env python/d}' pykeepass/pykeepass.py pykeepass/kdbx_parsing/kdbx*.py %build