- Update to 0.3.3:

* Besides bytes and string, dict and MultiDict objects can be specified as query_string
  * Add more files to source distribution (sdist). It now contains tests, assets, examples and other files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpserver?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2019-08-01 15:06:51 +00:00
committed by Git OBS Bridge
parent aa88f84bdf
commit a48cb77794
4 changed files with 18 additions and 14 deletions

View File

@@ -18,19 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-httpserver
Version: 0.3.1
Name: python-pytest-httpserver
Version: 0.3.3
Release: 0
Summary: A httpserver for pytest
License: MIT
Group: Development/Languages/Python
Url: https://www.github.com/csernazs/pytest-httpserver
Source: https://github.com/csernazs/pytest-httpserver/archive/%{version}.tar.gz#/pytest-httpserver-%{version}.tar.gz
URL: https://www.github.com/csernazs/pytest-httpserver
Source: https://files.pythonhosted.org/packages/source/p/pytest_httpserver/pytest_httpserver-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python-rpm-macros
Requires: python-Werkzeug
Requires: python-pytest
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module coverage}
@@ -39,17 +40,13 @@ BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
# /SECTION
Requires: python-Werkzeug
Requires: python-pytest
BuildArch: noarch
%python_subpackages
%description
pytest-httpserver is a httpserver for pytest.
%prep
%setup -q -n pytest-httpserver-%{version}
%setup -q -n pytest_httpserver-%{version}
%build
%python_build