Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Ardana:8:CentOS:7.5
python-mox3
python-mox3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-mox3.spec of Package python-mox3
# # spec file for package python-mox3 # # 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/ # %global pypi_name mox3 Name: python-mox3 Version: 0.23.0 Release: 0 Summary: An unofficial port of the Google mox framework to Python 3 License: Apache-2.0 Group: Development/Languages/Python Url: http://bugs.launchpad.net/python-mox3 Source0: https://pypi.io/packages/source/m/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildRequires: openstack-macros BuildRequires: python-devel BuildRequires: python-fixtures >= 3.0.0 BuildRequires: python-pbr >= 2.0.0 BuildRequires: python-python-subunit >= 0.0.18 BuildRequires: python-setuptools >= 16.0 BuildRequires: python-testrepository >= 0.0.18 BuildRequires: python-testtools >= 1.4.0 Requires: python-fixtures >= 3.0.0 Requires: python-pbr >= 2.0.0 BuildArch: noarch %description Mox3 is an unofficial port of the Google mox framework to Python 3. It was meant to be as compatible with mox as possible, but small enhancements have been made. The library was tested on Python version 3.2, 2.7 and 2.6. %package doc Summary: Documentation for %{name} Group: Documentation BuildRequires: python-Sphinx BuildRequires: python-openstackdocstheme >= 1.11.0 %description doc Mox3 is an unofficial port of the Google mox framework to Python 3. It was meant to be as compatible with mox as possible, but small enhancements have been made. The library was tested on Python version 3.2, 2.7 and 2.6. This package contains documentation in HTML format. %prep %autosetup -n %{pypi_name}-%{version} %py_req_cleanup sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %py2_build # generate html docs %{__python2} setup.py build_sphinx %check %{__python2} setup.py testr %install %py2_install %files %license COPYING.txt %doc README.rst %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-*.egg-info %files doc %license COPYING.txt %doc doc/build/html %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