Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37572685
en ru br
ALT Linux repositórios
S:1.8.7-alt1

Group :: Sistema/Bibliotecas
RPM: python3-module-webob

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009