Removed "Suggests" dependencies.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tabula-py?expand=0&rev=1
This commit is contained in:
commit
1cde02389d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
14
python-tabula-py.changes
Normal file
14
python-tabula-py.changes
Normal file
@ -0,0 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 17:44:19 UTC 2024 - Aline Werner <aline.werner@suse.com>
|
||||
|
||||
- Remove optional dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 16 20:12:06 UTC 2024 - Aline Werner <aline.werner@suse.com>
|
||||
|
||||
- Update to v2.9.3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 8 02:49:22 AM UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v2.2.0
|
72
python-tabula-py.spec
Normal file
72
python-tabula-py.spec
Normal file
@ -0,0 +1,72 @@
|
||||
#
|
||||
# spec file for package python-tabula-py
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-tabula-py
|
||||
Version: 2.9.3
|
||||
Release: 0
|
||||
Summary: Simple wrapper for tabula-java, read tables from PDF into DataFrame
|
||||
License: MIT
|
||||
URL: https://github.com/chezou/tabula-py
|
||||
Source: https://files.pythonhosted.org/packages/source/t/tabula-py/tabula_py-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module setuptools >= 45}
|
||||
BuildRequires: %{python_module setuptools_scm >= 6.2}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module distro}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pandas >= 0.25.3}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module JPype1}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-distro
|
||||
Requires: python-numpy
|
||||
Requires: python-pandas >= 0.25.3
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
tabula-py is a simple Python wrapper of tabula-java, which can read tables in a PDF. You can read tables
|
||||
from a PDF and convert them into a pandas DataFrame. tabula-py also enables you to convert a PDF file into
|
||||
a CSV, a TSV or a JSON file.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n tabula_py-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
|
||||
%check
|
||||
%pytest -k 'not (remote or test_read_pdf_with_silent_true)'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/tabula
|
||||
%{python_sitelib}/tabula_py-%{version}*-info
|
||||
|
||||
|
||||
%changelog
|
3
tabula_py-2.9.3.tar.gz
Normal file
3
tabula_py-2.9.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2e1a458d97f4e4422d82e9ed07c7180711efa623b158d2b7b53303e864e74834
|
||||
size 12459728
|
Loading…
Reference in New Issue
Block a user