commit 67a551df18fa27ec85b1eda8e409edd094c4a9d8445183cc7d84a1f1c0603a71 Author: Dominique Leuenberger Date: Tue May 15 08:08:00 2018 +0000 Accepting request 603775 from devel:languages:python Needed by python-datashader OBS-URL: https://build.opensuse.org/request/show/603775 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastparquet?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/fastparquet-0.0.6.tar.gz b/fastparquet-0.0.6.tar.gz new file mode 100644 index 0000000..16b7bb8 --- /dev/null +++ b/fastparquet-0.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b1d55eec6d971be55918a6fdd3bbc1c6bc62cbaac5f63318d866d3e3c9a8262 +size 110439 diff --git a/python-fastparquet.changes b/python-fastparquet.changes new file mode 100644 index 0000000..22d0763 --- /dev/null +++ b/python-fastparquet.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Thu May 3 14:07:08 UTC 2018 - toddrme2178@gmail.com + +- Use %license tag + +------------------------------------------------------------------- +Thu May 25 12:19:26 UTC 2017 - toddrme2178@gmail.com + +- Initial version diff --git a/python-fastparquet.spec b/python-fastparquet.spec new file mode 100644 index 0000000..c276580 --- /dev/null +++ b/python-fastparquet.spec @@ -0,0 +1,87 @@ +# +# spec file for package python-fastparquet +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +# Test files not included +%bcond_with test + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-fastparquet +Version: 0.0.6 +Release: 0 +Summary: Python support for Parquet file format +License: Apache-2.0 +Group: Development/Languages/Python +Url: https://github.com/martindurant/fastparquet/ +Source: https://files.pythonhosted.org/packages/source/f/fastparquet/fastparquet-%{version}.tar.gz +BuildRequires: %{python_module Cython} +BuildRequires: %{python_module cffi >= 0.6} +BuildRequires: %{python_module numba >= 0.28} +BuildRequires: %{python_module numpy-devel >= 1.11} +BuildRequires: %{python_module pandas} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: %{python_module thriftpy >= 0.3.6} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module Brotli} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-lzo} +BuildRequires: %{python_module python-snappy} +BuildRequires: python-funcsigs +BuildRequires: python-singledispatch +%endif +Requires: python-numba >= 0.28 +Requires: python-numpy >= 1.11 +Requires: python-pandas +Requires: python-six +Requires: python-thriftpy >= 0.3.6 +Recommends: python-python-lzo +Recommends: python-Brotli +Recommends: python-python-snappy +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%python_subpackages + +%description +This is a python implementation of the parquet format, +aiming integrate into python-based big data work-flows. + +%prep +%setup -q -n fastparquet-%{version} + +%build +export CFLAGS="%{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%if %{with test} +%check +%python_exec setup.py test +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc README.rst +%license LICENSE +%{python_sitearch}/* + +%changelog