commit 35950d0eef26835ea401f36722aa6d2717d3130492d7d1534e731a7be0d1d293 Author: Nico Krapp Date: Thu Aug 29 06:48:50 2024 +0000 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 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-types-requests.changes b/python-types-requests.changes new file mode 100644 index 0000000..f4b1b06 --- /dev/null +++ b/python-types-requests.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Aug 28 20:37:09 UTC 2024 - Meera Belur + +- Initial package diff --git a/python-types-requests.rpmlintrc b/python-types-requests.rpmlintrc new file mode 100644 index 0000000..1e8b3f5 --- /dev/null +++ b/python-types-requests.rpmlintrc @@ -0,0 +1 @@ +addFilter("python.*-types-requests.noarch: E: no-dependency-on python-base.*") diff --git a/python-types-requests.spec b/python-types-requests.spec new file mode 100644 index 0000000..aea9162 --- /dev/null +++ b/python-types-requests.spec @@ -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 diff --git a/types-requests-2.32.0.20240523.tar.gz b/types-requests-2.32.0.20240523.tar.gz new file mode 100644 index 0000000..5dec62d --- /dev/null +++ b/types-requests-2.32.0.20240523.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26b8a6de32d9f561192b9942b41c0ab2d8010df5677ca8aa146289d11d505f57 +size 17376