Hello community,

here is the log from the commit of package python-dkimpy for openSUSE:Leap:15.2 
checked in at 2020-03-16 12:20:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-dkimpy (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-dkimpy.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dkimpy"

Mon Mar 16 12:20:36 2020 rev:1 rq:766842 version:0.9.3

Changes:
--------
New Changes file:

--- /dev/null   2020-03-10 18:28:06.918142398 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-dkimpy.new.3160/python-dkimpy.changes  
2020-03-16 12:20:36.659704136 +0100
@@ -0,0 +1,23 @@
+-------------------------------------------------------------------
+Mon Dec  2 10:47:11 UTC 2019 - pgaj...@suse.com
+
+- call spec-cleaner
+
+-------------------------------------------------------------------
+Wed Sep 25 14:24:39 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Drop the pynacl workaround as fix was submitted to the TW
+  integration
+
+-------------------------------------------------------------------
+Wed Sep 25 11:55:29 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Add patch to not optionaly import stuff, as it hides import
+  errors and we want those to be hard enabled anyway:
+  * no-optional.patch
+
+-------------------------------------------------------------------
+Wed Sep 25 09:07:37 UTC 2019 - pgaj...@suse.com
+
+- initial version 0.9.3, required by pyton-authheaders [SLE-7686]
+

New:
----
  LICENSE
  dkimpy-0.9.3.tar.gz
  no-optional.patch
  python-dkimpy.changes
  python-dkimpy.spec

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

Other differences:
------------------
++++++ python-dkimpy.spec ++++++
#
# spec file for package python-dkimpy
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

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


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name:           python-dkimpy
Version:        0.9.3
Release:        0
Summary:        DKIM (DomainKeys Identified Mail)
License:        BSD-2-Clause
URL:            https://launchpad.net/dkimpy
Source:         
https://files.pythonhosted.org/packages/source/d/dkimpy/dkimpy-%{version}.tar.gz
Source99:       https://git.launchpad.net/dkimpy/plain/LICENSE
Patch0:         no-optional.patch
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:       python-PyNaCl
Requires:       python-authres
Requires:       python-dnspython
Requires:       python-setuptools
BuildArch:      noarch
# SECTION test requirements
BuildRequires:  %{python_module PyNaCl}
BuildRequires:  %{python_module authres}
BuildRequires:  %{python_module dnspython}
BuildRequires:  %{python_module pytest}
# /SECTION
%python_subpackages

%description
DKIM (DomainKeys Identified Mail)

%prep
%setup -q -n dkimpy-%{version}
%patch0 -p1

cp %{SOURCE99} .

%build
cp %{SOURCE99} .
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}

%check
%pytest

%files %{python_files}
%doc ChangeLog README
%license LICENSE
%python3_only %{_bindir}/arcsign
%python3_only %{_bindir}/arcverify
%python3_only %{_bindir}/dkimsign
%python3_only %{_bindir}/dkimverify
%python3_only %{_bindir}/dknewkey
%{python_sitelib}/*
%python3_only %{_mandir}/man1/*.1*

%changelog
++++++ LICENSE ++++++
This software is provided 'as-is', without any express or implied
warranty.  In no event will the author be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
   claim that you wrote the original software. If you use this software
   in a product, an acknowledgment in the product documentation would be
   appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
   misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

Copyright (c) 2008 Greg Hewgill http://hewgill.com
See individual files for information about modification to these files and
additional copyright information.
++++++ no-optional.patch ++++++
Index: dkimpy-0.9.3/dkim/__init__.py
===================================================================
--- dkimpy-0.9.3.orig/dkim/__init__.py
+++ dkimpy-0.9.3/dkim/__init__.py
@@ -38,18 +38,9 @@ import logging
 import re
 import time
 
-# only needed for arc
-try:
-    from authres import AuthenticationResultsHeader
-except ImportError:
-    pass
-
-# only needed for ed25519 signing/verification
-try:
-    import nacl.signing
-    import nacl.encoding
-except ImportError:
-    pass
+from authres import AuthenticationResultsHeader
+import nacl.signing
+import nacl.encoding
 
 from dkim.canonicalization import (
     CanonicalizationPolicy,

Reply via email to