From 4d0b3ea92c3ff61ad55606e6c3984df21a980db8 Mon Sep 17 00:00:00 2001 From: mcalabkova <> Date: Apr 15 2021 15:09:10 +0000 Subject: Update python-starlette to version 0.14.2 / rev 1 via SR 885362 https://build.opensuse.org/request/show/885362 by user mcalabkova + dimstar_suse needed to add other packages --- diff --git a/packages/p/python-starlette/.files b/packages/p/python-starlette/.files new file mode 100644 index 0000000..13d143b Binary files /dev/null and b/packages/p/python-starlette/.files differ diff --git a/packages/p/python-starlette/.meta b/packages/p/python-starlette/.meta new file mode 100644 index 0000000..f371863 --- /dev/null +++ b/packages/p/python-starlette/.meta @@ -0,0 +1,5 @@ +<package name="python-starlette" project="openSUSE:Factory"> + <title></title> + <description></description> + <devel project="devel:languages:python" package="python-starlette"/> +</package> diff --git a/packages/p/python-starlette/.rev b/packages/p/python-starlette/.rev new file mode 100644 index 0000000..c5a5bf4 --- /dev/null +++ b/packages/p/python-starlette/.rev @@ -0,0 +1,10 @@ +<revisionlist> + <revision rev="1" vrev="1"> + <srcmd5>ccbd94b1f3235700b7db8a4f088afc7a</srcmd5> + <version>0.14.2</version> + <time>1618498656</time> + <user>dimstar_suse</user> + <comment>needed to add other packages</comment> + <requestid>885362</requestid> + </revision> +</revisionlist> diff --git a/packages/p/python-starlette/python-starlette.changes b/packages/p/python-starlette/python-starlette.changes new file mode 100644 index 0000000..7332d8d --- /dev/null +++ b/packages/p/python-starlette/python-starlette.changes @@ -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 + diff --git a/packages/p/python-starlette/python-starlette.spec b/packages/p/python-starlette/python-starlette.spec new file mode 100644 index 0000000..86b077a --- /dev/null +++ b/packages/p/python-starlette/python-starlette.spec @@ -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 diff --git a/packages/p/python-starlette/starlette-0.14.2.tar.gz b/packages/p/python-starlette/starlette-0.14.2.tar.gz new file mode 120000 index 0000000..5df9aaf --- /dev/null +++ b/packages/p/python-starlette/starlette-0.14.2.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeih24uijcv4z64mkwy6m5qwcevnu3rzthiwpj6sde5sq5al6szmnyu \ No newline at end of file