summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 09:31:11 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 09:31:11 +0000
commitdec29b0e8b910b5cd691ed20375cd6ccb1a2347e (patch)
tree22d0af1c20e412500b8e3a944afca10e531b0b78
parentd5f089fc26b75878d7637c06028d3f839935cec2 (diff)
automatic import of python-scoop
-rw-r--r--.gitignore1
-rw-r--r--python-scoop.spec102
-rw-r--r--sources1
3 files changed, 104 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..72efb64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/scoop-0.7.2.0.tar.gz
diff --git a/python-scoop.spec b/python-scoop.spec
new file mode 100644
index 0000000..ee2ffeb
--- /dev/null
+++ b/python-scoop.spec
@@ -0,0 +1,102 @@
+%global _empty_manifest_terminate_build 0
+Name: python-scoop
+Version: 0.7.2.0
+Release: 1
+Summary: Scalable COncurrent Operations in Python
+License: LGPL
+URL: http://pyscoop.org
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cb/76/55d6cb5b4a4e221d0f4054420258045dea917f20f051d469a5b344535970/scoop-0.7.2.0.tar.gz
+BuildArch: noarch
+
+
+%description
+SCOOP was designed from the following ideas:
+ * The **future** is parallel;
+ * Simple is beautiful;
+ * Parallelism should be simpler.
+These tenets are translated concretely in a **minimum number of functions**
+allowing **maximum parallel efficiency** while keeping at **minimum the
+inner knowledge required** to use them. It is implemented with Python 3 in mind
+while being compatible with Python 2.6+ to allow fast prototyping without sacrificing
+efficiency and speed.
+Some comments we received on SCOOP:
+ * "I must say that that was by far the easiest upgrade I have probably ever done. I still need to build and test it on the cluster, but on my development machine it took about 10 minutes to upgrade and test." [deap mailing list](https://groups.google.com/d/msg/deap-users/chQY-2HHZWM/4qZRkQuvbbIJ EBo)
+
+%package -n python3-scoop
+Summary: Scalable COncurrent Operations in Python
+Provides: python-scoop
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-scoop
+SCOOP was designed from the following ideas:
+ * The **future** is parallel;
+ * Simple is beautiful;
+ * Parallelism should be simpler.
+These tenets are translated concretely in a **minimum number of functions**
+allowing **maximum parallel efficiency** while keeping at **minimum the
+inner knowledge required** to use them. It is implemented with Python 3 in mind
+while being compatible with Python 2.6+ to allow fast prototyping without sacrificing
+efficiency and speed.
+Some comments we received on SCOOP:
+ * "I must say that that was by far the easiest upgrade I have probably ever done. I still need to build and test it on the cluster, but on my development machine it took about 10 minutes to upgrade and test." [deap mailing list](https://groups.google.com/d/msg/deap-users/chQY-2HHZWM/4qZRkQuvbbIJ EBo)
+
+%package help
+Summary: Development documents and examples for scoop
+Provides: python3-scoop-doc
+%description help
+SCOOP was designed from the following ideas:
+ * The **future** is parallel;
+ * Simple is beautiful;
+ * Parallelism should be simpler.
+These tenets are translated concretely in a **minimum number of functions**
+allowing **maximum parallel efficiency** while keeping at **minimum the
+inner knowledge required** to use them. It is implemented with Python 3 in mind
+while being compatible with Python 2.6+ to allow fast prototyping without sacrificing
+efficiency and speed.
+Some comments we received on SCOOP:
+ * "I must say that that was by far the easiest upgrade I have probably ever done. I still need to build and test it on the cluster, but on my development machine it took about 10 minutes to upgrade and test." [deap mailing list](https://groups.google.com/d/msg/deap-users/chQY-2HHZWM/4qZRkQuvbbIJ EBo)
+
+%prep
+%autosetup -n scoop-0.7.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-scoop -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.2.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d182d3c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+85f57f27e2c8c04fe89325a8c9619e1e scoop-0.7.2.0.tar.gz