summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 16:06:52 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 16:06:52 +0000
commit6391365fd681c94b502f73b7fbdd47f222875614 (patch)
treedd75a4ea1e1f16e372baffa493c8fe95fd5dae64
parentcee19902027c2aa816f67f1330ed1f9277adaff0 (diff)
automatic import of python-interpret-core
-rw-r--r--.gitignore1
-rw-r--r--python-interpret-core.spec117
-rw-r--r--sources1
3 files changed, 119 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d116d10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/interpret-core-0.3.2.tar.gz
diff --git a/python-interpret-core.spec b/python-interpret-core.spec
new file mode 100644
index 0000000..a6ed626
--- /dev/null
+++ b/python-interpret-core.spec
@@ -0,0 +1,117 @@
+%global _empty_manifest_terminate_build 0
+Name: python-interpret-core
+Version: 0.3.2
+Release: 1
+Summary: Fit interpretable models. Explain blackbox machine learning.
+License: MIT License
+URL: https://github.com/interpretml/interpret
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a2/37/96b563770def24266859abd00b8932411d5a7dd240479ad85bbca19077c8/interpret-core-0.3.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-dash
+Requires: python3-dash-core-components
+Requires: python3-dash-html-components
+Requires: python3-dash-table
+Requires: python3-dash-cytoscape
+Requires: python3-gevent
+Requires: python3-requests
+Requires: python3-psutil
+Requires: python3-joblib
+Requires: python3-joblib
+Requires: python3-lime
+Requires: python3-ipykernel
+Requires: python3-ipython
+Requires: python3-plotly
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-pandas
+Requires: python3-scikit-learn
+Requires: python3-joblib
+Requires: python3-SALib
+Requires: python3-shap
+Requires: python3-dill
+Requires: python3-skope-rules
+Requires: python3-pytest
+Requires: python3-pytest-runner
+Requires: python3-pytest-xdist
+Requires: python3-nbconvert
+Requires: python3-selenium
+Requires: python3-pytest-cov
+Requires: python3-flake8
+Requires: python3-jupyter
+Requires: python3-ipywidgets
+Requires: python3-treeinterpreter
+
+%description
+
+Core system for the interpret package.
+
+https://github.com/interpretml/interpret
+
+
+%package -n python3-interpret-core
+Summary: Fit interpretable models. Explain blackbox machine learning.
+Provides: python-interpret-core
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-interpret-core
+
+Core system for the interpret package.
+
+https://github.com/interpretml/interpret
+
+
+%package help
+Summary: Development documents and examples for interpret-core
+Provides: python3-interpret-core-doc
+%description help
+
+Core system for the interpret package.
+
+https://github.com/interpretml/interpret
+
+
+%prep
+%autosetup -n interpret-core-0.3.2
+
+%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-interpret-core -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..9f7fa30
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5e56b8e7a085f5124e9a1b0db7043a93 interpret-core-0.3.2.tar.gz