- Update to 1.4.2

* Assorted fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sievelib?expand=0&rev=19
This commit is contained in:
Nico Krapp 2025-01-28 11:56:58 +00:00 committed by Git OBS Bridge
commit 252b51c0fe
7 changed files with 184 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

86
python-sievelib.changes Normal file
View File

@ -0,0 +1,86 @@
-------------------------------------------------------------------
Tue Jan 28 11:20:13 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.4.2
* Assorted fixes
-------------------------------------------------------------------
Tue Aug 13 04:27:57 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.4.1:
* fix starttls
- Add typing-extensions to BuildRequires.
-------------------------------------------------------------------
Sat Apr 20 08:07:44 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.4.0:
* Ensure name uniqueness in filter set
* Added annotations
-------------------------------------------------------------------
Sat Apr 6 07:44:00 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.3.0:
* Added support for OAUTHBEARER auth mechanism
-------------------------------------------------------------------
Fri Sep 1 05:20:43 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Actually run the testsuite.
- Drop unneeded future requirement.
- Stop using greedy globs in %files.
-------------------------------------------------------------------
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
- 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 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Tue Feb 16 08:55:04 UTC 2016 - aj@ajaissle.de
- License now is explicitly MIT
-------------------------------------------------------------------
Fri Feb 5 15:57:31 UTC 2016 - aj@ajaissle.de
- Update to 0.9.2
-------------------------------------------------------------------
Tue Sep 29 12:04:50 UTC 2015 - aj@ajaissle.de
- Fix license (PyPi says MIT, COPYING says ISC)
-------------------------------------------------------------------
Thu Sep 17 11:31:30 UTC 2015 - aj@ajaissle.de
- Spec cleanup
-------------------------------------------------------------------
Wed Apr 1 11:44:09 UTC 2015 - aj@ajaissle.de
- Initial package, sievelib v0.8

65
python-sievelib.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package python-sievelib
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2016 Aeneas Jaissle <aj@ajaissle.de>
#
# 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 https://bugs.opensuse.org/
#
%define modname sievelib
Name: python-%{modname}
Version: 1.4.2
Release: 0
Summary: Client-side Sieve and Managesieve library written in Python
License: MIT
URL: https://github.com/tonioo/sievelib
Source: https://files.pythonhosted.org/packages/source/s/sievelib/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module typing-extensions}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
Requires: python-typing-extensions
%python_subpackages
%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}
sed -i -e '/^#!\/usr\/bin.*python/d' sievelib/parser.py
chmod -x sievelib/parser.py
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license COPYING
%doc README.rst
%{python_sitelib}/sievelib
%{python_sitelib}/sievelib-%{version}.dist-info
%changelog

3
sievelib-1.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78cf1eb3f59910d1410128ce9352956dbc249b3c53afb362ace8922edec5dcdf
size 37563

3
sievelib-1.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf471407315532cf71dbf6f662b000cead2b477a70cff5c4b21bc5d4324ba53e
size 37603

3
sievelib-1.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60ea0036a5514e2610e5bf561586f324e75ffd91a7209f5fb9e06b8fe28b06bb
size 37977