Accepting request 1197179 from home:yeey:OpenWebUI

- Initial Package

OBS-URL: https://build.opensuse.org/request/show/1197179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-types-requests?expand=0&rev=1
This commit is contained in:
2024-08-29 06:48:50 +00:00
committed by Git OBS Bridge
commit 35950d0eef
6 changed files with 101 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Aug 28 20:37:09 UTC 2024 - Meera Belur <mbelur@suse.com>
- Initial package

View File

@@ -0,0 +1 @@
addFilter("python.*-types-requests.noarch: E: no-dependency-on python-base.*")

View File

@@ -0,0 +1,69 @@
#
# spec file for package python-types-requests
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-types-requests
Version: 2.32.0.20240523
Release: 0
Summary: Typing stubs for requests
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/python/typeshed
Source: https://files.pythonhosted.org/packages/source/t/types-requests/types-requests-%{version}.tar.gz
Source99: python-types-requests.rpmlintrc
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
# SECTION test requirements
BuildRequires: %{python_module urllib3 >= 2}
BuildRequires: %{python_module mypy}
# /SECTION
BuildRequires: fdupes
Requires: python-urllib3 >= 2
BuildArch: noarch
%python_subpackages
%description
Typing stubs for requests
This is a PEP 561 type stub package for the requests package. It can be used by
type-checking tools like mypy, PyCharm, pytype etc. to check code that uses
requests. The source for this package can be found at
https://github.com/python/typeshed/tree/master/stubs/requests. All fixes for
types and metadata should be contributed there.
See https://github.com/python/typeshed/blob/master/README.md for more details.
%prep
%autosetup -p1 -n types-requests-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m mypy -p requests-stubs
%files %{python_files}
%doc CHANGELOG.md
%{python_sitelib}/requests-stubs
%{python_sitelib}/types_requests-%{version}.dist-info
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26b8a6de32d9f561192b9942b41c0ab2d8010df5677ca8aa146289d11d505f57
size 17376