Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Ardana:8:CentOS
python-testtools
python-testtools-doc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-testtools-doc.spec of Package python-testtools
# # spec file for package python-testtools-doc # # Copyright (c) 2018 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-%{**}} Name: python-testtools-doc Version: 2.3.0 Release: 0 Summary: Documentation for python-testtools License: MIT Group: Documentation/HTML Url: https://launchpad.net/testtools Source: https://pypi.io/packages/source/t/testtools/testtools-%{version}.tar.gz BuildRequires: %{python_module testtools = %{version}} BuildRequires: python-rpm-macros %if %{with tests} # Test requirement BuildRequires: %{python_module testscenarios = %{version}} BuildRequires: %{python_module unittest2 >= 0.8.0} %endif # Documentation requirements: BuildRequires: fdupes BuildRequires: python3-Sphinx Provides: python2-testtools-doc = %{version} Provides: python3-testtools-doc = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Documentation and help files for python-testtools. %prep %setup -q -n testtools-%{version} %build python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install mkdir -p %{buildroot}%{_docdir}/python-testtools/ cp -r build/sphinx/html %{buildroot}%{_docdir}/python-testtools/ %fdupes %{buildroot}%{_docdir} # A build cycle exists between python-extras and python-testtools. # Doing the tests in a separate package avoids this cycle. %if %{with tests} %check %{python_exec} -m testtools.run testtools.tests.test_suite %endif %files %defattr(-,root,root,-) %doc LICENSE %{_docdir}/python-testtools/ %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