From 12ba62773df954217350eadbcc072c6a88e798bcb160e11d502df1294bbe8dc3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 2 Oct 2024 08:31:45 +0000 Subject: [PATCH] Accepting request 1203952 from Application:Geo New packages needed to build GMT. OBS-URL: https://build.opensuse.org/request/show/1203952 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-togglebutton?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + ...on-sphinxcontrib-togglebutton-0.3.2.tar.gz | 3 + python-sphinxcontrib-togglebutton.changes | 4 ++ python-sphinxcontrib-togglebutton.spec | 64 +++++++++++++++++++ 5 files changed, 95 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-sphinxcontrib-togglebutton-0.3.2.tar.gz create mode 100644 python-sphinxcontrib-togglebutton.changes create mode 100644 python-sphinxcontrib-togglebutton.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/python-sphinxcontrib-togglebutton-0.3.2.tar.gz b/python-sphinxcontrib-togglebutton-0.3.2.tar.gz new file mode 100644 index 0000000..5fd5e36 --- /dev/null +++ b/python-sphinxcontrib-togglebutton-0.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fee01fe18ff6eadb32a047c240d85edf4dbd11a244b31e61f71040a29f5fe8cf +size 13067 diff --git a/python-sphinxcontrib-togglebutton.changes b/python-sphinxcontrib-togglebutton.changes new file mode 100644 index 0000000..096fc25 --- /dev/null +++ b/python-sphinxcontrib-togglebutton.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Sep 26 17:05:34 UTC 2024 - Dirk Stoecker + +- first version diff --git a/python-sphinxcontrib-togglebutton.spec b/python-sphinxcontrib-togglebutton.spec new file mode 100644 index 0000000..ba6dc33 --- /dev/null +++ b/python-sphinxcontrib-togglebutton.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-sphinxcontrib-design +# +# 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-sphinxcontrib-togglebutton +Version: 0.3.2 +Release: 0 +Summary: Make it possible to add a "toggle button" to sections of your page +License: MIT +URL: https://sphinx-togglebutton.readthedocs.io/ +Source: https://github.com/executablebooks/sphinx-togglebutton/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Sphinx >= 1.8 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Sphinx >= 1.8} +# /SECTION +%python_subpackages + +%description +A small sphinx extension to make it possible to add a "toggle button" to sections of your page. This allows you to: + +* Collapse Sphinx admonitions (notes, warnings, etc) so that their content is hidden until users click a toggle button. +* Collapse arbitrary chunks of content on your page with a collapse directive. + +%prep +%setup -q -n sphinx-togglebutton-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +#%#tox + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/sphinx_togglebutton* + +%changelog