From c8506d54a554a3666c4e1f34e29adaf2889e9c5bf23b5f47934543dfffd1cb3f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 10 Mar 2023 09:13:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autobuild?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + python-sphinx-autobuild.changes | 4 ++ python-sphinx-autobuild.spec | 73 +++++++++++++++++++++++++++++++ sphinx-autobuild-2021.3.14.tar.gz | 3 ++ 5 files changed, 104 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-sphinx-autobuild.changes create mode 100644 python-sphinx-autobuild.spec create mode 100644 sphinx-autobuild-2021.3.14.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-autobuild.changes b/python-sphinx-autobuild.changes new file mode 100644 index 0000000..89c1880 --- /dev/null +++ b/python-sphinx-autobuild.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Mar 6 13:04:27 UTC 2023 - Daniel Garcia + +- Initial package (2021.3.14) diff --git a/python-sphinx-autobuild.spec b/python-sphinx-autobuild.spec new file mode 100644 index 0000000..2b867cc --- /dev/null +++ b/python-sphinx-autobuild.spec @@ -0,0 +1,73 @@ +# +# spec file for package python-sphinx-autobuild +# +# 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/ +# + + +Name: python-sphinx-autobuild +Version: 2021.3.14 +Release: 0 +Summary: Rebuild Sphinx documentation on changes, with live-reload in the browser +License: MIT +URL: https://github.com/executablebooks/sphinx-autobuild +Source: https://files.pythonhosted.org/packages/source/s/sphinx-autobuild/sphinx-autobuild-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module colorama} +BuildRequires: %{python_module livereload} +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION +BuildRequires: fdupes +Requires: python-colorama +Requires: python-livereload +Requires: python-Sphinx +Requires(post): update-alternatives +Requires(postun):update-alternatives +BuildArch: noarch +%python_subpackages + +%description +Rebuild Sphinx documentation on changes, with live-reload in the browser. + +%prep +%setup -q -n sphinx-autobuild-%{version} + +%build +%python_build + +%install +%python_install +%python_clone -a %{buildroot}%{_bindir}/sphinx-autobuild +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%post +%python_install_alternative sphinx-autobuild + +%postun +%python_uninstall_alternative sphinx-autobuild + +%files %{python_files} +%doc AUTHORS NEWS.rst README.md +%license LICENSE +%python_alternative %{_bindir}/sphinx-autobuild +%{python_sitelib}/sphinx_autobuild +%{python_sitelib}/sphinx_autobuild-%{version}*-info + +%changelog diff --git a/sphinx-autobuild-2021.3.14.tar.gz b/sphinx-autobuild-2021.3.14.tar.gz new file mode 100644 index 0000000..3f9ffb2 --- /dev/null +++ b/sphinx-autobuild-2021.3.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1ca3b66e271d2b5b5140c35034c89e47f263f2cd5db302c9217065f7443f05 +size 206402