]>
Commit | Line | Data |
---|---|---|
3abee4e5 JB |
1 | Summary: Mathematical statistics functions |
2 | Summary(pl.UTF-8): Matematyczne funkcje statystyczne | |
3 | Name: python-statistics | |
4 | Version: 1.0.3.5 | |
bfcb6940 | 5 | Release: 2 |
3abee4e5 JB |
6 | License: Apache v2.0 |
7 | Group: Libraries/Python | |
8 | #Source0Download: https://pypi.org/simple/statistics/ | |
9 | Source0: https://files.pythonhosted.org/packages/source/s/statistics/statistics-%{version}.tar.gz | |
10 | # Source0-md5: d6d97f3a1a7b3192cff99e0f2b5956c3 | |
11 | URL: https://pypi.org/project/statistics/ | |
12 | BuildRequires: python-modules >= 1:2.6 | |
13 | BuildRequires: python-setuptools | |
14 | BuildRequires: rpm-pythonprov | |
15 | BuildRequires: rpmbuild(macros) >= 1.714 | |
16 | Requires: python-modules >= 1:2.6 | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | A port of Python 3.4 statistics module to Python 2.x. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Port modułu statistics z Pythona 3.4 do Pythona 2.x. | |
25 | ||
26 | %prep | |
27 | %setup -q -n statistics-%{version} | |
28 | ||
29 | %build | |
30 | %py_build | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %py_install | |
36 | ||
37 | %py_postclean | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc README.rst | |
45 | %{py_sitescriptdir}/statistics | |
46 | %{py_sitescriptdir}/statistics-%{version}-py*.egg-info |