diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 00:32:56 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 00:32:56 +0000 |
commit | 36de8e366104078fd68698e13b34ea143d623106 (patch) | |
tree | 975f55b37c41ca6623ce5e2fb5e83ec2c202e87a | |
parent | ee83d042df13c577532e3efc1d4e5748cf85a3dd (diff) |
automatic import of python-clevercsv
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-clevercsv.spec | 98 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 100 insertions, 0 deletions
@@ -0,0 +1 @@ +/clevercsv-0.8.0.tar.gz diff --git a/python-clevercsv.spec b/python-clevercsv.spec new file mode 100644 index 0000000..f750e79 --- /dev/null +++ b/python-clevercsv.spec @@ -0,0 +1,98 @@ +%global _empty_manifest_terminate_build 0 +Name: python-clevercsv +Version: 0.8.0 +Release: 1 +Summary: A Python package for handling messy CSV files +License: MIT +URL: https://github.com/alan-turing-institute/CleverCSV +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/00/3c/ac46a426ced44a7f5a5eb5ca83ceb0f8c80760f74c2756a9d16d32e9187c/clevercsv-0.8.0.tar.gz + +Requires: python3-chardet +Requires: python3-regex +Requires: python3-packaging +Requires: python3-sphinx +Requires: python3-m2r2 +Requires: python3-furo +Requires: python3-faust-cchardet +Requires: python3-pandas +Requires: python3-tabview +Requires: python3-wilderness +Requires: python3-green +Requires: python3-pytest +Requires: python3-termcolor +Requires: python3-sphinx +Requires: python3-m2r2 +Requires: python3-furo +Requires: python3-faust-cchardet +Requires: python3-pandas +Requires: python3-tabview +Requires: python3-wilderness +Requires: python3-faust-cchardet +Requires: python3-pandas +Requires: python3-tabview +Requires: python3-wilderness + +%description + + +%package -n python3-clevercsv +Summary: A Python package for handling messy CSV files +Provides: python-clevercsv +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-clevercsv + + +%package help +Summary: Development documents and examples for clevercsv +Provides: python3-clevercsv-doc +%description help + + +%prep +%autosetup -n clevercsv-0.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-clevercsv -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.0-1 +- Package Spec generated @@ -0,0 +1 @@ +f358ce783c5d8a888b57b4b0bebc2a0a clevercsv-0.8.0.tar.gz |