From 92521211922f9d8d9e09e3e812a93be5192fe3db828f06e56a8863b88946fd5f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 22 Sep 2023 17:57:13 +0000 Subject: [PATCH] Accepting request 1112937 from home:ojkastl_buildservice:Branch_devel_languages_python new package python-paginate, required by python-mkdocs-material OBS-URL: https://build.opensuse.org/request/show/1112937 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paginate?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + _service | 3 +++ paginate-0.5.6.tar.gz | 3 +++ python-paginate.changes | 4 +++ python-paginate.spec | 60 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 94 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 paginate-0.5.6.tar.gz create mode 100644 python-paginate.changes create mode 100644 python-paginate.spec 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/_service b/_service new file mode 100644 index 0000000..6062efc --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + diff --git a/paginate-0.5.6.tar.gz b/paginate-0.5.6.tar.gz new file mode 100644 index 0000000..cddb36f --- /dev/null +++ b/paginate-0.5.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e86c6ae9933711e7fd3ffb009f51df45353beb356c4e610f5cbb83ebf5dbb5f +size 15567 diff --git a/python-paginate.changes b/python-paginate.changes new file mode 100644 index 0000000..8969ceb --- /dev/null +++ b/python-paginate.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Sep 22 05:51:35 UTC 2023 - Johannes Kastl + +- new package python-paginate, required by python-mkdocs-material diff --git a/python-paginate.spec b/python-paginate.spec new file mode 100644 index 0000000..9fd4e14 --- /dev/null +++ b/python-paginate.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-paginate +# +# Copyright (c) 2023 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-paginate +Version: 0.5.6 +Release: 0 +Summary: Divides large result sets into pages for easier browsing +License: MIT +URL: https://github.com/Signum/paginate +# PyPI tarball does not include tests... +Source: https://github.com/Signum/paginate/archive/%{version}.tar.gz#/paginate-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION +BuildRequires: fdupes +BuildArch: noarch +%python_subpackages + +%description +Divides large result sets into pages for easier browsing + +%prep +%autosetup -p1 -n paginate-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc CHANGELOG.txt README.md +%{python_sitelib}/paginate +%{python_sitelib}/paginate-%{version}.dist-info + +%changelog