From 1fc3f65c3922fa0fa38a691a4e00dff46e61b5bb Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 18:47:23 +0000 Subject: automatic import of python-lmfit --- .gitignore | 1 + python-lmfit.spec | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 126 insertions(+) create mode 100644 python-lmfit.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..efeb385 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/lmfit-1.2.0.tar.gz 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 - 1.2.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..3248a3f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +68ef41759292db7bdd776dac602bd879 lmfit-1.2.0.tar.gz -- cgit v1.2.3