From f4c46d3d45754aad27a30937f53acdaa375fa91a034ee735c69bddf95bb3c7bd Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Tue, 7 Jan 2025 15:13:42 +0000 Subject: [PATCH] Accepting request 1235626 from home:mcalabkova:branches:devel:languages:python iNeeded by Weblate --Thi anted those below, will be ignored-- OBS-URL: https://build.opensuse.org/request/show/1235626 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-drf-spectacular-sidecar?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + drf_spectacular_sidecar-2024.12.1.tar.gz | 3 ++ python-drf-spectacular-sidecar.changes | 4 ++ python-drf-spectacular-sidecar.spec | 55 ++++++++++++++++++++++++ 5 files changed, 86 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 drf_spectacular_sidecar-2024.12.1.tar.gz create mode 100644 python-drf-spectacular-sidecar.changes create mode 100644 python-drf-spectacular-sidecar.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/drf_spectacular_sidecar-2024.12.1.tar.gz b/drf_spectacular_sidecar-2024.12.1.tar.gz new file mode 100644 index 0000000..72c92b0 --- /dev/null +++ b/drf_spectacular_sidecar-2024.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6be31df38bcf95681224b6550faa9344ee6dd5360dcf2b44afcc3f7460385613 +size 2385777 diff --git a/python-drf-spectacular-sidecar.changes b/python-drf-spectacular-sidecar.changes new file mode 100644 index 0000000..407e75e --- /dev/null +++ b/python-drf-spectacular-sidecar.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Jan 7 13:24:08 UTC 2025 - Markéta Machová + +- Initial release (v2024.12.1), needed by Weblate diff --git a/python-drf-spectacular-sidecar.spec b/python-drf-spectacular-sidecar.spec new file mode 100644 index 0000000..1f5f0b2 --- /dev/null +++ b/python-drf-spectacular-sidecar.spec @@ -0,0 +1,55 @@ +# +# spec file for package python-drf-spectacular-sidecar +# +# 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/ +# + + +Name: python-drf-spectacular-sidecar +Version: 2024.12.1 +Release: 0 +Summary: Serve self-contained distribution builds of Swagger UI and Redoc with Django +License: BSD-3-Clause +URL: https://github.com/tfranzel/drf-spectacular-sidecar +Source: https://files.pythonhosted.org/packages/source/d/drf-spectacular-sidecar/drf_spectacular_sidecar-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +Requires: python-Django >= 2.2 +BuildArch: noarch +%python_subpackages + +%description +Serve self-contained distribution builds of Swagger UI and Redoc with Django + +%prep +%autosetup -p1 -n drf_spectacular_sidecar-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# no tests + +%files %{python_files} +%{python_sitelib}/drf_spectacular_sidecar +%{python_sitelib}/drf_spectacular_sidecar-%{version}.dist-info + +%changelog