14
0

- Update to 1.8.2:

* allow hyphens in sub domains (#96)
  * Fix argument declaration (#95)
  * use better host validation(#92)
  * do not enforce dot in sub claim email host part (#90)
  * switch to pytest from nose
  * fix JWT padding (Thanks @JohnDoee) #81 
- Drop skip-test_sign_01.patch, no longer required

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-vapid?expand=0&rev=3
This commit is contained in:
2021-09-08 04:27:59 +00:00
committed by Git OBS Bridge
parent 606c6b1523
commit 632f377f0b
5 changed files with 20 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-py-vapid
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,25 +18,23 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-py-vapid
Version: 1.7.0
Version: 1.8.2
Release: 0
Summary: VAPID header generation library
License: MPL-2.0
Group: Development/Languages/Python
URL: https://github.com/mozilla-services/vapid
Source: https://files.pythonhosted.org/packages/source/p/py-vapid/py-vapid-%{version}.tar.gz
Patch0: skip-test_sign_01.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography >= 2.5
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module cryptography >= 2.5}
BuildRequires: %{python_module mock >= 1.0.1}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
@@ -45,7 +43,6 @@ VAPID header generation library.
%prep
%setup -q -n py-vapid-%{version}
%patch0 -p1
%build
%python_build
@@ -56,7 +53,7 @@ VAPID header generation library.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m nose
%pytest
%post
%python_install_alternative vapid