summaryrefslogtreecommitdiff
path: root/python-feather-format.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-feather-format.spec')
-rw-r--r--python-feather-format.spec156
1 files changed, 156 insertions, 0 deletions
diff --git a/python-feather-format.spec b/python-feather-format.spec
new file mode 100644
index 0000000..960e5ed
--- /dev/null
+++ b/python-feather-format.spec
@@ -0,0 +1,156 @@
+%global _empty_manifest_terminate_build 0
+Name: python-feather-format
+Version: 0.4.1
+Release: 1
+Summary: Simple wrapper library to the Apache Arrow-based Feather File Format
+License: Apache License, Version 2.0
+URL: http://github.com/wesm/feather
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/67/e8/ee99f142f19d35588501943510f8217f9dd77184574b0c933c53218e0f19/feather-format-0.4.1.tar.gz
+BuildArch: noarch
+
+
+%description
+## Python interface to the Apache Arrow-based Feather File Format
+
+Feather efficiently stores pandas DataFrame objects on disk. It depends on the
+Apache Arrow for Python
+
+## Installing
+
+```shell
+pip install feather-format
+```
+
+pip users note: ``feather-format`` depends on ``pyarrow`` and may not be
+available on your platform via pip. If that does not work try conda-forge.
+
+From [conda-forge][1]:
+
+```shell
+conda install feather-format -c conda-forge
+```
+
+## Limitations
+
+Some features of pandas are not supported in Feather:
+
+* Non-string column names
+* Row indexes
+* Object-type columns with non-homogeneous data
+
+[1]: https://conda-forge.github.io
+
+%package -n python3-feather-format
+Summary: Simple wrapper library to the Apache Arrow-based Feather File Format
+Provides: python-feather-format
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-feather-format
+## Python interface to the Apache Arrow-based Feather File Format
+
+Feather efficiently stores pandas DataFrame objects on disk. It depends on the
+Apache Arrow for Python
+
+## Installing
+
+```shell
+pip install feather-format
+```
+
+pip users note: ``feather-format`` depends on ``pyarrow`` and may not be
+available on your platform via pip. If that does not work try conda-forge.
+
+From [conda-forge][1]:
+
+```shell
+conda install feather-format -c conda-forge
+```
+
+## Limitations
+
+Some features of pandas are not supported in Feather:
+
+* Non-string column names
+* Row indexes
+* Object-type columns with non-homogeneous data
+
+[1]: https://conda-forge.github.io
+
+%package help
+Summary: Development documents and examples for feather-format
+Provides: python3-feather-format-doc
+%description help
+## Python interface to the Apache Arrow-based Feather File Format
+
+Feather efficiently stores pandas DataFrame objects on disk. It depends on the
+Apache Arrow for Python
+
+## Installing
+
+```shell
+pip install feather-format
+```
+
+pip users note: ``feather-format`` depends on ``pyarrow`` and may not be
+available on your platform via pip. If that does not work try conda-forge.
+
+From [conda-forge][1]:
+
+```shell
+conda install feather-format -c conda-forge
+```
+
+## Limitations
+
+Some features of pandas are not supported in Feather:
+
+* Non-string column names
+* Row indexes
+* Object-type columns with non-homogeneous data
+
+[1]: https://conda-forge.github.io
+
+%prep
+%autosetup -n feather-format-0.4.1
+
+%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-feather-format -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.1-1
+- Package Spec generated