From 4bf78e5d5bf015421b8c7a3a019c8b2701811a71 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Oct 10 2022 00:13:39 +0000 Subject: build(update): 21.1.0 --- diff --git a/.gitignore b/.gitignore index fb58724..c481bbb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /argon2_cffi-19.1.0.tar.gz /argon2-cffi-19.2.0.tar.gz /argon2-cffi-20.1.0.tar.gz +/argon2-cffi-21.1.0.tar.gz diff --git a/python-argon2-cffi.spec b/python-argon2-cffi.spec index 91906f7..511d4a7 100644 --- a/python-argon2-cffi.spec +++ b/python-argon2-cffi.spec @@ -1,7 +1,7 @@ %global pypi_name argon2-cffi Name: python-%{pypi_name} -Version: 20.1.0 +Version: 21.1.0 Release: %autorelease Summary: The secure Argon2 password hashing algorithm @@ -11,6 +11,7 @@ Source0: %{pypi_source} BuildRequires: gcc BuildRequires: python3-devel >= 3.5 + BuildRequires: python3dist(cffi) BuildRequires: python3dist(hypothesis) BuildRequires: python3dist(pytest) @@ -18,22 +19,25 @@ BuildRequires: python3dist(setuptools) BuildRequires: python3dist(six) BuildRequires: python3dist(sphinx) BuildRequires: python3dist(wheel) + BuildRequires: pkgconfig(libargon2) -%description -CFFI-based Argon2 Bindings for Python. +%global _description %{expand: +CFFI-based Argon2 Bindings for Python.} + +%description %_description %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} -%description -n python3-%{pypi_name} -CFFI-based Argon2 Bindings for Python. +%description -n python3-%{pypi_name} %_description %package -n python-%{pypi_name}-doc Summary: Documentation for argon2-cffi +BuildRequires: python3dist(argon2-cffi) %description -n python-%{pypi_name}-doc Documentation for argon2-cffi. @@ -49,6 +53,11 @@ rm -r extras/libargon2/LICENSE \ extras/libargon2/README.md \ docs/license.rst +# Theme error: +# no theme named 'furo' found (missing theme.conf?) +sed -i '/html_theme = "furo"/d' \ + docs/conf.py + %build export ARGON2_CFFI_USE_SYSTEM=1 @@ -65,10 +74,7 @@ rm -rf html/.{doctrees,buildinfo} %check -# test_repr is temporarily disabled due to combatibility issues with Python 3.10., -# once it is fixed in the upstream it can be enabled again. -# For more info see: https://bugzilla.redhat.com/show_bug.cgi?id=1948967 -%pytest -k "not test_repr" +%pytest %files -n python3-%{pypi_name} diff --git a/sources b/sources index 26d533d..19dacc1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (argon2-cffi-20.1.0.tar.gz) = d1d798e3e51ed67c4f523a66081fea99479ee986b5cfc36b250954e757b9846625681445447f9347519d9988f8a2ace2e3c8ce5817c5c6b4767819cf56ee0af2 +SHA512 (argon2-cffi-21.1.0.tar.gz) = bbfebd2c075f360a6c1c187c0789be2aae7480b9398f36db7bdfe74f288d9e00b44a788918c54f4cc8bb1947136ab0493f61975de408c482a5131e2bf1a8f4d0