commit python-imbox for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package python-imbox for openSUSE:Factory 
checked in at 2020-06-11 10:08:23

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


Package is "python-imbox"

Thu Jun 11 10:08:23 2020 rev:6 rq:813223 version:0.9.8

Changes:

--- /work/SRC/openSUSE:Factory/python-imbox/python-imbox.changes
2020-05-11 13:42:25.357255565 +0200
+++ /work/SRC/openSUSE:Factory/.python-imbox.new.3606/python-imbox.changes  
2020-06-11 10:09:00.859993701 +0200
@@ -1,0 +2,9 @@
+Wed Jun  3 11:09:51 UTC 2020 - Sebastian Wagner 
+
+- update to version 0.9.8:
+ - IMPROVEMENTS:
+ - Fix imbox.delete regression 
([#138](https://github.com/martinrusev/imbox/issues/138))
+ - Fixed handling for attachments with filenames longer than 76 characters 
([#186](https://github.com/martinrusev/imbox/pull/186)) -  Contributed by 
@nirdrabkin
+ - Improved character encoding detection 
([#184](https://github.com/martinrusev/imbox/pull/184)) -  Contributed by 
@py-radicz
+
+---

Old:

  imbox-0.9.7.tar.gz

New:

  imbox-0.9.8.tar.gz



Other differences:
--
++ python-imbox.spec ++
--- /var/tmp/diff_new_pack.yUNGmg/_old  2020-06-11 10:09:01.935997145 +0200
+++ /var/tmp/diff_new_pack.yUNGmg/_new  2020-06-11 10:09:01.939997158 +0200
@@ -19,17 +19,19 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-imbox
-Version:0.9.7
+Version:0.9.8
 Release:0
 Summary:Python IMAP for Human beings
 License:MIT
 Group:  Development/Languages/Python
 URL:https://github.com/martinrusev/imbox
 Source: 
https://files.pythonhosted.org/packages/source/i/imbox/imbox-%{version}.tar.gz
+BuildRequires:  %{python_module chardet}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-chardet
 %python_subpackages
 
 %description

++ imbox-0.9.7.tar.gz -> imbox-0.9.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imbox-0.9.7/CHANGELOG.md new/imbox-0.9.8/CHANGELOG.md
--- old/imbox-0.9.7/CHANGELOG.md2020-05-03 13:55:23.0 +0200
+++ new/imbox-0.9.8/CHANGELOG.md2020-06-02 20:22:34.0 +0200
@@ -1,3 +1,19 @@
+## 0.9.8 (02 June 2020)
+
+IMPROVEMENTS:
+
+* Fix imbox.delete regression 
([#138](https://github.com/martinrusev/imbox/issues/138))
+* Fixed handling for attachments with filenames longer than 76 characters 
([#186](https://github.com/martinrusev/imbox/pull/186)) -  Contributed by 
@nirdrabkin
+* Improved character encoding detection 
([#184](https://github.com/martinrusev/imbox/pull/184)) -  Contributed by 
@py-radicz
+
+## 0.9.7 (03 May 2020)
+
+IMPROVEMENTS:
+
+* Gmail: IMAP extension searches label and raw are not supported.
+* Searches in mail bodies and UID ranges are now supported.
+* Attachments have a Content-ID now (#174)
+
 ## 0.9.6 (14 August 2018)
 
 IMPROVEMENTS:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imbox-0.9.7/PKG-INFO new/imbox-0.9.8/PKG-INFO
--- old/imbox-0.9.7/PKG-INFO2020-05-03 13:59:43.632998700 +0200
+++ new/imbox-0.9.8/PKG-INFO2020-06-02 20:26:17.68474 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: imbox
-Version: 0.9.7
+Version: 0.9.8
 Summary: Python IMAP for Human beings
 Home-page: https://github.com/martinrusev/imbox
 Author: Martin Rusev
@@ -20,7 +20,7 @@
 Requirements
 
 
-Python (3.3, 3.4, 3.5, 3.6)
+Python (3.3, 3.4, 3.5, 3.6, 3.7)
 
 
 Installation
@@ -188,3 +188,4 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Requires-Python: >=3.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imbox-0.9.7/README.rst new/imbox-0.9.8/README.rst
--- old/imbox-0.9.7/README.rst  2020-05-03 13:55:23.0 +0200
+++ new/imbox-0.9.8/README.rst  2020-06-02 18:09:31.0 +0200
@@ -12,7 +12,7 @@
 Requirements
 
 
-Python (3.3, 3.4, 3.5, 3.6)
+Python (3.3, 3.4, 3.5, 3.6, 3.7)
 
 
 Installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imbox-0.9.7/imbox/__init__.py 
new/imbox-0.9.8/imbox/__init__.py
--- old/imbox-0.9.7/imbox/__init__.py   2020-05-03 13:56:27.0 +0200
+++ 

commit python-imbox for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package python-imbox for openSUSE:Factory 
checked in at 2020-05-11 13:42:18

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


Package is "python-imbox"

Mon May 11 13:42:18 2020 rev:5 rq:802507 version:0.9.7

Changes:

--- /work/SRC/openSUSE:Factory/python-imbox/python-imbox.changes
2018-09-03 10:36:34.884898680 +0200
+++ /work/SRC/openSUSE:Factory/.python-imbox.new.2738/python-imbox.changes  
2020-05-11 13:42:25.357255565 +0200
@@ -1,0 +2,8 @@
+Sun May  3 13:06:36 UTC 2020 - Sebastian Wagner 
+
+- update to version 0.9.7:
+ - Gmail: IMAP extension searches label and raw are not supported.
+ - Searches in mail bodies and UID ranges are now supported.
+ - Attachments have a Content-ID now (#174)
+
+---

Old:

  imbox-0.9.6.tar.gz

New:

  imbox-0.9.7.tar.gz



Other differences:
--
++ python-imbox.spec ++
--- /var/tmp/diff_new_pack.TCZ6dI/_old  2020-05-11 13:42:26.509258010 +0200
+++ /var/tmp/diff_new_pack.TCZ6dI/_new  2020-05-11 13:42:26.513258018 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-imbox
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,19 +12,19 @@
 # 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-%{**}}
 %define skip_python2 1
 Name:   python-imbox
-Version:0.9.6
+Version:0.9.7
 Release:0
 Summary:Python IMAP for Human beings
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/martinrusev/imbox
+URL:https://github.com/martinrusev/imbox
 Source: 
https://files.pythonhosted.org/packages/source/i/imbox/imbox-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}

++ imbox-0.9.6.tar.gz -> imbox-0.9.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imbox-0.9.6/CHANGELOG.md new/imbox-0.9.7/CHANGELOG.md
--- old/imbox-0.9.6/CHANGELOG.md2018-08-14 17:23:46.0 +0200
+++ new/imbox-0.9.7/CHANGELOG.md2020-05-03 13:55:23.0 +0200
@@ -1,4 +1,4 @@
-## 0.9.6 (16 August 2018)
+## 0.9.6 (14 August 2018)
 
 IMPROVEMENTS:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imbox-0.9.6/PKG-INFO new/imbox-0.9.7/PKG-INFO
--- old/imbox-0.9.6/PKG-INFO2018-08-14 17:26:01.0 +0200
+++ new/imbox-0.9.7/PKG-INFO2020-05-03 13:59:43.632998700 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: imbox
-Version: 0.9.6
+Version: 0.9.7
 Summary: Python IMAP for Human beings
 Home-page: https://github.com/martinrusev/imbox
 Author: Martin Rusev
@@ -84,9 +84,16 @@
 # Messages whose subjects contain a string
 inbox_messages_subject_christmas = 
imbox.messages(subject='Christmas')
 
+# Messages whose UID is greater than 1050
+inbox_messages_uids_greater_than_1050 = 
imbox.messages(uid__range='1050:*')
+
 # Messages from a specific folder
 messages_in_folder_social = imbox.messages(folder='Social')
 
+# Some of Gmail's IMAP Extensions are supported (label and 
raw):
+all_messages_with_an_attachment_from_martin = 
imbox.messages(folder='all', raw='from:mar...@amon.cx has:attachment')
+all_messages_labeled_finance = imbox.messages(folder='all', 
label='finance')
+
 for uid, message in all_inbox_messages:
 # Every message is an object with the following keys
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imbox-0.9.6/README.rst new/imbox-0.9.7/README.rst
--- old/imbox-0.9.6/README.rst  2018-08-14 17:22:47.0 +0200
+++ new/imbox-0.9.7/README.rst  2020-05-03 13:55:23.0 +0200
@@ -76,9 +76,16 @@
 # Messages whose subjects contain a string
 inbox_messages_subject_christmas = imbox.messages(subject='Christmas')
 
+# Messages whose UID is greater than 1050
+inbox_messages_uids_greater_than_1050 = 

commit python-imbox for openSUSE:Factory

2018-09-03 Thread root
Hello community,

here is the log from the commit of package python-imbox for openSUSE:Factory 
checked in at 2018-09-03 10:36:32

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


Package is "python-imbox"

Mon Sep  3 10:36:32 2018 rev:4 rq:632744 version:0.9.6

Changes:

--- /work/SRC/openSUSE:Factory/python-imbox/python-imbox.changes
2017-12-14 11:01:34.563760118 +0100
+++ /work/SRC/openSUSE:Factory/.python-imbox.new/python-imbox.changes   
2018-09-03 10:36:34.884898680 +0200
@@ -1,0 +2,9 @@
+Sun Aug 26 12:04:54 UTC 2018 - sebix+novell@sebix.at
+
+- update to 0.9.6:
+ * Vendors package, adding provider specific functionality 
([#139](https://github.com/martinrusev/imbox/pull/139)) -  Contributed by 
@zevaverbach
+ * Type hints for every method and function 
([#136](https://github.com/martinrusev/imbox/pull/136)) -  Contributed by 
@zevaverbach
+ * Move all code out of __init__.py and into a separate module 
([#130](https://github.com/martinrusev/imbox/pull/130)) - Contributed by 
@zevaverbach
+ * Enhance `messages' generator: 
([#129](https://github.com/martinrusev/imbox/pull/129)) - Contributed by 
@zevaverbach
+
+---

Old:

  imbox-0.9.5.tar.gz

New:

  imbox-0.9.6.tar.gz



Other differences:
--
++ python-imbox.spec ++
--- /var/tmp/diff_new_pack.VM6ODD/_old  2018-09-03 10:36:35.292899736 +0200
+++ /var/tmp/diff_new_pack.VM6ODD/_new  2018-09-03 10:36:35.296899747 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-imbox
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-imbox
-Version:0.9.5
+Version:0.9.6
 Release:0
 Summary:Python IMAP for Human beings
 License:MIT
@@ -46,7 +46,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
-%doc README.rst LICENSE
+%doc README.rst
+%license LICENSE
 %{python_sitelib}/*
 
 %changelog

++ imbox-0.9.5.tar.gz -> imbox-0.9.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imbox-0.9.5/CHANGELOG.md new/imbox-0.9.6/CHANGELOG.md
--- old/imbox-0.9.5/CHANGELOG.md2017-12-05 18:55:07.0 +0100
+++ new/imbox-0.9.6/CHANGELOG.md2018-08-14 17:23:46.0 +0200
@@ -1,22 +1,32 @@
+## 0.9.6 (16 August 2018)
+
+IMPROVEMENTS:
+
+ * Vendors package, adding provider specific functionality 
([#139](https://github.com/martinrusev/imbox/pull/139)) -  Contributed by 
@zevaverbach
+ * Type hints for every method and function 
([#136](https://github.com/martinrusev/imbox/pull/136)) -  Contributed by 
@zevaverbach
+ * Move all code out of __init__.py and into a separate module 
([#130](https://github.com/martinrusev/imbox/pull/130)) - Contributed by 
@zevaverbach
+ * Enhance `messages' generator: 
([#129](https://github.com/martinrusev/imbox/pull/129)) - Contributed by 
@zevaverbach
+
+
 ## 0.9.5 (5 December 2017)
 
 IMPROVEMENTS:
 
- * `date__on` support: ([#109](https://github.com/martinrusev/imbox/pull/109))
- * Starttls support: ([#108](https://github.com/martinrusev/imbox/pull/108))
- * Mark emails as flagged/starred: 
([#107](https://github.com/martinrusev/imbox/pull/107))
- * Messages filter can use date objects instead of stringified dates: 
([#104](https://github.com/martinrusev/imbox/pull/104))
- * Fix attachment parsing when a semicolon character ends the 
Content-Disposition line: 
([#100](https://github.com/martinrusev/imbox/pull/100))
- * Parsing - UnicecodeDecodeError() fixes: 
([#96](https://github.com/martinrusev/imbox/pull/96))
- * Imbox() `with` support: 
([#92](https://github.com/martinrusev/imbox/pull/92))
+ * `date__on` support: ([#109](https://github.com/martinrusev/imbox/pull/109)) 
- Contributed by @balsagoth
+ * Starttls support: ([#108](https://github.com/martinrusev/imbox/pull/108)) - 
Contributed by @balsagoth
+ * Mark emails as flagged/starred: 
([#107](https://github.com/martinrusev/imbox/pull/107)) - Contributed by 
@memanikantan
+ * Messages filter can use date objects instead of stringified dates: 
([#104](https://github.com/martinrusev/imbox/pull/104)) - Contributed by 
@sblondon
+ * Fix attachment parsing when a semicolon character ends the 
Content-Disposition line: 
([#100](https://github.com/martinrusev/imbox/pull/100)) - Contributed by 

commit python-imbox for openSUSE:Factory

2017-12-14 Thread root


binuLl7Qb_Jv8.bin
Description: Binary data


commit python-imbox for openSUSE:Factory

2017-09-20 Thread root
Hello community,

here is the log from the commit of package python-imbox for openSUSE:Factory 
checked in at 2017-09-20 17:08:38

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


Package is "python-imbox"

Wed Sep 20 17:08:38 2017 rev:2 rq:526967 version:0.9

Changes:

--- /work/SRC/openSUSE:Factory/python-imbox/python-imbox.changes
2017-06-26 15:54:26.685204468 +0200
+++ /work/SRC/openSUSE:Factory/.python-imbox.new/python-imbox.changes   
2017-09-20 17:08:41.275365543 +0200
@@ -1,0 +2,10 @@
+Mon Sep 18 08:39:29 UTC 2017 - sebix+novell@sebix.at
+
+- update to 0.9
+ * Permissively Decode Emails: (#78)
+ * "With" statement for automatic cleanup/logout (#92)
+- update to 0.8.6
+ * Add support for Python 3.3+ Parsing policies: (#75)
+ * Remove support for Python 2.7
+
+---

Old:

  imbox-0.8.5.tar.gz

New:

  imbox-0.9.tar.gz



Other differences:
--
++ python-imbox.spec ++
--- /var/tmp/diff_new_pack.TllrRo/_old  2017-09-20 17:08:41.775295168 +0200
+++ /var/tmp/diff_new_pack.TllrRo/_new  2017-09-20 17:08:41.779294605 +0200
@@ -17,8 +17,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-imbox
-Version:0.8.5
+Version:0.9
 Release:0
 Summary:Python IMAP for Human beings
 License:MIT
@@ -27,11 +28,8 @@
 Source: 
https://files.pythonhosted.org/packages/source/i/imbox/imbox-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-six
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %python_subpackages
 
 %description
@@ -45,11 +43,10 @@
 
 %install
 %python_install
-%fdupes %{buildroot}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc README.md LICENSE
+%doc README.rst LICENSE
 %{python_sitelib}/*
 
 %changelog

++ imbox-0.8.5.tar.gz -> imbox-0.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imbox-0.8.5/MANIFEST.in new/imbox-0.9/MANIFEST.in
--- old/imbox-0.8.5/MANIFEST.in 2015-12-12 11:13:15.0 +0100
+++ new/imbox-0.9/MANIFEST.in   2017-09-18 10:07:44.0 +0200
@@ -1,3 +1,3 @@
 include LICENSE
 include MANIFEST.in
-include README.md
\ No newline at end of file
+include README.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imbox-0.8.5/PKG-INFO new/imbox-0.9/PKG-INFO
--- old/imbox-0.8.5/PKG-INFO2016-06-08 08:38:41.0 +0200
+++ new/imbox-0.9/PKG-INFO  2017-09-18 10:19:54.0 +0200
@@ -1,128 +1,134 @@
 Metadata-Version: 1.1
 Name: imbox
-Version: 0.8.5
+Version: 0.9
 Summary: Python IMAP for Human beings
 Home-page: https://github.com/martinrusev/imbox
 Author: Martin Rusev
 Author-email: mar...@amon.cx
 License: MIT
 Description: Imbox - Python IMAP for Humans
-===
+==
 
-[![Build 
Status](https://travis-ci.org/martinrusev/imbox.svg?branch=master)](https://travis-ci.org/martinrusev/imbox)
+
+.. image:: https://travis-ci.org/martinrusev/imbox.svg?branch=master
+   :target: https://travis-ci.org/martinrusev/imbox
+   :alt: Build Status
 
 
 Python library for reading IMAP mailboxes and converting email content 
to machine readable data
 
+Requirements
+
+
+Python (3.2, 3.3, 3.4, 3.5, 3.6)
 
 
 Installation
-
+
 
-   pip install imbox
+``pip install imbox``
 
 
 Usage 
-=
+-
+
+.. code:: python
 
-```python
-from imbox import Imbox
+from imbox import Imbox
 
-# SSL Context docs 
https://docs.python.org/2/library/ssl.html#ssl.create_default_context
+# SSL Context docs 
https://docs.python.org/3/library/ssl.html#ssl.create_default_context
 
-imbox = Imbox('imap.gmail.com',
-   username='username', 
-   password='password',
-   ssl=True,
-   ssl_context=None)
-
-# Gets all messages 
-all_messages = imbox.messages()
-
-# Unread messages 
-unread_messages = imbox.messages(unread=True)
-
-

commit python-imbox for openSUSE:Factory

2017-06-26 Thread root
Hello community,

here is the log from the commit of package python-imbox for openSUSE:Factory 
checked in at 2017-06-26 15:54:26

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


Package is "python-imbox"

Mon Jun 26 15:54:26 2017 rev:1 rq:505949 version:0.8.5

Changes:

New Changes file:

--- /dev/null   2017-06-22 07:57:20.067658250 +0200
+++ /work/SRC/openSUSE:Factory/.python-imbox.new/python-imbox.changes   
2017-06-26 15:54:26.685204468 +0200
@@ -0,0 +1,11 @@
+---
+Wed Apr 12 20:01:19 UTC 2017 - sebix+novell@sebix.at
+
+- convert to singlespec
+
+---
+Sat Jul 30 16:15:01 UTC 2016 - sebix+novell@sebix.at
+
+- Changes in 0.8.5 (9 June 2016)
+  ssl_context: Check SSLContext for IMAP4_SSL connections (issue #69)
+

New:

  imbox-0.8.5.tar.gz
  python-imbox.changes
  python-imbox.spec



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


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:   python-imbox
Version:0.8.5
Release:0
Summary:Python IMAP for Human beings
License:MIT
Group:  Development/Languages/Python
Url:https://github.com/martinrusev/imbox
Source: 
https://files.pythonhosted.org/packages/source/i/imbox/imbox-%{version}.tar.gz
BuildRequires:  %{python_module devel}
BuildRequires:  %{python_module setuptools}
BuildRequires:  %{python_module six}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
Requires:   python-six
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%python_subpackages

%description
Python library for reading IMAP mailboxes and converting email content to 
machine readable data

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

%build
%python_build

%install
%python_install
%fdupes %{buildroot}

%files %{python_files}
%defattr(-,root,root,-)
%doc README.md LICENSE
%{python_sitelib}/*

%changelog