forked from pool/python-IMAPClient
Accepting request 1034153 from home:pgajdos:python
- do not require six for build
- added patches
fix 6e6ec34b0e
+ python-IMAPClient-no-python2.patch
OBS-URL: https://build.opensuse.org/request/show/1034153
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-IMAPClient?expand=0&rev=11
This commit is contained in:
1336
python-IMAPClient-no-python2.patch
Normal file
1336
python-IMAPClient-no-python2.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 7 10:45:39 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- do not require six for build
|
||||
- added patches
|
||||
fix https://github.com/mjs/imapclient/commit/6e6ec34b0e71975134d9492add22361ce4beb2a0
|
||||
+ python-IMAPClient-no-python2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 15:54:01 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-IMAPClient
|
||||
Version: 2.3.1
|
||||
Release: 0
|
||||
@@ -26,12 +25,12 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/mjs/imapclient/
|
||||
Source0: https://github.com/mjs/imapclient/archive/%{version}.tar.gz
|
||||
# https://github.com/mjs/imapclient/commit/6e6ec34b0e71975134d9492add22361ce4beb2a0
|
||||
Patch0: python-IMAPClient-no-python2.patch
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= 20.5}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -52,8 +51,10 @@ functional tests that can be run against a live IMAP server.
|
||||
|
||||
%prep
|
||||
%setup -q -n imapclient-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
sed -i 's:#!::' imapclient/interact.py
|
||||
%python_build
|
||||
|
||||
%install
|
||||
@@ -67,6 +68,7 @@ functional tests that can be run against a live IMAP server.
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license COPYING
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/IMAPClient-*-info
|
||||
%{python_sitelib}/imapclient
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user