From dcd9da11e484f9c2493109fde8a6f63fa065107f8016f4a98136a6a89e5c56a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 4 Oct 2024 12:54:49 +0000 Subject: [PATCH] - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-terminaltables?expand=0&rev=7 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + LICENSE | 21 ++++++++++++ python-terminaltables.changes | 40 +++++++++++++++++++++++ python-terminaltables.spec | 61 +++++++++++++++++++++++++++++++++++ terminaltables-3.1.10.tar.gz | 3 ++ 6 files changed, 149 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 python-terminaltables.changes create mode 100644 python-terminaltables.spec create mode 100644 terminaltables-3.1.10.tar.gz 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/LICENSE b/LICENSE new file mode 100644 index 0000000..80e4b77 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Robpol86 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/python-terminaltables.changes b/python-terminaltables.changes new file mode 100644 index 0000000..8a114f7 --- /dev/null +++ b/python-terminaltables.changes @@ -0,0 +1,40 @@ +------------------------------------------------------------------- +Fri Oct 4 07:52:27 UTC 2024 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Thu Feb 8 09:50:53 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 3.1.10 + * Still fixing pyproject.toml +- from version 3.1.9 + * Fix dead links on PyPi +- from version 3.1.8 + * Fix links +- from version 3.1.7 + * Wheels and pyproject.toml + * Fixing tests by pinning linter pydocstyle. + * Disabling flapping tests. + * Showing time zone in docs. + * Uploading all test PNGs. + * Re-enabled screenshot tests on Windows. + * Updating helper files. Updating deps. +- Switch build system from setuptools to pyproject.toml +- Update BuildRequires from pyproject.toml + +------------------------------------------------------------------- +Mon Mar 18 18:14:32 UTC 2019 - Jan Engelhardt + +- Use noun phrase in summary. + +------------------------------------------------------------------- +Wed Feb 6 02:14:03 UTC 2019 - John Vandenberg + +- package README +- Add LICENSE from git + +------------------------------------------------------------------- +Sun Feb 3 03:55:27 UTC 2019 - John Vandenberg + +- Initial spec for terminaltables v3.1.0 diff --git a/python-terminaltables.spec b/python-terminaltables.spec new file mode 100644 index 0000000..bc012c6 --- /dev/null +++ b/python-terminaltables.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-terminaltables +# +# Copyright (c) 2024 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} +Name: python-terminaltables +Version: 3.1.10 +Release: 0 +Summary: Module for generating tables in terminals from a nested list of strings +License: MIT +Group: Development/Languages/Python +URL: https://github.com/matthewdeanmartin/terminaltables +Source: https://files.pythonhosted.org/packages/source/t/terminaltables/terminaltables-%{version}.tar.gz +Source1: https://raw.githubusercontent.com/matthewdeanmartin/terminaltables/v%{version}/LICENSE +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry >= 0.12} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +Requires: python-colorama >= 0.3.7 +Requires: python-colorclass >= 2.2.0 +Requires: python-termcolor >= 1.1.0 + +%python_subpackages + +%description +terminaltables draws tables in terminal/console applications from a +list of lists of strings, and supports multi-line rows. + +%prep +%setup -q -n terminaltables-%{version} + +%build +cp %SOURCE1 LICENSE +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%license LICENSE +%doc README.md +%{python_sitelib}/* + +%changelog diff --git a/terminaltables-3.1.10.tar.gz b/terminaltables-3.1.10.tar.gz new file mode 100644 index 0000000..ec4506e --- /dev/null +++ b/terminaltables-3.1.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba6eca5cb5ba02bba4c9f4f985af80c54ec3dccf94cfcd190154386255e47543 +size 12264