From feb7fe385634a514cd685b0b6400b8b1c2db98ffb99417231c90b27d2e59f3bf Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 30 Dec 2021 13:10:37 +0000 Subject: [PATCH] Accepting request 943039 from home:bnavigator:py310 - Update to v1.0.1 * httpbin_secure: fix redirect Location to have "https://" scheme (#62) - thanks @immerrr * Include regression tests in pypi tarball (#56) - thanks @kmosiejczuk - Add rpmlintrc filter for test certificates OBS-URL: https://build.opensuse.org/request/show/943039 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-httpbin?expand=0&rev=5 --- pytest-httpbin-1.0.1.tar.gz | 3 +++ pytest-httpbin-rpmlintrc | 2 ++ python-pytest-httpbin.changes | 10 ++++++++++ python-pytest-httpbin.spec | 12 +++++++----- v1.0.0.tar.gz | 3 --- 5 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 pytest-httpbin-1.0.1.tar.gz create mode 100644 pytest-httpbin-rpmlintrc delete mode 100644 v1.0.0.tar.gz diff --git a/pytest-httpbin-1.0.1.tar.gz b/pytest-httpbin-1.0.1.tar.gz new file mode 100644 index 0000000..dfdf9ca --- /dev/null +++ b/pytest-httpbin-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f73320f97d33cc20bc8a08cb945372948de51402559e87e74e92c56b48da0d7 +size 14482 diff --git a/pytest-httpbin-rpmlintrc b/pytest-httpbin-rpmlintrc new file mode 100644 index 0000000..b55164b --- /dev/null +++ b/pytest-httpbin-rpmlintrc @@ -0,0 +1,2 @@ +# These are test certificates and keys for localhost only +addFilter("pem-certificate .*pytest_httpbin/certs") diff --git a/python-pytest-httpbin.changes b/python-pytest-httpbin.changes index 49da72f..79094f6 100644 --- a/python-pytest-httpbin.changes +++ b/python-pytest-httpbin.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Dec 29 09:56:27 UTC 2021 - Ben Greiner + +- Update to v1.0.1 + * httpbin_secure: fix redirect Location to have "https://" + scheme (#62) - thanks @immerrr + * Include regression tests in pypi tarball (#56) - thanks + @kmosiejczuk +- Add rpmlintrc filter for test certificates + ------------------------------------------------------------------- Fri Feb 15 14:24:20 UTC 2019 - Jan Engelhardt diff --git a/python-pytest-httpbin.spec b/python-pytest-httpbin.spec index 5ae8b0d..b492f02 100644 --- a/python-pytest-httpbin.spec +++ b/python-pytest-httpbin.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-httpbin # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-httpbin -Version: 1.0.0 +Version: 1.0.1 Release: 0 Summary: Web service for testing HTTP libraries License: MIT Group: Development/Languages/Python URL: https://github.com/kevin1024/pytest-httpbin -Source: https://github.com/kevin1024/pytest-httpbin/archive/v%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pytest-httpbin/pytest-httpbin-%{version}.tar.gz +Source99: pytest-httpbin-rpmlintrc BuildRequires: %{python_module httpbin} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} @@ -58,10 +59,11 @@ fixture. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v +%pytest %files %{python_files} %doc README.md DESCRIPTION.rst -%{python_sitelib}/* +%{python_sitelib}/pytest_httpbin +%{python_sitelib}/pytest_httpbin-%{version}*-info %changelog diff --git a/v1.0.0.tar.gz b/v1.0.0.tar.gz deleted file mode 100644 index fb2d6d7..0000000 --- a/v1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2824ce17910af803989ee6e426616c6621220023db6b3edf2b1e3bbe911b0e56 -size 17813