summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 04:21:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 04:21:16 +0000
commit9259f0616fd586285313af4815143417ef8debf2 (patch)
treee067b57886021f245cbd710d7df9788e1efff858
parent2e20d65d45fb3c10485094f766fa5456230e68ab (diff)
automatic import of python-sigopt
-rw-r--r--.gitignore1
-rw-r--r--python-sigopt.spec107
-rw-r--r--sources1
3 files changed, 109 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..48f59a0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sigopt-8.8.0.tar.gz
diff --git a/python-sigopt.spec b/python-sigopt.spec
new file mode 100644
index 0000000..3979ce6
--- /dev/null
+++ b/python-sigopt.spec
@@ -0,0 +1,107 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sigopt
+Version: 8.8.0
+Release: 1
+Summary: SigOpt Python API Client
+License: MIT License
+URL: https://sigopt.com/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/91/e5/64030fa665b6018ace10ca9cfcadff2936979cf62e568ecfc32d014ba7ec/sigopt-8.8.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-GitPython
+Requires: python3-PyYAML
+Requires: python3-backoff
+Requires: python3-click
+Requires: python3-packaging
+Requires: python3-pypng
+Requires: python3-requests
+Requires: python3-urllib3
+Requires: python3-Pillow
+Requires: python3-flake8
+Requires: python3-matplotlib
+Requires: python3-mock
+Requires: python3-nose
+Requires: python3-notebook
+Requires: python3-numpy
+Requires: python3-pylint
+Requires: python3-pymongo
+Requires: python3-pyspark
+Requires: python3-pytest
+Requires: python3-setuptools
+Requires: python3-twine
+Requires: python3-scikit-learn
+Requires: python3-vulture
+Requires: python3-xgboost
+Requires: python3-numpy
+Requires: python3-hyperopt
+Requires: python3-hyperopt
+Requires: python3-sigoptlite
+Requires: python3-Pint
+Requires: python3-boto3
+Requires: python3-docker
+Requires: python3-kubernetes
+Requires: python3-pyOpenSSL
+Requires: python3-xgboost
+Requires: python3-numpy
+
+%description
+
+
+%package -n python3-sigopt
+Summary: SigOpt Python API Client
+Provides: python-sigopt
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sigopt
+
+
+%package help
+Summary: Development documents and examples for sigopt
+Provides: python3-sigopt-doc
+%description help
+
+
+%prep
+%autosetup -n sigopt-8.8.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-sigopt -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 8.8.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4ab8837
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ce3589027bed985f1df27d150e9a0ab9 sigopt-8.8.0.tar.gz