Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jloehel:python
python-pytest-flask
python-pytest-flask.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pytest-flask.spec of Package python-pytest-flask
# # spec file for package python-pytest-flask # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test %define skip_python2 1 Name: python-pytest-flask Version: 1.2.0 Release: 0 License: MIT Summary: A set of py.test fixtures to test Flask applications Url: https://github.com/vitalk/pytest-flask Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/p/pytest-flask/pytest-flask-%{version}.tar.gz BuildRequires: python-rpm-macros BuildRequires: fdupes BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools_scm} %if %{with test} BuildRequires: %{python_module Flask >= 1.0.4} %if 0%{?suse_version} == 1500 BuildRequires: %{python_module pytest5 >= 5.2} %else BuildRequires: %{python_module pytest >= 5.2} %endif BuildRequires: %{python_module Werkzeug >= 0.7} %endif %if 0%{?suse_version} == 1500 Requires: python-pytest5 >= 5.2 %else Requires: python-pytest5 >= 5.2 %endif Requires: python-Flask >= 1.0.4 Requires: python-Werkzeug >= 0.7 Suggests: python-Sphinx Suggests: python-sphinx_rtd_theme BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages %description An extension of pytest test runner which provides a set of useful tools to simplify testing and development of the Flask extensions and applications. %prep %setup -q -n pytest-flask-%{version} %build %python_build %install %python_install %fdupes %{buildroot}%{_prefix} %if %{with test} %check %pytest --ignore tests/test_live_server.py %endif %files %{python_files} %defattr(-,root,root,-) %doc README.rst %license LICENSE %{python_sitelib}/* %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