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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1351086 - (hide annotations) (download)
Mon Jan 7 17:43:01 2019 UTC (5 years, 3 months ago) by shlomif
File size: 3272 byte(s)
- Rebuild for python3 3.7
1 kekepower 1224532 # Created by pyp2rpm-3.3.1
2     %global pypi_name argon2_cffi
3    
4     Name: python-%{pypi_name}
5 shlomif 1351086 Version: 18.3.0
6     Release: %mkrel 1
7 kekepower 1224532 Summary: The secure Argon2 password hashing algorithm
8     Group: Development/Python
9     License: MIT
10     URL: https://argon2-cffi.readthedocs.io/
11 shlomif 1351086 Source0: https://pypi.io/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
12    
13 kekepower 1224532 BuildRequires: pkgconfig(python2)
14     BuildRequires: python2dist(cffi) >= 1.0.0
15     BuildRequires: python2dist(coverage)
16     BuildRequires: python2dist(hypothesis)
17     BuildRequires: python2dist(pytest)
18     BuildRequires: python2dist(setuptools)
19     BuildRequires: python2dist(six)
20     BuildRequires: python2dist(wheel)
21 kekepower 1224534 BuildRequires: python2dist(enum34)
22 kekepower 1224548 BuildRequires: python2dist(funcsigs)
23 shlomif 1351086
24 kekepower 1224532 BuildRequires: pkgconfig(python3)
25     BuildRequires: python3dist(cffi) >= 1.0.0
26     BuildRequires: python3dist(coverage)
27     BuildRequires: python3dist(hypothesis)
28     BuildRequires: python3dist(pytest)
29     BuildRequires: python3dist(setuptools)
30     BuildRequires: python3dist(six)
31     BuildRequires: python3dist(wheel)
32     BuildRequires: python3dist(sphinx)
33 kekepower 1224548 BuildRequires: python3dist(funcsigs)
34 kekepower 1224532
35     %description
36     CFFI-based Argon2 Bindings for Python .. image::
37    
38     %package -n python2-%{pypi_name}
39     Summary: %{summary}
40     %{?python_provide:%python_provide python2-%{pypi_name}}
41 shlomif 1351086
42 kekepower 1224532 Requires: python2dist(cffi) >= 1.0.0
43     Requires: python2dist(coverage)
44     Requires: python2dist(hypothesis)
45     Requires: python2dist(pytest)
46     Requires: python2dist(six)
47     Requires: python2dist(sphinx)
48    
49     %description -n python2-%{pypi_name}
50     CFFI-based Argon2 Bindings for Python .. image::
51    
52     %package -n python3-%{pypi_name}
53     Summary: %{summary}
54     %{?python_provide:%python_provide python3-%{pypi_name}}
55 shlomif 1351086
56 kekepower 1224532 Requires: python3dist(cffi) >= 1.0.0
57     Requires: python3dist(coverage)
58     Requires: python3dist(hypothesis)
59     Requires: python3dist(pytest)
60     Requires: python3dist(six)
61     Requires: python3dist(sphinx)
62    
63     %description -n python3-%{pypi_name}
64     CFFI-based Argon2 Bindings for Python .. image::
65    
66     %package -n python-%{pypi_name}-doc
67     Summary: argon2_cffi documentation
68     %description -n python-%{pypi_name}-doc
69     Documentation for argon2_cffi
70    
71     %prep
72     %autosetup -n %{pypi_name}-%{version}
73     # Remove bundled egg-info
74     rm -rf %{pypi_name}.egg-info
75    
76     %build
77     %py2_build
78     %py3_build
79     # generate html docs
80     PYTHONPATH=${PWD} sphinx-build-3 docs html
81     # remove the sphinx-build leftovers
82     rm -rf html/.{doctrees,buildinfo}
83    
84     %install
85     # Must do the default python version install last because
86     # the scripts in /usr/bin are overwritten with every setup.py install.
87     %py2_install
88     %py3_install
89    
90     %check
91     %{__python2} setup.py test
92     %{__python3} setup.py test
93    
94     %files -n python2-%{pypi_name}
95     %license LICENSE docs/license.rst extras/libargon2/LICENSE
96     %doc README.rst extras/libargon2/README.md
97     %{python2_sitearch}/argon2
98     %{python2_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info
99    
100     %files -n python3-%{pypi_name}
101     %license LICENSE docs/license.rst extras/libargon2/LICENSE
102     %doc README.rst extras/libargon2/README.md
103     %{python3_sitearch}/argon2
104     %{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info
105    
106     %files -n python-%{pypi_name}-doc
107     %doc html
108     %license LICENSE docs/license.rst extras/libargon2/LICENSE
109    

  ViewVC Help
Powered by ViewVC 1.1.30