Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit python-pykeepass for openSUSE:Factory
Hello community,

here is the log from the commit of package python-pykeepass for
openSUSE:Factory checked in at 2019-04-03 09:28:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pykeepass (Old)
and /work/SRC/openSUSE:Factory/.python-pykeepass.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pykeepass"

Wed Apr 3 09:28:25 2019 rev:2 rq:690678 version:3.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pykeepass/python-pykeepass.changes
2018-11-15 12:38:30.270377010 +0100
+++
/work/SRC/openSUSE:Factory/.python-pykeepass.new.25356/python-pykeepass.changes
2019-04-03 09:28:26.851827461 +0200
@@ -1,0 +2,30 @@
+Tue Apr 2 08:51:29 UTC 2019 - Tomáš Chvátal <tchvatal@xxxxxxxx>
+
+- Fix argon2_cffi -> argon2-cffi dependency name
+
+-------------------------------------------------------------------
+Tue Mar 19 15:59:48 UTC 2019 - John Vandenberg <jayvdb@xxxxxxxxx>
+
+- Add minimum version python-construct >= 2.9.31
+
+-------------------------------------------------------------------
+Tue Mar 19 04:56:36 UTC 2019 - John Vandenberg <jayvdb@xxxxxxxxx>
+
+- Activate test suite on Python 3 using GitHub archive.
+ Currently failing on Python 2
+- Add missing runtime dependencies
+- Add %license
+- Update to v3.0.3
+ * Python 3.7 support
+ * Autotype support
+ * Fix "object has no attribute" issue in save_history
+ * Fix datetime comparison when there is no tzinfo and autotype sequence
+ * Added new Attachment object (see README.rst for usage)
+ * Moved the xpath strings into xpath.py
+ * Added exceptions.py
+ * Fix entry.parentgroup doesn't work for history entries
+ * Move first and history into _xpath
+ * Use UUID instead of (name, title, password, ...) when comparing objects
+ * Notes is a reserved key
+
+-------------------------------------------------------------------

Old:
----
pykeepass-3.0.2.tar.gz

New:
----
pykeepass-3.0.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pykeepass.spec ++++++
--- /var/tmp/diff_new_pack.6xzEoQ/_old 2019-04-03 09:28:27.347827695 +0200
+++ /var/tmp/diff_new_pack.6xzEoQ/_new 2019-04-03 09:28:27.347827695 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pykeepass
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,61 +12,62 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pykeepass
-Version: 3.0.2
+Version: 3.0.3
Release: 0
-License: GPL-3.0
Summary: Low-level library to interact with keepass databases
-Url: https://github.com/pschmitt/pykeepass
+License: GPL-3.0-only
Group: Development/Languages/Python
-Source:
https://files.pythonhosted.org/packages/source/p/pykeepass/pykeepass-%{version}.tar.gz
-BuildRequires: python-rpm-macros
+URL: https://github.com/pschmitt/pykeepass
+Source:
https://github.com/pschmitt/pykeepass/archive/%{version}.tar.gz#/pykeepass-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
-# SECTION test requirements
-BuildRequires: %{python_module easypysmb}
-BuildRequires: %{python_module python-dateutil}
-# /SECTION
BuildRequires: fdupes
-Requires: python-easypysmb
+BuildRequires: python-rpm-macros
+Requires: python-argon2-cffi
+Requires: python-construct >= 2.9.31
+Requires: python-future
+Requires: python-lxml
+Requires: python-pycryptodome
Requires: python-python-dateutil
BuildArch: noarch
-
+# SECTION test requirements
+BuildRequires: %{python_module argon2-cffi}
+BuildRequires: %{python_module construct >= 2.9.31}
+BuildRequires: %{python_module future}
+BuildRequires: %{python_module lxml}
+BuildRequires: %{python_module pycryptodome}
+BuildRequires: %{python_module python-dateutil}
+# /SECTION
%python_subpackages

%description
This library allows you to write entries to a KeePass database

-
%prep
%setup -q -n pykeepass-%{version}
+sed -i '1{/^#!.*env python/d}' pykeepass/pykeepass.py
pykeepass/kdbx_parsing/kdbx*.py

%build
%python_build

%install
%python_install
-%{python_expand # Remove hashbangs from a non-exec file
-sed -Ei "1{/^#!\/usr\/bin\/env python/d}"
%{buildroot}%{$python_sitelib}/pykeepass/pykeepass.py
-sed -Ei "1{/^#!\/bin\/env python/d}"
%{buildroot}%{$python_sitelib}/pykeepass/kdbx_parsing/kdbx*.py
-}
-
-# Recompile to fix inconsitent mtime of object files with sources modified
post python_install step
-%py_compile %{buildroot}%{python_sitelib}/pykeepass/
-%py3_compile %{buildroot}%{python3_sitelib}/pykeepass/
-
-%{python_expand # Remove exec bits from files not in exec path
-chmod -x
%{buildroot}%{$python_sitelib}/pykeepass-%{version}-py%{$python_version}.egg-info/*.txt
-chmod -x
%{buildroot}%{$python_sitelib}/pykeepass-%{version}-py%{$python_version}.egg-info/PKG-INFO
-}
-
+%python_expand rm -r %{buildroot}%{$python_sitelib}/tests
%python_expand %fdupes %{buildroot}%{$python_sitelib}

+%check
+export PYTHONPATH=${PWD}
+# python2 seg faults after 65 successful tests
+python3 setup.py test
+
%files %{python_files}
+%license LICENSE
%doc README.rst
%{python_sitelib}/*


++++++ pykeepass-3.0.2.tar.gz -> pykeepass-3.0.3.tar.gz ++++++
++++ 2754 lines of diff (skipped)


< Previous Next >
This Thread
  • No further messages