%global _empty_manifest_terminate_build 0 Name: python-uncertainties Version: 3.1.7 Release: 1 Summary: Transparent calculations with uncertainties on the quantities involved (aka error propagation); fast calculation of derivatives License: Revised BSD License URL: http://uncertainties-python-package.readthedocs.io/ Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9d/22/34b918373b9626a50117abd31c0185b96ad1242e46096d6b0a2ef6dd4303/uncertainties-3.1.7.tar.gz BuildArch: noarch Requires: python3-future Requires: python3-sphinx Requires: python3-nose Requires: python3-numpy Requires: python3-sphinx Requires: python3-numpy Requires: python3-nose Requires: python3-numpy %description ``uncertainties`` allows **calculations** such as (2 +/- 0.1)*2 = 4 +/- 0.2 to be **performed transparently**. Much more complex mathematical expressions involving numbers with uncertainties can also be evaluated directly. The ``uncertainties`` package **takes the pain and complexity out** of uncertainty calculations. **Detailed information** about this package can be found on its `main website`_. %package -n python3-uncertainties Summary: Transparent calculations with uncertainties on the quantities involved (aka error propagation); fast calculation of derivatives Provides: python-uncertainties BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-uncertainties ``uncertainties`` allows **calculations** such as (2 +/- 0.1)*2 = 4 +/- 0.2 to be **performed transparently**. Much more complex mathematical expressions involving numbers with uncertainties can also be evaluated directly. The ``uncertainties`` package **takes the pain and complexity out** of uncertainty calculations. **Detailed information** about this package can be found on its `main website`_. %package help Summary: Development documents and examples for uncertainties Provides: python3-uncertainties-doc %description help ``uncertainties`` allows **calculations** such as (2 +/- 0.1)*2 = 4 +/- 0.2 to be **performed transparently**. Much more complex mathematical expressions involving numbers with uncertainties can also be evaluated directly. The ``uncertainties`` package **takes the pain and complexity out** of uncertainty calculations. **Detailed information** about this package can be found on its `main website`_. %prep %autosetup -n uncertainties-3.1.7 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-uncertainties -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon Apr 10 2023 Python_Bot - 3.1.7-1 - Package Spec generated