From 21272181a7d44871b172cbe0fa4bd5607d8d01e2234aaf48b25a29ada7d10bae Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 20 Jan 2024 12:38:23 +0000 Subject: [PATCH] - 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 --- authheaders-0.16.0.tar.gz | 3 --- authheaders-0.16.1.tar.gz | 3 +++ python-authheaders.changes | 11 +++++++++++ python-authheaders.spec | 13 +++++++------ 4 files changed, 21 insertions(+), 9 deletions(-) delete mode 100644 authheaders-0.16.0.tar.gz create mode 100644 authheaders-0.16.1.tar.gz diff --git a/authheaders-0.16.0.tar.gz b/authheaders-0.16.0.tar.gz deleted file mode 100644 index b63bb1d..0000000 --- a/authheaders-0.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bc07214eac61bc54a145b113ddebc2c956621a68431b0534b9787ad584891d9f -size 111904 diff --git a/authheaders-0.16.1.tar.gz b/authheaders-0.16.1.tar.gz new file mode 100644 index 0000000..3449d92 --- /dev/null +++ b/authheaders-0.16.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1adf57525e96d6ae6be713b65972d9c12c8c09f5e802e52797a8be76ff0b119 +size 111878 diff --git a/python-authheaders.changes b/python-authheaders.changes index 25d0ea5..4ad4f1c 100644 --- a/python-authheaders.changes +++ b/python-authheaders.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Jan 20 12:36:31 UTC 2024 - Dirk Müller + +- 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 diff --git a/python-authheaders.spec b/python-authheaders.spec index 5236519..abe3425 100644 --- a/python-authheaders.spec +++ b/python-authheaders.spec @@ -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