commit 19f1129400077620c27b0daf2c99eb8f7da0c6b7c7e69fb9afa225d1aa94d466 Author: Tomáš Chvátal Date: Sun Apr 5 07:11:45 2020 +0000 Accepting request 791407 from home:mnhauke Initial package for python-tableprint OBS-URL: https://build.opensuse.org/request/show/791407 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tableprint?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/python-tableprint.changes b/python-tableprint.changes new file mode 100644 index 0000000..94b3bba --- /dev/null +++ b/python-tableprint.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Apr 3 18:31:38 UTC 2020 - Martin Hauke + +- Initial package, version 0.8.0 diff --git a/python-tableprint.spec b/python-tableprint.spec new file mode 100644 index 0000000..12d2035 --- /dev/null +++ b/python-tableprint.spec @@ -0,0 +1,67 @@ +# +# spec file for package python-tableprint +# +# Copyright (c) 2020, Martin Hauke +# +# 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/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-tableprint +Version: 0.8.0 +Release: 0 +Summary: Pretty console printing of tabular data +License: MIT +Group: Development/Languages/Python +URL: https://github.com/nirum/tableprint +Source: https://github.com/nirum/tableprint/archive/v%{version}.tar.gz#/tableprint-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module future} +BuildRequires: %{python_module pandas} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module six} +BuildRequires: %{python_module wcwidth} +# /SECTION +Requires: python-future +Requires: python-six +Requires: python-wcwidth +BuildArch: noarch +%python_subpackages + +%description +Formatted console printing of tabular data. +tableprint lets you easily print formatted tables of data. +Unlike other modules, you can print single rows of data at a time +(useful for printing ongoing computation results). + +%prep +%setup -q -n tableprint-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%license License.md +%doc README.md +%{python_sitelib}/* + +%changelog diff --git a/tableprint-0.8.0.tar.gz b/tableprint-0.8.0.tar.gz new file mode 100644 index 0000000..283688a --- /dev/null +++ b/tableprint-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:defc30094ce34a3237c07447398c0e939c70ba66b29800eccdd9b512431493f4 +size 158757