Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.6:Update
python-testtools
python-testtools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-testtools.spec of Package python-testtools
# # spec file # # 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/ # %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test %bcond_without test %else %define psuffix %{nil} %bcond_with test %endif %{?sle15_python_module_pythons} Name: python-testtools%{psuffix} Version: 2.6.0 Release: 0 Summary: Extensions to the Python Standard Library Unit Testing Framework License: MIT Group: Development/Languages/Python URL: https://github.com/testing-cabal/testtools Source0: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz Source99: python-testtools.rpmlintrc BuildRequires: %{python_module pbr} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pbr >= 0.11 Requires: python-python-mimeparse Requires: python-traceback2 BuildArch: noarch %if %{with test} BuildRequires: %{python_module python-mimeparse} BuildRequires: %{python_module testscenarios} BuildRequires: %{python_module traceback2} %endif Recommends: python-fixtures >= 2.0 %python_subpackages %description testtools is a set of extensions to the Python standard library's unit tests framework. These extensions have been derived from many years of experience with unit tests in Python and come from many different sources. testtools also ports recent unittest changes all the way back to Python 2.4. %prep %setup -q -n testtools-%{version} %if !%{with test} %build %python_build %endif %if !%{with test} %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %if %{with test} %check %python_exec -m testtools.run testtools.tests.test_suite %endif %if !%{with test} %files %{python_files} %license LICENSE %doc NEWS README.rst %{python_sitelib}/testtools %{python_sitelib}/testtools-%{version}-py*.egg-info %endif %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