From 27430de04981645ec3e0fc54aad78ca97ae13b3420ecbe46c8bf4ce36f240047 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 25 Jan 2021 08:01:56 +0000 Subject: [PATCH] - 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 --- fix_pip_version.patch | 14 -------------- python-sievelib.changes | 10 +++++++++- python-sievelib.spec | 10 ++++------ sievelib-1.1.1.tar.gz | 3 --- sievelib-1.2.1.tar.gz | 3 +++ 5 files changed, 16 insertions(+), 24 deletions(-) delete mode 100644 fix_pip_version.patch delete mode 100644 sievelib-1.1.1.tar.gz create mode 100644 sievelib-1.2.1.tar.gz diff --git a/fix_pip_version.patch b/fix_pip_version.patch deleted file mode 100644 index 60aedee..0000000 --- a/fix_pip_version.patch +++ /dev/null @@ -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 - - diff --git a/python-sievelib.changes b/python-sievelib.changes index eed3fef..db78b14 100644 --- a/python-sievelib.changes +++ b/python-sievelib.changes @@ -1,6 +1,14 @@ +------------------------------------------------------------------- +Mon Jan 25 08:00:46 UTC 2021 - Dirk Müller + +- 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 - + - clean up SPEC file - allow installation with spectools in openSUSE repo fix_pip_version.patch diff --git a/python-sievelib.spec b/python-sievelib.spec index 8e65497..6f734e2 100644 --- a/python-sievelib.spec +++ b/python-sievelib.spec @@ -1,7 +1,7 @@ # # spec file for package python-sievelib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2016 Aeneas Jaissle # # 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) # 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 %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-%{modname} -Version: 1.1.1 +Version: 1.2.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://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 @@ -44,7 +43,6 @@ Client-side Sieve and Managesieve library written in Python. %prep %setup -q -n %{modname}-%{version} -%patch0 -p1 sed -i -e '/^#!\/usr\/bin.*python/d' sievelib/parser.py chmod -x sievelib/parser.py diff --git a/sievelib-1.1.1.tar.gz b/sievelib-1.1.1.tar.gz deleted file mode 100644 index e73dcbf..0000000 --- a/sievelib-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf1e684881483e33d4c37687d147ebbe85bd09fc3b0b6c7366aac992b97581ea -size 29647 diff --git a/sievelib-1.2.1.tar.gz b/sievelib-1.2.1.tar.gz new file mode 100644 index 0000000..6d3653b --- /dev/null +++ b/sievelib-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edcb9b416a985a3cc5b7d7f4d7ec013e372ebf90e64c9d9e00e2031299af38fd +size 35323