commit python-sievelib for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package python-sievelib for openSUSE:Factory 
checked in at 2018-05-29 16:52:04

Comparing /work/SRC/openSUSE:Factory/python-sievelib (Old)
 and  /work/SRC/openSUSE:Factory/.python-sievelib.new (New)


Package is "python-sievelib"

Tue May 29 16:52:04 2018 rev:3 rq:612676 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-sievelib/python-sievelib.changes  
2016-02-17 12:23:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-sievelib.new/python-sievelib.changes 
2018-05-29 16:52:05.312229742 +0200
@@ -1,0 +2,18 @@
+Mon May 28 14:38:41 UTC 2018 - mc...@suse.com
+
+- clean up SPEC file
+- allow installation with spectools in openSUSE repo
+fix_pip_version.patch
+- upgrade to 1.1.1:
+* Various minor clean up
+* added support for RFC3894.
+* added tests
+* Python 3 compatibility
+* provide support for non-IPv4 connections
+
+---
+Thu Aug 24 13:54:39 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -24,0 +43 @@
+

Old:

  sievelib-0.9.2.tar.gz

New:

  fix_pip_version.patch
  sievelib-1.1.1.tar.gz



Other differences:
--
++ python-sievelib.spec ++
--- /var/tmp/diff_new_pack.0cRCSV/_old  2018-05-29 16:52:06.308193098 +0200
+++ /var/tmp/diff_new_pack.0cRCSV/_new  2018-05-29 16:52:06.312192951 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package python-sievelib
 #
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2016 Aeneas Jaissle 
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,24 +18,24 @@
 
 
 %define modname sievelib
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-%{modname}
-Version:0.9.2
+Version:1.1.1
 Release:0
 Summary:Client-side Sieve and Managesieve library written in Python
 License:MIT
 Group:  Development/Languages/Python
-
-Url:https://pypi.python.org/pypi/sievelib
-Source: 
https://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz
-
-%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://pypi.python.org/pypi/sievelib
+Source: 
https://files.pythonhosted.org/packages/source/s/sievelib/%{modname}-%{version}.tar.gz
+Patch0: fix_pip_version.patch
+BuildRequires:  %{python_module future}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module six}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:  noarch
-%endif
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+%python_subpackages
 
 %description
 Client-side Sieve and Managesieve library written in Python.
@@ -43,16 +44,21 @@
 
 %prep
 %setup -q -n %{modname}-%{version}
+%patch0 -p1 
+sed -i -e '/^#!\/usr\/bin.*python/d' sievelib/parser.py
+chmod -x sievelib/parser.py
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
-%defattr(-,root,root,-)
-%doc COPYING README.rst
+%files %{python_files}
+%license COPYING
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog

++ fix_pip_version.patch ++
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,10 @@ from __future__ import unicode_literals
 
 import io
 from os import path
-from pip.req import parse_requirements
+try:  # for pip >= 10
+from pip._internal.req import parse_requirements
+except ImportError:
+from pip.req import parse_requirements
 from setuptools import setup, find_packages
 
 
++ sievelib-0.9.2.tar.gz -> sievelib-1.1.1.tar.gz ++
 2005 lines of diff (skipped)




commit python-sievelib for openSUSE:Factory

2016-02-17 Thread h_root
Hello community,

here is the log from the commit of package python-sievelib for openSUSE:Factory 
checked in at 2016-02-17 10:26:38

Comparing /work/SRC/openSUSE:Factory/python-sievelib (Old)
 and  /work/SRC/openSUSE:Factory/.python-sievelib.new (New)


Package is "python-sievelib"

Changes:

--- /work/SRC/openSUSE:Factory/python-sievelib/python-sievelib.changes  
2015-10-06 13:24:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-sievelib.new/python-sievelib.changes 
2016-02-17 12:23:14.0 +0100
@@ -1,0 +2,10 @@
+Tue Feb 16 08:55:04 UTC 2016 - a...@ajaissle.de
+
+- License now is explicitly MIT
+
+---
+Fri Feb  5 15:57:31 UTC 2016 - a...@ajaissle.de
+
+- Update to 0.9.2
+
+---

Old:

  sievelib-0.8.tar.gz

New:

  sievelib-0.9.2.tar.gz



Other differences:
--
++ python-sievelib.spec ++
--- /var/tmp/diff_new_pack.luWcnq/_old  2016-02-17 12:23:14.0 +0100
+++ /var/tmp/diff_new_pack.luWcnq/_new  2016-02-17 12:23:14.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sievelib
 #
-# Copyright (c) 2015 Aeneas Jaissle 
+# Copyright (c) 2016 Aeneas Jaissle 
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
 
 %define modname sievelib
 Name:   python-%{modname}
-Version:0.8
+Version:0.9.2
 Release:0
 Summary:Client-side Sieve and Managesieve library written in Python
-License:ISC
+License:MIT
 Group:  Development/Languages/Python
 
 Url:https://pypi.python.org/pypi/sievelib

++ sievelib-0.8.tar.gz -> sievelib-0.9.2.tar.gz ++
 2258 lines of diff (skipped)




commit python-sievelib for openSUSE:Factory

2015-10-06 Thread h_root
Hello community,

here is the log from the commit of package python-sievelib for openSUSE:Factory 
checked in at 2015-10-06 13:24:54

Comparing /work/SRC/openSUSE:Factory/python-sievelib (Old)
 and  /work/SRC/openSUSE:Factory/.python-sievelib.new (New)


Package is "python-sievelib"

Changes:

New Changes file:

--- /dev/null   2015-09-24 09:51:01.260026505 +0200
+++ /work/SRC/openSUSE:Factory/.python-sievelib.new/python-sievelib.changes 
2015-10-06 13:24:56.0 +0200
@@ -0,0 +1,15 @@
+---
+Tue Sep 29 12:04:50 UTC 2015 - a...@ajaissle.de
+
+- Fix license (PyPi says MIT, COPYING says ISC)
+
+---
+Thu Sep 17 11:31:30 UTC 2015 - a...@ajaissle.de
+
+- Spec cleanup
+
+---
+Wed Apr  1 11:44:09 UTC 2015 - a...@ajaissle.de
+
+- Initial package, sievelib v0.8
+

New:

  python-sievelib.changes
  python-sievelib.spec
  sievelib-0.8.tar.gz



Other differences:
--
++ python-sievelib.spec ++
#
# spec file for package python-sievelib
#
# Copyright (c) 2015 Aeneas Jaissle 
#
# 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 http://bugs.opensuse.org/
#


%define modname sievelib
Name:   python-%{modname}
Version:0.8
Release:0
Summary:Client-side Sieve and Managesieve library written in Python
License:ISC
Group:  Development/Languages/Python

Url:https://pypi.python.org/pypi/sievelib
Source: 
https://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz

%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
BuildArch:  noarch
%endif
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
BuildRequires:  python-setuptools

%description
Client-side Sieve and Managesieve library written in Python.
* Sieve: An Email Filtering Language (RFC 5228)
* ManageSieve: A Protocol for Remotely Managing Sieve Scripts (RFC 5804)

%prep
%setup -q -n %{modname}-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root,-)
%doc COPYING README.rst
%{python_sitelib}/*

%changelog