15
0

- update to 0.16.1:

* Clean up unnecessary escaping of semi-colons in test data
    and adjust related code to resolve SyntaxWarning with
    Python 3.12 (#29)
  * Set python_requires >3.7 and clean up cruft in setup.py
  * Use importlib.resources instead of importlib_resources
- switch to PEP517 build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-authheaders?expand=0&rev=20
This commit is contained in:
2024-01-20 12:38:23 +00:00
committed by Git OBS Bridge
parent 605cfb067c
commit 21272181a7
4 changed files with 21 additions and 9 deletions

View File

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

View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Jan 20 12:36:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.16.1:
* Clean up unnecessary escaping of semi-colons in test data
and adjust related code to resolve SyntaxWarning with
Python 3.12 (#29)
* Set python_requires >3.7 and clean up cruft in setup.py
* Use importlib.resources instead of importlib_resources
- switch to PEP517 build
-------------------------------------------------------------------
Sat Jan 13 17:31:08 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -18,26 +18,26 @@
%{?sle15_python_module_pythons}
Name: python-authheaders
Version: 0.16.0
Version: 0.16.1
Release: 0
Summary: A library wrapping email authentication header verification and generation
License: MIT
URL: https://github.com/ValiMail/authentication-headers
Source: https://files.pythonhosted.org/packages/source/a/authheaders/authheaders-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-authres >= 1.0.1
Requires: python-dkimpy >= 0.7.1
Requires: python-dnspython
Requires: python-importlib_resources
Requires: python-publicsuffix2
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module authres >= 1.2.0}
BuildRequires: %{python_module dkimpy >= 0.7.1}
BuildRequires: %{python_module dnspython}
BuildRequires: %{python_module importlib_resources}
BuildRequires: %{python_module publicsuffix2}
BuildRequires: %{python_module pytest}
# /SECTION
@@ -51,10 +51,10 @@ A library wrapping email authentication header verification and generation.
%build
export LANG=en_US.UTF-8
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Remove binaries
@@ -70,6 +70,7 @@ donttest="(TestAuthenticateMessage and test_authenticate_dmarc_psdsub)"
%files %{python_files}
%doc CHANGES README.md
%license COPYING
%{python_sitelib}/authheaders*
%{python_sitelib}/authheaders
%{python_sitelib}/authheaders-%{version}.dist-info
%changelog