summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 04:11:46 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 04:11:46 +0000
commit2c981b6dde06dfa940e42e26904e715718ae506c (patch)
treee9212ff23d7bd2d571ea2f7ded4ba7c35da877f4
parent31fe7668957db3daada577a5c7e5190eee761cde (diff)
automatic import of python-pysparkauditopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pysparkaudit.spec185
-rw-r--r--sources1
3 files changed, 187 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..96b2fbb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PySparkAudit-1.0.0.tar.gz
diff --git a/python-pysparkaudit.spec b/python-pysparkaudit.spec
new file mode 100644
index 0000000..7d829d5
--- /dev/null
+++ b/python-pysparkaudit.spec
@@ -0,0 +1,185 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PySparkAudit
+Version: 1.0.0
+Release: 1
+Summary: PySpark Data Audit library
+License: MIT
+URL: https://github.com/runawayhorse001/PySparkAudit.git
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d0/38/e5a793cc77d834570365b49ccabc2fd3ca1806f2ec2b60c3d26c81f79c8a/PySparkAudit-1.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-matplotlib
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-seaborn
+Requires: python3-xlsxwriter
+
+%description
+# PySparkAudit: PySpark Data Audit
+
+This is our PySpark Data Audit library repositories.
+The ``API`` can be found at: https://runawayhorse001.github.io/PySparkAudit.
+If you want to install it, you can
+
+### Install from PyPI
+
+You can install the PySparkAudit from [PyPI](https://pypi.org/project/PySparkAudit):
+
+ pip install PySparkAudit
+
+### Install from Repo
+
+Or you can istall the PySparkAudit from the repo:
+
+#### 1. clone
+
+ git clone https://github.com/runawayhorse001/PySparkAudit.git
+
+#### 2. install
+
+ cd PySparkAudit
+ pip install -r requirements.txt
+ python setup.py install
+
+#### 3. test
+
+ cd PySparkAudit/test
+ python test.py
+
+#### 4. uninstall
+
+ pip uninstall PySparkAudit
+
+
+
+
+%package -n python3-PySparkAudit
+Summary: PySpark Data Audit library
+Provides: python-PySparkAudit
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-PySparkAudit
+# PySparkAudit: PySpark Data Audit
+
+This is our PySpark Data Audit library repositories.
+The ``API`` can be found at: https://runawayhorse001.github.io/PySparkAudit.
+If you want to install it, you can
+
+### Install from PyPI
+
+You can install the PySparkAudit from [PyPI](https://pypi.org/project/PySparkAudit):
+
+ pip install PySparkAudit
+
+### Install from Repo
+
+Or you can istall the PySparkAudit from the repo:
+
+#### 1. clone
+
+ git clone https://github.com/runawayhorse001/PySparkAudit.git
+
+#### 2. install
+
+ cd PySparkAudit
+ pip install -r requirements.txt
+ python setup.py install
+
+#### 3. test
+
+ cd PySparkAudit/test
+ python test.py
+
+#### 4. uninstall
+
+ pip uninstall PySparkAudit
+
+
+
+
+%package help
+Summary: Development documents and examples for PySparkAudit
+Provides: python3-PySparkAudit-doc
+%description help
+# PySparkAudit: PySpark Data Audit
+
+This is our PySpark Data Audit library repositories.
+The ``API`` can be found at: https://runawayhorse001.github.io/PySparkAudit.
+If you want to install it, you can
+
+### Install from PyPI
+
+You can install the PySparkAudit from [PyPI](https://pypi.org/project/PySparkAudit):
+
+ pip install PySparkAudit
+
+### Install from Repo
+
+Or you can istall the PySparkAudit from the repo:
+
+#### 1. clone
+
+ git clone https://github.com/runawayhorse001/PySparkAudit.git
+
+#### 2. install
+
+ cd PySparkAudit
+ pip install -r requirements.txt
+ python setup.py install
+
+#### 3. test
+
+ cd PySparkAudit/test
+ python test.py
+
+#### 4. uninstall
+
+ pip uninstall PySparkAudit
+
+
+
+
+%prep
+%autosetup -n PySparkAudit-1.0.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-PySparkAudit -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..87e29a1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+dd3cea6b066c176f323c1f6e9e2779ee PySparkAudit-1.0.0.tar.gz