summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-bluepyopt.spec104
-rw-r--r--sources1
3 files changed, 106 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f38a3e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/bluepyopt-1.13.196.tar.gz
diff --git a/python-bluepyopt.spec b/python-bluepyopt.spec
new file mode 100644
index 0000000..aaa1617
--- /dev/null
+++ b/python-bluepyopt.spec
@@ -0,0 +1,104 @@
+%global _empty_manifest_terminate_build 0
+Name: python-bluepyopt
+Version: 1.13.196
+Release: 1
+Summary: Bluebrain Python Optimisation Library (bluepyopt)
+License: LGPLv3
+URL: https://github.com/BlueBrain/BluePyOpt
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bc/95/5d8be7781146feb27e69c74740999c191fa02e3d5f28b683fdfa14c43e3d/bluepyopt-1.13.196.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-deap
+Requires: python3-efel
+Requires: python3-ipyparallel
+Requires: python3-pickleshare
+Requires: python3-Jinja2
+Requires: python3-future
+Requires: python3-Pebble
+Requires: python3-scoop
+Requires: python3-pyneuroml
+Requires: python3-libNeuroML
+Requires: python3-LFPy
+Requires: python3-arbor
+Requires: python3-arbor
+Requires: python3-LFPy
+Requires: python3-pyneuroml
+Requires: python3-libNeuroML
+Requires: python3-scoop
+Requires: python3-pyneuroml
+Requires: python3-libNeuroML
+Requires: python3-LFPy
+Requires: python3-arbor
+
+%description
+The Blue Brain Python Optimisation Library (BluePyOpt) is an extensible framework for data-driven model parameter optimisation that wraps and standardises several existing open-source tools. It simplifies the task of creating and sharing these optimisations, and the associated techniques and knowledge. This is achieved by abstracting the optimisation and evaluation tasks into various reusable and flexible discrete elements according to established best-practices.
+
+
+
+
+%package -n python3-bluepyopt
+Summary: Bluebrain Python Optimisation Library (bluepyopt)
+Provides: python-bluepyopt
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-bluepyopt
+The Blue Brain Python Optimisation Library (BluePyOpt) is an extensible framework for data-driven model parameter optimisation that wraps and standardises several existing open-source tools. It simplifies the task of creating and sharing these optimisations, and the associated techniques and knowledge. This is achieved by abstracting the optimisation and evaluation tasks into various reusable and flexible discrete elements according to established best-practices.
+
+
+
+
+%package help
+Summary: Development documents and examples for bluepyopt
+Provides: python3-bluepyopt-doc
+%description help
+The Blue Brain Python Optimisation Library (BluePyOpt) is an extensible framework for data-driven model parameter optimisation that wraps and standardises several existing open-source tools. It simplifies the task of creating and sharing these optimisations, and the associated techniques and knowledge. This is achieved by abstracting the optimisation and evaluation tasks into various reusable and flexible discrete elements according to established best-practices.
+
+
+
+
+%prep
+%autosetup -n bluepyopt-1.13.196
+
+%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-bluepyopt -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.13.196-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..35b839c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+62ceeb67b6913dacc67ef55039ab2248 bluepyopt-1.13.196.tar.gz