Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37853983
en ru br
ALT Linux repos
S:1.8.7-alt1

Group :: System/Libraries
RPM: python3-module-webob

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%global modname webob

%def_with check

Name: python3-module-webob
Version: 1.8.7
Release: alt1

Summary: WSGI request and response object
License: MIT
Group: System/Libraries

Url: https://pypi.org/project/WebOb
Source0: WebOb-%version.tar
Patch: webob-1.8.7-s-isAlive-is_alive.patch

BuildArch: noarch

BuildRequires(pre): rpm-build-python3

%if_with check
BuildRequires: python3(pytest)
BuildRequires: python3(tox)
BuildRequires: python3(tox_console_scripts)
%endif

%description
WebOb provides wrappers around the WSGI request environment, and an object to
help create WSGI responses. The objects map much of the specified behavior of
HTTP, including header parsing and accessors for other standard parts of the
environment.

%prep
%setup -n WebOb-%version
%autopatch -p1

%build
%python3_build

%install
%python3_install

%check
cat > tox.ini <<'EOF'
[testenv]
commands =
   {envbindir}/pytest -vra {posargs:tests}
EOF
export PIP_NO_BUILD_ISOLATION=no
export PIP_NO_INDEX=YES
export TOXENV=py3
tox.py3 --sitepackages --console-scripts -vvr --develop

%files
%doc README.rst
%python3_sitelibdir_noarch/webob/
%python3_sitelibdir_noarch/WebOb-%version-py%_python3_version.egg-info/

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin