summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 03:27:31 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 03:27:31 +0000
commit042ec1b58618fd769e1021c0f1dfa72f6b0169ec (patch)
tree4fd46a98595ed77938406881593fe39b6baee4a0
parent7ca4adee374321ae9d167dae2aaa9bbde5105ba0 (diff)
automatic import of python-ipython-cluster-helper
-rw-r--r--.gitignore1
-rw-r--r--python-ipython-cluster-helper.spec78
-rw-r--r--sources1
3 files changed, 80 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c119c00 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ipython-cluster-helper-0.6.4.tar.gz
diff --git a/python-ipython-cluster-helper.spec b/python-ipython-cluster-helper.spec
new file mode 100644
index 0000000..e276097
--- /dev/null
+++ b/python-ipython-cluster-helper.spec
@@ -0,0 +1,78 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ipython-cluster-helper
+Version: 0.6.4
+Release: 1
+Summary: Simplify IPython cluster start up and use for multiple schedulers.
+License: MIT
+URL: https://github.com/roryk/ipython-cluster-helper
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5a/58/9a63fa4168eb27801317dba2ccbe578da8e93f3b44e2b2c4fc59b4b3a9d0/ipython-cluster-helper-0.6.4.tar.gz
+BuildArch: noarch
+
+
+%description
+Quickly and easily parallelize Python functions using IPython on a
+cluster, supporting multiple schedulers. Optimizes IPython defaults to
+handle larger clusters and simultaneous processes.
+
+%package -n python3-ipython-cluster-helper
+Summary: Simplify IPython cluster start up and use for multiple schedulers.
+Provides: python-ipython-cluster-helper
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ipython-cluster-helper
+Quickly and easily parallelize Python functions using IPython on a
+cluster, supporting multiple schedulers. Optimizes IPython defaults to
+handle larger clusters and simultaneous processes.
+
+%package help
+Summary: Development documents and examples for ipython-cluster-helper
+Provides: python3-ipython-cluster-helper-doc
+%description help
+Quickly and easily parallelize Python functions using IPython on a
+cluster, supporting multiple schedulers. Optimizes IPython defaults to
+handle larger clusters and simultaneous processes.
+
+%prep
+%autosetup -n ipython-cluster-helper-0.6.4
+
+%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-ipython-cluster-helper -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2ec2145
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3f1dc937c0bfe18d03265c25aa282cea ipython-cluster-helper-0.6.4.tar.gz