/[packages]/cauldron/python-argon2_cffi/current/SPECS/python-argon2_cffi.spec
ViewVC logotype

Contents of /cauldron/python-argon2_cffi/current/SPECS/python-argon2_cffi.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1565688 - (show annotations) (download)
Thu Apr 9 08:03:31 2020 UTC (4 years ago) by kekepower
File size: 1916 byte(s)
- Update to version 19.2.0

1 # Created by pyp2rpm-3.3.1
2 %global pypi_name argon2-cffi
3
4 Name: python-%{pypi_name}
5 Version: 19.2.0
6 Release: %mkrel 1
7 Summary: The secure Argon2 password hashing algorithm
8 Group: Development/Python
9 License: MIT
10 URL: https://argon2-cffi.readthedocs.io/
11 Source0: https://pypi.io/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
12
13 BuildRequires: pkgconfig(python3)
14 BuildRequires: python3dist(cffi) >= 1.0.0
15 BuildRequires: python3dist(setuptools)
16 BuildRequires: python3dist(six)
17 BuildRequires: python3dist(wheel)
18 BuildRequires: python3dist(funcsigs)
19 # for docs
20 BuildRequires: python3dist(sphinx)
21 # for tests
22 BuildRequires: python3dist(coverage)
23 BuildRequires: python3dist(hypothesis)
24 BuildRequires: python3dist(pytest)
25
26 %description
27 CFFI-based Argon2 Bindings for Python.
28
29 %package -n python3-%{pypi_name}
30 Summary: %{summary}
31 %{?python_provide:%python_provide python3-%{pypi_name}}
32
33 Requires: python3dist(cffi) >= 1.0.0
34 Requires: python3dist(six)
35
36 %description -n python3-%{pypi_name}
37 CFFI-based Argon2 Bindings for Python.
38
39 %package -n python-%{pypi_name}-doc
40 Summary: argon2_cffi documentation
41
42 %description -n python-%{pypi_name}-doc
43 Documentation for argon2_cffi
44
45 %prep
46 %autosetup -n %{pypi_name}-%{version}
47
48 # Remove bundled egg-info
49 rm -rf %{pypi_name}.egg-info
50
51 %build
52 %py3_build
53
54 # generate html docs
55 PYTHONPATH=${PWD} sphinx-build docs html
56 # remove the sphinx-build leftovers
57 rm -rf html/.{doctrees,buildinfo}
58
59 %install
60 %py3_install
61
62 %check
63 %{__python3} setup.py test
64
65 %files -n python3-%{pypi_name}
66 %license LICENSE docs/license.rst extras/libargon2/LICENSE
67 %doc README.rst extras/libargon2/README.md
68 %{python3_sitearch}/argon2
69 %{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info
70
71 %files -n python-%{pypi_name}-doc
72 %doc html
73 %license LICENSE docs/license.rst extras/libargon2/LICENSE
74

  ViewVC Help
Powered by ViewVC 1.1.30