diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 18:47:23 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 18:47:23 +0000 |
| commit | 1fc3f65c3922fa0fa38a691a4e00dff46e61b5bb (patch) | |
| tree | 4a80e0c9d53b46fde64838b866c8e9e0506379da /python-lmfit.spec | |
| parent | aa226073bef999567039ad12289bc81e7ab5c69c (diff) | |
automatic import of python-lmfit
Diffstat (limited to 'python-lmfit.spec')
| -rw-r--r-- | python-lmfit.spec | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/python-lmfit.spec b/python-lmfit.spec new file mode 100644 index 0000000..2199d0a --- /dev/null +++ b/python-lmfit.spec @@ -0,0 +1,124 @@ +%global _empty_manifest_terminate_build 0 +Name: python-lmfit +Version: 1.2.0 +Release: 1 +Summary: Least-Squares Minimization with Bounds and Constraints +License: BSD 3-Clause +URL: https://lmfit.github.io//lmfit-py/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/88/4e/25dbc02731f1b046861529b87e6ae4657c3e8f8a8543bae9d12b56a02bb3/lmfit-1.2.0.tar.gz +BuildArch: noarch + +Requires: python3-asteval +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-uncertainties +Requires: python3-build +Requires: python3-check-wheel-contents +Requires: python3-pre-commit +Requires: python3-twine +Requires: python3-codecov +Requires: python3-coverage +Requires: python3-flaky +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-cairosvg +Requires: python3-corner +Requires: python3-dill +Requires: python3-emcee +Requires: python3-ipykernel +Requires: python3-jupyter-sphinx +Requires: python3-matplotlib +Requires: python3-numdifftools +Requires: python3-pandas +Requires: python3-Pillow +Requires: python3-Sphinx +Requires: python3-sphinx-gallery +Requires: python3-sphinxcontrib-svg2pdfconverter +Requires: python3-sympy +Requires: python3-pycairo +Requires: python3-build +Requires: python3-check-wheel-contents +Requires: python3-pre-commit +Requires: python3-twine +Requires: python3-cairosvg +Requires: python3-corner +Requires: python3-dill +Requires: python3-emcee +Requires: python3-ipykernel +Requires: python3-jupyter-sphinx +Requires: python3-matplotlib +Requires: python3-numdifftools +Requires: python3-pandas +Requires: python3-Pillow +Requires: python3-Sphinx +Requires: python3-sphinx-gallery +Requires: python3-sphinxcontrib-svg2pdfconverter +Requires: python3-sympy +Requires: python3-pycairo +Requires: python3-codecov +Requires: python3-coverage +Requires: python3-flaky +Requires: python3-pytest +Requires: python3-pytest-cov + +%description + + +%package -n python3-lmfit +Summary: Least-Squares Minimization with Bounds and Constraints +Provides: python-lmfit +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-lmfit + + +%package help +Summary: Development documents and examples for lmfit +Provides: python3-lmfit-doc +%description help + + +%prep +%autosetup -n lmfit-1.2.0 + +%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-lmfit -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1 +- Package Spec generated |
