Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
python-httpbin.30661
python-httpbin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-httpbin.spec of Package python-httpbin.30661
# # spec file for package python-httpbin # # Copyright (c) 2023 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/ # # The PyPI version is 0.7.0 but the metadata reads an internal file with version 0.9.2 %define internalversion 0.9.2 %{?sle15_python_module_pythons} Name: python-httpbin Version: 0.7.0+git20181107.f8ec666 Release: 0 Summary: HTTP Request and Response Service License: MIT URL: https://github.com/Runscope/httpbin Source: python-httpbin-%{version}.tar.xz # PATCH-FIX-UPSTREAM werkzeug.patch -- gh#postmanlabs/httpbin#555 Patch0: werkzeug.patch # PATCH-FIX-UPSTREAM fix-setup-py.patch -- gh#postmanlabs/httpbin#553 Patch1: fix-setup-py.patch # PATCH-FIX-UPSTREAM httpbin-pr674-wekzeug2.1.patch -- gh#postmanlabs/httpbin#674 Patch2: httpbin-pr674-wekzeug2.1.patch # PATCH-FIX-OPENSUSE Support Werkzeug >= 2.3 Patch3: support-werkzeug-2.3.patch BuildRequires: %{python_module Brotli} BuildRequires: %{python_module Flask >= 2.1} BuildRequires: %{python_module MarkupSafe} BuildRequires: %{python_module Werkzeug >= 2.0} BuildRequires: %{python_module decorator} BuildRequires: %{python_module flasgger} BuildRequires: %{python_module gevent} BuildRequires: %{python_module itsdangerous} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Brotli Requires: python-Flask >= 2.1 Requires: python-MarkupSafe Requires: python-Werkzeug >= 2.0 Requires: python-decorator Requires: python-flasgger Requires: python-gevent Requires: python-itsdangerous Requires: python-six BuildArch: noarch %python_subpackages %description httpbin(1): HTTP Request & Response Service Testing an HTTP Library can become difficult sometimes. RequestBin is fantastic for testing POST requests, but doesn't let you control the response. This exists to cover all kinds of HTTP scenarios. Additional endpoints are being considered. All endpoint responses are JSON-encoded. %prep %autosetup -p1 chmod -x httpbin/templates/forms-post.html %build export LANG=en_US.UTF-8 %python_build %install export LANG=en_US.UTF-8 %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/httpbin %{python_sitelib}/httpbin-%{internalversion}*-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor