summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 07:52:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 07:52:23 +0000
commit4beb177ec346836e3a31736348a8fbaf1e475a8a (patch)
treeabad3d3d6938757c384deecc64be7bc4ee7cd429
parent60d69d31f20af5b7c3ed749cbe7a6518fed0ab0e (diff)
automatic import of python-sparkmonopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-sparkmon.spec88
-rw-r--r--sources1
3 files changed, 90 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..feaac5a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sparkmon-0.1.10.tar.gz
diff --git a/python-sparkmon.spec b/python-sparkmon.spec
new file mode 100644
index 0000000..4851342
--- /dev/null
+++ b/python-sparkmon.spec
@@ -0,0 +1,88 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sparkmon
+Version: 0.1.10
+Release: 1
+Summary: sparkmon
+License: MIT
+URL: https://github.com/stephanecollot/sparkmon
+Source0: https://mirrors.aliyun.com/pypi/web/packages/0d/f1/0a89bee4b3fddf997aeeb157f6bf8ff9ed83da2ce2ed4869fc3943a91f50/sparkmon-0.1.10.tar.gz
+BuildArch: noarch
+
+Requires: python3-click
+Requires: python3-data-science-types
+Requires: python3-ipython
+Requires: python3-matplotlib
+Requires: python3-mlflow
+Requires: python3-pandas
+Requires: python3-pandas-stubs
+Requires: python3-psutil
+Requires: python3-pyspark
+Requires: python3-urlpath
+
+%description
+|PyPI| |Python Version| |License|
+|Read the Docs| |Tests| |Codecov|
+|pre-commit| |Black|
+
+%package -n python3-sparkmon
+Summary: sparkmon
+Provides: python-sparkmon
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sparkmon
+|PyPI| |Python Version| |License|
+|Read the Docs| |Tests| |Codecov|
+|pre-commit| |Black|
+
+%package help
+Summary: Development documents and examples for sparkmon
+Provides: python3-sparkmon-doc
+%description help
+|PyPI| |Python Version| |License|
+|Read the Docs| |Tests| |Codecov|
+|pre-commit| |Black|
+
+%prep
+%autosetup -n sparkmon-0.1.10
+
+%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-sparkmon -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.10-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..6f4ad4f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a5c4b5404786c83d9a6e73f6aab51705 sparkmon-0.1.10.tar.gz