[packages/python-statistics] - new
qboosh
qboosh at pld-linux.org
Thu Aug 2 22:45:57 CEST 2018
commit 3abee4e540c25184ce5c5c0a86ee197321819ea0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Aug 2 22:47:55 2018 +0200
- new
python-statistics.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
---
diff --git a/python-statistics.spec b/python-statistics.spec
new file mode 100644
index 0000000..629b20b
--- /dev/null
+++ b/python-statistics.spec
@@ -0,0 +1,46 @@
+Summary: Mathematical statistics functions
+Summary(pl.UTF-8): Matematyczne funkcje statystyczne
+Name: python-statistics
+Version: 1.0.3.5
+Release: 1
+License: Apache v2.0
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/statistics/
+Source0: https://files.pythonhosted.org/packages/source/s/statistics/statistics-%{version}.tar.gz
+# Source0-md5: d6d97f3a1a7b3192cff99e0f2b5956c3
+URL: https://pypi.org/project/statistics/
+BuildRequires: python-modules >= 1:2.6
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python-modules >= 1:2.6
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A port of Python 3.4 statistics module to Python 2.x.
+
+%description -l pl.UTF-8
+Port modułu statistics z Pythona 3.4 do Pythona 2.x.
+
+%prep
+%setup -q -n statistics-%{version}
+
+%build
+%py_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py_install
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py_sitescriptdir}/statistics
+%{py_sitescriptdir}/statistics-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-statistics.git/commitdiff/3abee4e540c25184ce5c5c0a86ee197321819ea0
More information about the pld-cvs-commit
mailing list