forked from pool/python-manuel
Accepting request 597147 from home:frispete:python
- update to version 1.9.0:
* You can now use Manuel with the nose and pytest test runners by
defining Manuel tests inside unittest.TestCase classes.
* Added support for Python 3.5 and Python 3.6.
* Dropped support for Python 2.6
- add a fixed conf.py in order to properly build the docs (again)
OBS-URL: https://build.opensuse.org/request/show/597147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-manuel?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
ac4941e349
commit
94bc16e702
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# spec file for package python-manuel
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013-2018 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,13 +19,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-manuel
|
||||
Version: 1.8.0
|
||||
Version: 1.9.0
|
||||
Release: 0
|
||||
Summary: Build tested documentation
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.python.org/pypi/manuel
|
||||
Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz
|
||||
# add fixed sphinx config <hpj@urpla.net>
|
||||
Source1: conf.py
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
# Documentation requirements:
|
||||
@@ -54,7 +56,7 @@ This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n manuel-%{version}
|
||||
rm -rf docs/.doctrees docs/.buildinfo docs/objects.inv
|
||||
cp %SOURCE1 .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -75,6 +77,6 @@ rm -rf docs/.doctrees docs/.buildinfo docs/objects.inv
|
||||
|
||||
%files %{python_files doc}
|
||||
%defattr(-,root,root,-)
|
||||
%doc docs/
|
||||
%doc build/sphinx/html
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user