- update to 1.2.1:
* Fixed parser issues regarding missing comma in tests accepting testlist arguments. * remove python 2.x support - drop fix_pip_version.patch: obsolete OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sievelib?expand=0&rev=9
This commit is contained in:
parent
52ab0516d4
commit
27430de049
@ -1,14 +0,0 @@
|
|||||||
--- 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
|
|
||||||
|
|
||||||
|
|
@ -1,6 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 25 08:00:46 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.2.1:
|
||||||
|
* Fixed parser issues regarding missing comma in tests accepting testlist arguments.
|
||||||
|
* remove python 2.x support
|
||||||
|
- drop fix_pip_version.patch: obsolete
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 28 14:38:41 UTC 2018 - mcepl@suse.com
|
Mon May 28 14:38:41 UTC 2018 - mcepl@suse.com
|
||||||
|
|
||||||
- clean up SPEC file
|
- clean up SPEC file
|
||||||
- allow installation with spectools in openSUSE repo
|
- allow installation with spectools in openSUSE repo
|
||||||
fix_pip_version.patch
|
fix_pip_version.patch
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sievelib
|
# spec file for package python-sievelib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
# Copyright (c) 2016 Aeneas Jaissle <aj@ajaissle.de>
|
# Copyright (c) 2016 Aeneas Jaissle <aj@ajaissle.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -13,25 +13,24 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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 modname sievelib
|
%define modname sievelib
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 1.1.1
|
Version: 1.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Client-side Sieve and Managesieve library written in Python
|
Summary: Client-side Sieve and Managesieve library written in Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://pypi.python.org/pypi/sievelib
|
URL: https://pypi.python.org/pypi/sievelib
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sievelib/%{modname}-%{version}.tar.gz
|
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 future}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -44,7 +43,6 @@ Client-side Sieve and Managesieve library written in Python.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
%patch0 -p1
|
|
||||||
sed -i -e '/^#!\/usr\/bin.*python/d' sievelib/parser.py
|
sed -i -e '/^#!\/usr\/bin.*python/d' sievelib/parser.py
|
||||||
chmod -x sievelib/parser.py
|
chmod -x sievelib/parser.py
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bf1e684881483e33d4c37687d147ebbe85bd09fc3b0b6c7366aac992b97581ea
|
|
||||||
size 29647
|
|
3
sievelib-1.2.1.tar.gz
Normal file
3
sievelib-1.2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:edcb9b416a985a3cc5b7d7f4d7ec013e372ebf90e64c9d9e00e2031299af38fd
|
||||||
|
size 35323
|
Loading…
Reference in New Issue
Block a user