Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
4bf78e5d5b | ||
|
206da99607 | ||
|
d27870410e | ||
|
c69f6c73d1 | ||
|
6b7d890a07 | ||
|
e9a92b8f1c | ||
|
f0bb044d82 | ||
|
5df246df6a | ||
|
5209c11014 | ||
|
462119598c | ||
|
cf13ab2bd2 | ||
|
0a6a3e7af6 | ||
|
0d5dbe33c1 | ||
|
855f54e6d2 | ||
|
314e4b9b93 | ||
|
0aececf47d |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
/argon2_cffi-19.1.0.tar.gz
|
/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
|
||||||
|
44
changelog
Normal file
44
changelog
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20.1.0-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 20.1.0-9
|
||||||
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20.1.0-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.1.0-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 20.1.0-6
|
||||||
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Miro Hrončok <mhroncok@redhat.com> - 20.1.0-5
|
||||||
|
- Stop requiring test dependencies on runtime
|
||||||
|
- Run tests during build
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.1.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20.1.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 20.1.0-2
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Thu May 21 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 20.1.0-1
|
||||||
|
- Update to 20.1.0
|
||||||
|
- Disable LTO
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.2.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* 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
|
@ -1,82 +1,92 @@
|
|||||||
%global pypi_name argon2-cffi
|
%global pypi_name argon2-cffi
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 19.1.0
|
Version: 21.1.0
|
||||||
Release: 1%{?dist}
|
Release: %autorelease
|
||||||
Summary: The secure Argon2 password hashing algorithm
|
Summary: The secure Argon2 password hashing algorithm
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://argon2-cffi.readthedocs.io/
|
URL: https://argon2-cffi.readthedocs.io/
|
||||||
Source0: https://files.pythonhosted.org/packages/aa/bb/d620acb83d6e7d0a1f896557524b85e058500bd858ee814d467428718811/argon2_cffi-19.1.0.tar.gz
|
Source0: %{pypi_source}
|
||||||
# %{pypi_source}
|
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: pkgconfig(libargon2)
|
BuildRequires: python3-devel >= 3.5
|
||||||
|
|
||||||
BuildRequires: python3dist(cffi)
|
BuildRequires: python3dist(cffi)
|
||||||
BuildRequires: python3dist(hypothesis)
|
BuildRequires: python3dist(hypothesis)
|
||||||
BuildRequires: python3dist(pytest)
|
BuildRequires: python3dist(pytest)
|
||||||
BuildRequires: python3dist(setuptools)
|
BuildRequires: python3dist(setuptools)
|
||||||
BuildRequires: python3dist(six)
|
BuildRequires: python3dist(six)
|
||||||
BuildRequires: python3dist(wheel)
|
|
||||||
BuildRequires: python3dist(sphinx)
|
BuildRequires: python3dist(sphinx)
|
||||||
|
BuildRequires: python3dist(wheel)
|
||||||
|
|
||||||
|
BuildRequires: pkgconfig(libargon2)
|
||||||
|
|
||||||
|
%global _description %{expand:
|
||||||
|
CFFI-based Argon2 Bindings for Python.}
|
||||||
|
|
||||||
|
%description %_description
|
||||||
|
|
||||||
%description
|
|
||||||
CFFI-based Argon2 Bindings for Python
|
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-%{pypi_name}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||||
|
|
||||||
Requires: python3dist(cffi) >= 1.0.0
|
%description -n python3-%{pypi_name} %_description
|
||||||
Requires: python3dist(hypothesis)
|
|
||||||
Requires: python3dist(pytest)
|
|
||||||
Requires: python3dist(six)
|
|
||||||
|
|
||||||
%description -n python3-%{pypi_name}
|
|
||||||
CFFI-based Argon2 Bindings for Python
|
|
||||||
|
|
||||||
%package -n python-%{pypi_name}-doc
|
%package -n python-%{pypi_name}-doc
|
||||||
Summary: Documentation for argon2-cffi
|
Summary: Documentation for argon2-cffi
|
||||||
|
BuildRequires: python3dist(argon2-cffi)
|
||||||
|
|
||||||
%description -n python-%{pypi_name}-doc
|
%description -n python-%{pypi_name}-doc
|
||||||
Documentation for argon2-cffi
|
Documentation for argon2-cffi.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n argon2_cffi-%{version}
|
%autosetup -n %{pypi_name}-%{version}
|
||||||
# Remove bundled egg-info
|
# Remove bundled egg-info
|
||||||
rm -rf %{pypi_name}.egg-info
|
rm -rf %{pypi_name}.egg-info
|
||||||
|
|
||||||
# using system libargon
|
# using system libargon
|
||||||
rm -rf extras/libargon2/LICENSE docs/license.rst
|
rm -r extras/libargon2/LICENSE \
|
||||||
rm -rf extras/libargon2/README.md
|
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
|
%build
|
||||||
export ARGON2_CFFI_USE_SYSTEM=1
|
export ARGON2_CFFI_USE_SYSTEM=1
|
||||||
%py3_build
|
%py3_build
|
||||||
# generate html docs
|
# generate html docs
|
||||||
PYTHONPATH=${PWD} sphinx-build-3 docs html
|
PYTHONPATH=${PWD} sphinx-build-3 docs html
|
||||||
|
|
||||||
# remove the sphinx-build leftovers
|
# remove the sphinx-build leftovers
|
||||||
rm -rf html/.{doctrees,buildinfo}
|
rm -rf html/.{doctrees,buildinfo}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export k='not test_argument_ranges'
|
%pytest
|
||||||
%{__python3} setup.py test
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python3_sitearch}/argon2
|
%{python3_sitearch}/argon2/
|
||||||
%{python3_sitearch}/argon2_cffi-%{version}-py?.?.egg-info
|
%{python3_sitearch}/argon2_cffi-%{version}-py%{python3_version}.egg-info/
|
||||||
|
|
||||||
%files -n python-%{pypi_name}-doc
|
%files -n python-%{pypi_name}-doc
|
||||||
%doc html
|
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%doc html
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 14 2019 Pavlo Rudyi <paulcarroty@fedoraproject.org> - 19.1.0-1
|
%autochangelog
|
||||||
- initial build
|
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (argon2_cffi-19.1.0.tar.gz) = 9bc10f0dfbb199e0ae0c9bd6a7c9183a5b0b108966d89bacf8ee744a926d400bccc14869b889a2482be4a5c48bd7ed0464cf316ecad74b758a5493beed7d466c
|
SHA512 (argon2-cffi-21.1.0.tar.gz) = bbfebd2c075f360a6c1c187c0789be2aae7480b9398f36db7bdfe74f288d9e00b44a788918c54f4cc8bb1947136ab0493f61975de408c482a5131e2bf1a8f4d0
|
||||||
|
Loading…
Reference in New Issue
Block a user