forked from pool/python-venusian
Accepting request 510574 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/510574 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-venusian?expand=0&rev=9
This commit is contained in:
68
python-venusian-doc.spec
Normal file
68
python-venusian-doc.spec
Normal file
@@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package python-venusian-doc
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
# 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-venusian-doc
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
Summary: Documentation for python-venusian
|
||||
License: SUSE-Repoze
|
||||
Group: Development/Languages/Python
|
||||
Url: https://pylonsproject.org
|
||||
Source: https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module venusian = %{version}}
|
||||
# SECTION documentation requirements
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-pylons-sphinx-themes
|
||||
BuildRequires: python3-repoze.sphinx.autointerface
|
||||
# /SECTION
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module nose-exclude}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
BuildRequires: python-rpm-macros
|
||||
Provides: %{python_module venusian-doc = %{version}}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This package contains documentation files for python-venusian.
|
||||
|
||||
%prep
|
||||
%setup -q -n venusian-%{version}
|
||||
|
||||
%build
|
||||
ln -s %{python3_sitelib}/pylons_sphinx_themes docs/_themes
|
||||
%{_python_use_flavor python3}
|
||||
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv
|
||||
|
||||
%install
|
||||
# nothing to do
|
||||
|
||||
%check
|
||||
%python_exec %{_bindir}/py.test
|
||||
|
||||
%files
|
||||
%doc build/sphinx/html/
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user