From fb122105f6421a84f802d91576b8194a7ddf33556c16fafcf8a00669631fdecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 29 Jun 2021 09:47:29 +0000 Subject: [PATCH] - Initial package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-tabs?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + python-sphinx-tabs.changes | 4 +++ python-sphinx-tabs.spec | 65 ++++++++++++++++++++++++++++++++++++++ sphinx-tabs-3.1.0.tar.gz | 3 ++ 5 files changed, 96 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-sphinx-tabs.changes create mode 100644 python-sphinx-tabs.spec create mode 100644 sphinx-tabs-3.1.0.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/python-sphinx-tabs.changes b/python-sphinx-tabs.changes new file mode 100644 index 0000000..97a3a1b --- /dev/null +++ b/python-sphinx-tabs.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Jun 29 09:47:05 UTC 2021 - Ondřej Súkup + +- Initial package diff --git a/python-sphinx-tabs.spec b/python-sphinx-tabs.spec new file mode 100644 index 0000000..aaf50f1 --- /dev/null +++ b/python-sphinx-tabs.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-sphinx-tabs +# +# 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +# TODO: use github tarball because upstrean dont distribute tests via pypi +%bcond_with test +Name: python-sphinx-tabs +Version: 3.1.0 +Release: 0 +Summary: Tabbed views for Sphinx +License: MIT +Group: Development/Languages/Python +URL: https://github.com/djungelorm/sphinx-tabs +Source: https://files.pythonhosted.org/packages/source/s/sphinx-tabs/sphinx-tabs-%{version}.tar.gz +BuildRequires: %{python_module Pygments} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module docutils} +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module sphinx-testing} +%endif +Requires: python-Pygments +Requires: python-Sphinx +Requires: python-docutils +BuildArch: noarch + +%python_subpackages + +%description +Create tabbed content in Sphinx documentation when building HTML. + +%prep +%setup -q -n sphinx-tabs-%{version} + +%build +%python_build + +%install +%python_install + +%if %{with test} +%check +%pytest +%endif + +%files %{python_files} +%{python_sitelib}/* + +%changelog diff --git a/sphinx-tabs-3.1.0.tar.gz b/sphinx-tabs-3.1.0.tar.gz new file mode 100644 index 0000000..402b271 --- /dev/null +++ b/sphinx-tabs-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5eee2a869b1226e1f618f0c7ed267e5e3c24425565e6313cad80d00a7119694f +size 14916