forked from pool/python-starlette
Accepting request 885308 from home:Simmphonie:python
- add build requirements for %pytest - remove test for deprecated built-in GraphQL support - remove unrecognized arguments in setup.cfg OBS-URL: https://build.opensuse.org/request/show/885308 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-starlette?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
22
python-starlette.changes
Normal file
22
python-starlette.changes
Normal file
@@ -0,0 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 13 19:20:13 UTC 2021 - simmphonie@opensuse.org
|
||||
|
||||
- add build requirements for %pytest
|
||||
- remove test for deprecated built-in GraphQL support
|
||||
- remove unrecognized arguments in setup.cfg
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 17 18:40:47 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
- update to 0.14.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 2 14:49:51 UTC 2020 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
- update to 0.14.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 5 11:33:42 UTC 2020 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
- initial packaging of 0.13.8
|
||||
|
78
python-starlette.spec
Normal file
78
python-starlette.spec
Normal file
@@ -0,0 +1,78 @@
|
||||
#
|
||||
# spec file for package python-starlette
|
||||
#
|
||||
# Copyright (c) 2021 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-starlette
|
||||
Version: 0.14.2
|
||||
Release: 0
|
||||
Summary: Lightweight ASGI framework/toolkit
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/encode/starlette
|
||||
Source: https://github.com/encode/starlette/archive/refs/tags/%{version}.tar.gz#/starlette-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: (python3-aiocontextvars if python3-base < 3.7)
|
||||
BuildRequires: (python36-aiocontextvars if python36-base)
|
||||
BuildRequires: %{python_module aiofiles}
|
||||
BuildRequires: %{python_module aiosqlite}
|
||||
BuildRequires: %{python_module databases}
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module graphene}
|
||||
BuildRequires: %{python_module itsdangerous}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-multipart}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Starlette is a lightweight ASGI framework/toolkit, which is ideal for
|
||||
building high performance asyncio services.
|
||||
|
||||
%prep
|
||||
%setup -q -n starlette-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Deprecate built-in GraphQL support #1135
|
||||
rm tests/test_graphql.py
|
||||
# Remove unrecognized arguments: --strict-config --strict-markers
|
||||
sed -i "s|--strict-config||" setup.cfg
|
||||
sed -i "s|--strict-markers||" setup.cfg
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE.md
|
||||
%{python_sitelib}/starlette
|
||||
%{python_sitelib}/starlette-%{version}*-info
|
||||
|
||||
%changelog
|
3
starlette-0.14.2.tar.gz
Normal file
3
starlette-0.14.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7cee1279611d3ccb19b3c26875d4ed1b20f6cc3665a11ee1dd819afb15845d65
|
||||
size 438350
|
Reference in New Issue
Block a user