Hello community,
here is the log from the commit of package python-managesieve for
openSUSE:Leap:15.2 checked in at 2020-03-09 18:08:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-managesieve (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-managesieve.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-managesieve"
Mon Mar 9 18:08:23 2020 rev:11 rq:776772 version:0.6
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-managesieve/python-managesieve.changes
2020-01-15 15:49:58.579478669 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-managesieve.new.26092/python-managesieve.changes
2020-03-09 18:08:24.496942255 +0100
@@ -1,0 +2,56 @@
+Wed Feb 20 09:21:33 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Add conflict with perl-Cyrus-SIEVE-managesieve which
+ provides the same binary
+
+-------------------------------------------------------------------
+Fri Dec 14 16:22:31 UTC 2018 - Marcus Rueckert <[email protected]>
+
+- update to version 0.6 (boo#1119567)
+ - general
+ - Add support for Python 3. Minimum required Python version is
+ now Python 2.7.
+ - Documentation is extended and includes API documentation.
+ - sieveshell
+ - Security fix: No longer leak environment variable
+ SIEVE_PASSWORD when displaying usage help.
+ - Per default enforce secure transport. Suggested by Jan
+ Zerebecki.
+ - Add possibility to use username/password from the .netrc
+ file. The order is: command line options -> environment
+ variables -> .netrc file -> ask user. Thanks to Grégoire
+ Détrez.
+ - managesieve
+ - Fail if TLS is requested, but server doesn't support TLS.
+ Suggested by Jan Zerebecki.
+ - project
+ - Rework and enhance test-suite. Thanks to Matěj Cepl for
+ nudging to proper pytest integration.
+ - Lots if internal cleanup.
+- drop python-managesieve-remove-ez_setup.patch
+- enable python3 support
+ - unversioned script will be in the python3 package
+- use gitlab tarball
+
+-------------------------------------------------------------------
+Wed Aug 29 08:26:46 UTC 2018 - [email protected]
+
+- Make sure to pull in full python with SSL support on python2
+
+-------------------------------------------------------------------
+Fri Jun 15 21:26:46 UTC 2018 - [email protected]
+
+- Doesn't need python-devel at build time.
+
+-------------------------------------------------------------------
+Mon May 28 16:36:47 UTC 2018 - [email protected]
+
+- Clean SPEC with spec-cleaner (unfortunately py3k still switched off)
+- Enable tests
+
+-------------------------------------------------------------------
+Thu Aug 24 13:45:12 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -92,0 +149 @@
+
Old:
----
managesieve-0.5.tar.bz2
python-managesieve-remove-ez_setup.patch
New:
----
managesieve-v0.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-managesieve.spec ++++++
--- /var/tmp/diff_new_pack.tIPAGk/_old 2020-03-09 18:08:25.156943200 +0100
+++ /var/tmp/diff_new_pack.tIPAGk/_new 2020-03-09 18:08:25.156943200 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-managesieve
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
@@ -13,53 +13,55 @@
# 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/
#
%define oname managesieve
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-managesieve
-Version: 0.5
+Version: 0.6
Release: 0
Summary: Python Module Implementing the ManageSieve Protocol
-License: GPL-3.0+ and Python-2.0
+License: GPL-3.0-or-later AND Python-2.0
Group: Development/Libraries/Python
-Url: https://pythonhosted.org/managesieve/
-Source:
https://pypi.python.org/packages/source/m/managesieve/managesieve-%{version}.tar.bz2
-# PATCH-FIX-OPENSUSE python-managesieve-remove-ez_setup.patch
[email protected] -- Remove unnecessary ez_setup usage
-Patch0: python-managesieve-remove-ez_setup.patch
-BuildRequires: python-devel
-BuildRequires: python-setuptools
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+URL: https://managesieve.readthedocs.io/
+Source:
https://gitlab.com/htgoebel/managesieve/-/archive/v%{version}/managesieve-v%{version}.tar.bz2
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module pytest-runner}
+BuildRequires: %{python_module setuptools}
+BuildRequires: python-rpm-macros
+# provides same binary: /usr/bin/sieveshell
+Conflicts: perl-Cyrus-SIEVE-managesieve
BuildArch: noarch
-%endif
+%python_subpackages
%description
python-managesieve is a Python module implementing the ManageSieve client
protocol. It also includes an user application (the interactive sieveshell).
%prep
-%setup -q -n %{oname}-%{version}
-%patch0 -p1
+%setup -q -n %{oname}-v%{version}
+touch test/__init__.py
# Fix URL
sed -i 's|http://packages.python.org/managesieve|%{url}|' setup.py
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_clone %{buildroot}%{_bindir}/sieveshell
-%files
-%defattr(-,root,root,-)
+%check
+%python_exec setup.py test -v
+
+%files %{python_files}
%doc README.txt
-%{_bindir}/sieveshell
-%{python_sitelib}/%{oname}.*
-%{python_sitelib}/%{oname}-%{version}-py%{py_ver}.egg-info
+%{_bindir}/sieveshell-%{python_bin_suffix}
+%python3_only %{_bindir}/sieveshell
+%{python_sitelib}/*
%changelog