代码拉取完成,页面将自动刷新
%bcond_with tests
Summary: Helper to test WSGI applications
Name: python-webtest
Version: 3.0.0
Release: 4%{?dist}
License: MIT
URL: https://github.com/Pylons/webtest
Source0: %{url}/archive/%{version}.tar.gz
BuildRequires: python3-devel python3-setuptools
%if 0%{?with_tests}
BuildRequires: python3-pytest-cov python3-beautifulsoup4 python3-paste-deploy
BuildRequires: python3-pyquery python3-waitress python3-webob python3-WSGIProxy2
BuildRequires: python3-pylons-sphinx-themes python3-pytest
%endif
BuildArch: noarch
%description
This wraps any WSGI application and makes it easy to send test requests to that application,
without starting up an HTTP server.
This provides convenient full-stack testing of applications written with any WSGI-compatible
framework.
%package -n python3-webtest
Summary: Helper to test WSGI applications
Requires: python3-beautifulsoup4 python3-waitress python3-webob
%description -n python3-webtest
This wraps any WSGI application and makes it easy to send test requests to that application,
without starting up an HTTP server.
This provides convenient full-stack testing of applications written with any WSGI-compatible
framework.
%prep
%autosetup -n webtest-%{version}
rm -rf *.egg-info
%build
%py3_build
rm -f docs/Makefile docs/conf.py docs/changelog.rst
cp -a CHANGELOG.rst docs/
%install
%{__rm} -rf %{buildroot}
%py3_install
%if 0%{?with_tests}
%check
%pytest
%endif
%files -n python3-webtest
%doc docs/* CHANGELOG.rst
%{python3_sitelib}/webtest
%{python3_sitelib}/*.egg-info
%changelog
* Tue Sep 19 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 3.0.0-4
- Rebuilt for python 3.11
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 3.0.0-3
- Rebuilt for OpenCloudOS Stream 23.09
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 3.0.0-2
- Rebuilt for OpenCloudOS Stream 23.05
* Wed Apr 19 2023 Wang Guodong <gordonwwang@tencent.com> - 3.0.0-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。