commit a2bb0d4d65c73ca5afceb99fdb63122c19bfc8e8753ebfc1d1342ad20f37a495 Author: Markéta Machová Date: Thu Jun 12 12:38:26 2025 +0000 - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-version-warning?expand=0&rev=7 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-version-warning.changes b/python-sphinx-version-warning.changes new file mode 100644 index 0000000..3b65e24 --- /dev/null +++ b/python-sphinx-version-warning.changes @@ -0,0 +1,20 @@ +------------------------------------------------------------------- +Thu Jun 12 12:37:15 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Fri Apr 21 12:34:29 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:45:02 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Wed Mar 27 07:13:10 UTC 2019 - pgajdos@suse.com + +- initial version 1.1.2 + diff --git a/python-sphinx-version-warning.spec b/python-sphinx-version-warning.spec new file mode 100644 index 0000000..a41f12d --- /dev/null +++ b/python-sphinx-version-warning.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-sphinx-version-warning +# +# Copyright (c) 2025 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-sphinx-version-warning +Version: 1.1.2 +Release: 0 +Summary: Sphinx extension to add a warning banner +License: MIT +Group: Development/Languages/Python +URL: https://github.com/humitos/sphinx-version-warning +Source: https://files.pythonhosted.org/packages/source/s/sphinx-version-warning/sphinx-version-warning-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Sphinx +BuildArch: noarch +%python_subpackages + +%description +Sphinx extension to add a warning banner + +%prep +%setup -q -n sphinx-version-warning-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# no tests provided + +%files %{python_files} +%doc CHANGELOG.rst README.rst +%license LICENSE +%{python_sitelib}/versionwarning +%{python_sitelib}/sphinx[-_]version[-_]warning-%{version}*-info + +%changelog diff --git a/sphinx-version-warning-1.1.2.tar.gz b/sphinx-version-warning-1.1.2.tar.gz new file mode 100644 index 0000000..f12e85f --- /dev/null +++ b/sphinx-version-warning-1.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9924926fd3e739e32eb42ba2db092ecd7657200107146944fb3e440c9651d945 +size 12240