summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 04:11:39 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 04:11:39 +0000
commit6f74d476ee227155df914037076108815ebc5237 (patch)
tree0c92cba7c5cb585600d83a89ada9b9c384a4eeeb
parent1a1726ab3c91d7019008fa7c74e707004f6452c7 (diff)
automatic import of python-aftool
-rw-r--r--.gitignore1
-rw-r--r--python-aftool.spec102
-rw-r--r--sources1
3 files changed, 104 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7b3c9a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/aftool-0.2.8.tar.gz
diff --git a/python-aftool.spec b/python-aftool.spec
new file mode 100644
index 0000000..ad5920c
--- /dev/null
+++ b/python-aftool.spec
@@ -0,0 +1,102 @@
+%global _empty_manifest_terminate_build 0
+Name: python-aftool
+Version: 0.2.8
+Release: 1
+Summary: Asdil Fibrizo's tool
+License: MIT
+URL: https://github.com/Asdil/aftool
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/74/bf/c2e47eac4438cd9ccda0ad0d48e62a4189f01ab91cdd61592a246f5f1b8a/aftool-0.2.8.tar.gz
+BuildArch: noarch
+
+Requires: python3-tqdm
+Requires: python3-psutil
+Requires: python3-pandas
+Requires: python3-numpy
+Requires: python3-pytest
+Requires: python3-pyecharts
+Requires: python3-snapshot_selenium
+Requires: python3-joblib
+Requires: python3-pip
+Requires: python3-matplotlib
+Requires: python3-seaborn
+Requires: python3-dateutil
+Requires: python3-loguru
+Requires: python3-pycryptodome
+Requires: python3-plotly
+Requires: python3-pymysql
+Requires: python3-DBUtils
+Requires: python3-PyYAML
+
+%description
+# aftool
+[![](https://travis-ci.com/Asdil/aftool.svg?branch=master)](https://travis-ci.com/Asdil/aftool)
+
+Asdil's tool
+
+
+%package -n python3-aftool
+Summary: Asdil Fibrizo's tool
+Provides: python-aftool
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-aftool
+# aftool
+[![](https://travis-ci.com/Asdil/aftool.svg?branch=master)](https://travis-ci.com/Asdil/aftool)
+
+Asdil's tool
+
+
+%package help
+Summary: Development documents and examples for aftool
+Provides: python3-aftool-doc
+%description help
+# aftool
+[![](https://travis-ci.com/Asdil/aftool.svg?branch=master)](https://travis-ci.com/Asdil/aftool)
+
+Asdil's tool
+
+
+%prep
+%autosetup -n aftool-0.2.8
+
+%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-aftool -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.8-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c6bcb25
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+155b3b287eedb9685f18d1ae17924e77 aftool-0.2.8.tar.gz