summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 06:12:39 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 06:12:39 +0000
commitd9a3ba5979464efcdc9f7bf6cc21a7cf4cad0ddb (patch)
tree839acfea8d2434a9c90f08e13ff166cba8ea2bae
parent7ba6b766ad80c31dbdac6b21529b843bf7328c4b (diff)
automatic import of python-py-pde
-rw-r--r--.gitignore1
-rw-r--r--python-py-pde.spec130
-rw-r--r--sources1
3 files changed, 132 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a14002d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/py-pde-0.29.0.tar.gz
diff --git a/python-py-pde.spec b/python-py-pde.spec
new file mode 100644
index 0000000..b6a6018
--- /dev/null
+++ b/python-py-pde.spec
@@ -0,0 +1,130 @@
+%global _empty_manifest_terminate_build 0
+Name: python-py-pde
+Version: 0.29.0
+Release: 1
+Summary: Python package for solving partial differential equations
+License: MIT
+URL: https://pypi.org/project/py-pde/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8c/71/9f60f181b62fc34f8cb33bfbc34949040ce87e53c25c577b97deb05e0d34/py-pde-0.29.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-matplotlib
+Requires: python3-numba
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-sympy
+Requires: python3-tqdm
+Requires: python3-h5py
+Requires: python3-napari
+Requires: python3-ipywidgets
+Requires: python3-h5py
+Requires: python3-pandas
+Requires: python3-numba-mpi
+Requires: python3-mpi4py
+
+%description
+`py-pde` is available on `pypi`, so you should be able to install it through `pip`:
+```bash
+pip install py-pde
+```
+In order to have all features of the package available, you might want to
+install the following optional packages:
+```bash
+pip install h5py pandas tqdm
+```
+Moreover, `ffmpeg` needs to be installed for creating movies.
+As an alternative, you can install `py-pde` through [conda](https://docs.conda.io/en/latest/)
+using [conda-forge](https://conda-forge.org/) channel:
+```bash
+conda install -c conda-forge py-pde
+```
+Installation with `conda` includes all required dependencies to have all features of `py-pde`.
+
+%package -n python3-py-pde
+Summary: Python package for solving partial differential equations
+Provides: python-py-pde
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-py-pde
+`py-pde` is available on `pypi`, so you should be able to install it through `pip`:
+```bash
+pip install py-pde
+```
+In order to have all features of the package available, you might want to
+install the following optional packages:
+```bash
+pip install h5py pandas tqdm
+```
+Moreover, `ffmpeg` needs to be installed for creating movies.
+As an alternative, you can install `py-pde` through [conda](https://docs.conda.io/en/latest/)
+using [conda-forge](https://conda-forge.org/) channel:
+```bash
+conda install -c conda-forge py-pde
+```
+Installation with `conda` includes all required dependencies to have all features of `py-pde`.
+
+%package help
+Summary: Development documents and examples for py-pde
+Provides: python3-py-pde-doc
+%description help
+`py-pde` is available on `pypi`, so you should be able to install it through `pip`:
+```bash
+pip install py-pde
+```
+In order to have all features of the package available, you might want to
+install the following optional packages:
+```bash
+pip install h5py pandas tqdm
+```
+Moreover, `ffmpeg` needs to be installed for creating movies.
+As an alternative, you can install `py-pde` through [conda](https://docs.conda.io/en/latest/)
+using [conda-forge](https://conda-forge.org/) channel:
+```bash
+conda install -c conda-forge py-pde
+```
+Installation with `conda` includes all required dependencies to have all features of `py-pde`.
+
+%prep
+%autosetup -n py-pde-0.29.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-py-pde -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.29.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..377819a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6c9da4e38a0979c80c271a6a8f1ab937 py-pde-0.29.0.tar.gz