From e89fd8dadf60a5148560eaa11a3e4f53b223c76b443126da1fb0ab0392484366 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Wed, 23 Oct 2024 19:08:15 +0000 Subject: [PATCH] baserev update by copy to link target OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-notfound-page?expand=0&rev=4 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + python-sphinx-notfound-page.changes | 4 +++ python-sphinx-notfound-page.spec | 56 +++++++++++++++++++++++++++++ sphinx_notfound_page-1.0.4.tar.gz | 3 ++ 5 files changed, 87 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-sphinx-notfound-page.changes create mode 100644 python-sphinx-notfound-page.spec create mode 100644 sphinx_notfound_page-1.0.4.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-notfound-page.changes b/python-sphinx-notfound-page.changes new file mode 100644 index 0000000..9a01a3b --- /dev/null +++ b/python-sphinx-notfound-page.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Oct 22 13:10:50 UTC 2024 - Dirk Müller + +- Initial package (1.0.4) diff --git a/python-sphinx-notfound-page.spec b/python-sphinx-notfound-page.spec new file mode 100644 index 0000000..b195eae --- /dev/null +++ b/python-sphinx-notfound-page.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-sphinx-notfound-page +# +# 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/ +# + + +Name: python-sphinx-notfound-page +Version: 1.0.4 +Release: 0 +Summary: Sphinx extension to build a 404 page with absolute URLs +License: MIT +URL: None +Source: https://files.pythonhosted.org/packages/source/s/sphinx-notfound-page/sphinx_notfound_page-%{version}.tar.gz +BuildRequires: %{python_module flit-core >= 3.2} +BuildRequires: %{python_module pip} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Sphinx >= 5 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Sphinx >= 5} +# /SECTION +%python_subpackages + +%description +Create a custom 404 page with absolute URLs hardcoded. + +Check out the full documentation at https://sphinx-notfound-page.readthedocs.io/ + +%prep +%autosetup -p1 -n sphinx_notfound_page-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%{python_sitelib}/notfound +%{python_sitelib}/sphinx_notfound_page-%{version}.dist-info + +%changelog diff --git a/sphinx_notfound_page-1.0.4.tar.gz b/sphinx_notfound_page-1.0.4.tar.gz new file mode 100644 index 0000000..c294876 --- /dev/null +++ b/sphinx_notfound_page-1.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a52f49cd367b5c4e64072de1591cc367714098500abf4ecb9a3ecb4fec25aae +size 519228