Update to 19.2.0
Switch to {pypi_source} Enable LTO Cosmetic spec file fix Minimum Python version is >= 3.5 now
This commit is contained in:
parent
4ea1f67ea4
commit
0aececf47d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/argon2_cffi-19.1.0.tar.gz
|
||||
/argon2-cffi-19.2.0.tar.gz
|
||||
|
@ -1,28 +1,32 @@
|
||||
%global pypi_name argon2-cffi
|
||||
|
||||
# LTO
|
||||
%global optflags %{optflags} -flto
|
||||
%global build_ldflags %{build_ldflags} -flto
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 19.1.0
|
||||
Version: 19.2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: The secure Argon2 password hashing algorithm
|
||||
|
||||
License: MIT
|
||||
URL: https://argon2-cffi.readthedocs.io/
|
||||
Source0: https://files.pythonhosted.org/packages/aa/bb/d620acb83d6e7d0a1f896557524b85e058500bd858ee814d467428718811/argon2_cffi-19.1.0.tar.gz
|
||||
# %{pypi_source}
|
||||
Source0: %{pypi_source}
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig(libargon2)
|
||||
BuildRequires: python3-devel >= 3.5
|
||||
BuildRequires: python3dist(cffi)
|
||||
BuildRequires: python3dist(hypothesis)
|
||||
BuildRequires: python3dist(pytest)
|
||||
BuildRequires: python3dist(setuptools)
|
||||
BuildRequires: python3dist(six)
|
||||
BuildRequires: python3dist(wheel)
|
||||
BuildRequires: python3dist(sphinx)
|
||||
BuildRequires: python3dist(wheel)
|
||||
BuildRequires: pkgconfig(libargon2)
|
||||
|
||||
%description
|
||||
CFFI-based Argon2 Bindings for Python
|
||||
CFFI-based Argon2 Bindings for Python.
|
||||
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
@ -34,20 +38,25 @@ Requires: python3dist(pytest)
|
||||
Requires: python3dist(six)
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
CFFI-based Argon2 Bindings for Python
|
||||
CFFI-based Argon2 Bindings for Python.
|
||||
|
||||
|
||||
%package -n python-%{pypi_name}-doc
|
||||
Summary: Documentation for argon2-cffi
|
||||
|
||||
%description -n python-%{pypi_name}-doc
|
||||
Documentation for argon2-cffi
|
||||
Documentation for argon2-cffi.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n argon2_cffi-%{version}
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
# Remove bundled egg-info
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
# using system libargon
|
||||
rm -rf extras/libargon2/LICENSE docs/license.rst
|
||||
rm -rf extras/libargon2/README.md
|
||||
rm -r extras/libargon2/LICENSE \
|
||||
extras/libargon2/README.md \
|
||||
docs/license.rst
|
||||
|
||||
|
||||
%build
|
||||
export ARGON2_CFFI_USE_SYSTEM=1
|
||||
@ -57,9 +66,11 @@ PYTHONPATH=${PWD} sphinx-build-3 docs html
|
||||
# remove the sphinx-build leftovers
|
||||
rm -rf html/.{doctrees,buildinfo}
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
|
||||
%check
|
||||
export k='not test_argument_ranges'
|
||||
%{__python3} setup.py test
|
||||
@ -68,15 +79,21 @@ export k='not test_argument_ranges'
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitearch}/argon2
|
||||
%{python3_sitearch}/argon2_cffi-%{version}-py?.?.egg-info
|
||||
%{python3_sitearch}/argon2/
|
||||
%{python3_sitearch}/argon2_cffi-%{version}-py%{python3_version}.egg-info/
|
||||
|
||||
%files -n python-%{pypi_name}-doc
|
||||
%doc html
|
||||
%license LICENSE
|
||||
%doc html
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jan 19 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 19.2.0-1
|
||||
- Update to 19.2.0
|
||||
- Switch to {pypi_source}
|
||||
- Enable LTO
|
||||
- Cosmetic spec file fix
|
||||
- Minimum Python version is >= 3.5 now
|
||||
|
||||
* Fri Jun 14 2019 Pavlo Rudyi <paulcarroty@fedoraproject.org> - 19.1.0-1
|
||||
- initial build
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (argon2_cffi-19.1.0.tar.gz) = 9bc10f0dfbb199e0ae0c9bd6a7c9183a5b0b108966d89bacf8ee744a926d400bccc14869b889a2482be4a5c48bd7ed0464cf316ecad74b758a5493beed7d466c
|
||||
SHA512 (argon2-cffi-19.2.0.tar.gz) = 05e2eea18bb2fc2ab0c7174081634d6c2a227f14f64a2686b369e1bf2c69721149282c2572f1e4044c3f3a3e93003db8aed174aa64d377a145d6a81cc1f52fd2
|
||||
|
Loading…
Reference in New Issue
Block a user