Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyjwkest for openSUSE:Factory
checked in at 2023-09-06 18:56:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyjwkest (Old)
and /work/SRC/openSUSE:Factory/.python-pyjwkest.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyjwkest"
Wed Sep 6 18:56:38 2023 rev:4 rq:1108963 version:1.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyjwkest/python-pyjwkest.changes
2021-12-09 19:46:01.473145249 +0100
+++
/work/SRC/openSUSE:Factory/.python-pyjwkest.new.1766/python-pyjwkest.changes
2023-09-06 18:58:14.799672886 +0200
@@ -1,0 +2,6 @@
+Tue Sep 5 01:24:06 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Add patch remove-future-requirement.patch, drop future requirement
+- Switch to pyproject macros
+
+-------------------------------------------------------------------
New:
----
remove-future-requirement.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyjwkest.spec ++++++
--- /var/tmp/diff_new_pack.epnOiW/_old 2023-09-06 18:58:15.939713525 +0200
+++ /var/tmp/diff_new_pack.epnOiW/_new 2023-09-06 18:58:15.943713668 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pyjwkest
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,31 +16,30 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define commit 9ed11b406911dde70b281b2473a976ec88afd1a9
Name: python-pyjwkest
Version: 1.4.2
Release: 0
Summary: Python implementation of JWT, JWE, JWS and JWK
License: Apache-2.0
-Group: Development/Languages/Python
URL: https://github.com//IdentityPython/pyjwkest
#Source:
https://files.pythonhosted.org/packages/source/p/pyjwkest/pyjwkest-%%{version}.tar.gz
# 1.4.2, released on PyPI is untagged on GitHub, but we need the tests
Source:
https://github.com/IdentityPython/pyjwkest/archive/%{commit}.tar.gz#/pyjwkest-%{version}-gh.tar.gz
# PATCH-FIX-OPENSUSE (upstream is unmaintained) -- py 3.9 compatibility. Works
for all of py3.
Patch0: py39-tobytes.patch
+Patch1: remove-future-requirement.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-future
Requires: python-pycryptodomex
Requires: python-requests
Requires: python-six
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
-BuildRequires: %{python_module future}
BuildRequires: %{python_module pycryptodomex}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
@@ -62,10 +61,10 @@
sed -i '1 {/^#!/d}' src/jwkest/*.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# The peek.py script is very tiny, so avoid it reserving 'peek.py' as
@@ -92,7 +91,7 @@
%files %{python_files}
%license LICENSE
%doc README.rst
-%{python_sitelib}/pyjwkest-%{version}*-info
+%{python_sitelib}/pyjwkest-%{version}.dist-info
%{python_sitelib}/jwkest
%python_alternative %{_bindir}/gen_symkey.py
%python_alternative %{_bindir}/jwdecrypt.py
++++++ remove-future-requirement.patch ++++++
Index: pyjwkest-9ed11b406911dde70b281b2473a976ec88afd1a9/setup.py
===================================================================
--- pyjwkest-9ed11b406911dde70b281b2473a976ec88afd1a9.orig/setup.py
+++ pyjwkest-9ed11b406911dde70b281b2473a976ec88afd1a9/setup.py
@@ -45,7 +45,7 @@ setup(
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5"],
- install_requires=["pycryptodomex", "requests", "six", "future"],
+ install_requires=["pycryptodomex", "requests", "six"],
tests_require=['pytest'],
zip_safe=False,
scripts=glob.glob('script/*.py'),