14
0
forked from pool/python-spake2

- update to 0.9:

* This release mainly deals with packaging simplifications: two
    dependencies ("six" and "hkdf") are removed.
  * The "cryptography" library takes the place of "hkdf" for key
    derivation.
  * There is no longer a vendored version of "six" (nor internal
    use of it, thanks a-dieste).
  * The "versioneer" library is updated to 0.29.
- drop support-python-312.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spake2?expand=0&rev=10
This commit is contained in:
2024-11-11 21:06:27 +00:00
committed by Git OBS Bridge
parent 920d50efc7
commit 9fa6482193
5 changed files with 19 additions and 31 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Nov 11 21:05:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.9:
* This release mainly deals with packaging simplifications: two
dependencies ("six" and "hkdf") are removed.
* The "cryptography" library takes the place of "hkdf" for key
derivation.
* There is no longer a vendored version of "six" (nor internal
use of it, thanks a-dieste).
* The "versioneer" library is updated to 0.29.
- drop support-python-312.patch (upstream)
-------------------------------------------------------------------
Tue Feb 20 01:20:49 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -17,14 +17,13 @@
Name: python-spake2
Version: 0.8
Version: 0.9
Release: 0
Summary: Pure-Python SPAKE2
License: MIT
URL: http://github.com/warner/python-spake2
Source: https://files.pythonhosted.org/packages/source/s/spake2/spake2-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#warner/python-spake2#16
Patch0: support-python-312.patch
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module hkdf}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@@ -32,6 +31,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography
Requires: python-hkdf
BuildArch: noarch
%python_subpackages

View File

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

3
spake2-0.9.tar.gz Normal file
View File

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

View File

@@ -1,25 +0,0 @@
From 1b04d33106b105207c97c64b2589c45790720b0b Mon Sep 17 00:00:00 2001
From: Thomas Klausner <wiz@gatalith.at>
Date: Wed, 25 Oct 2023 12:32:02 +0200
Subject: [PATCH] Fix build with Python 3.12.
---
versioneer.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/versioneer.py b/versioneer.py
index 64fea1c..3aa5da3 100644
--- a/versioneer.py
+++ b/versioneer.py
@@ -339,9 +339,9 @@ def get_config_from_root(root):
# configparser.NoOptionError (if it lacks "VCS="). See the docstring at
# the top of versioneer.py for instructions on writing your setup.cfg .
setup_cfg = os.path.join(root, "setup.cfg")
- parser = configparser.SafeConfigParser()
+ parser = configparser.ConfigParser()
with open(setup_cfg, "r") as f:
- parser.readfp(f)
+ parser.read_file(f)
VCS = parser.get("versioneer", "VCS") # mandatory
def get(parser, name):