- do not generate HTML documentation for packages that are indirect
dependencies of Sphinx (see docs at https://cffi.readthedocs.org/ ) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=33
This commit is contained in:
parent
4eb897a99c
commit
d3eb64c85d
@ -1,4 +0,0 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Mar 27 11:33:20 UTC 2017 - jmatejek@suse.com
|
|
||||||
|
|
||||||
- separate cffi-doc subpackage to break build loop leading to Sphinx
|
|
@ -1,52 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package python-cffi-doc
|
|
||||||
#
|
|
||||||
# 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/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-cffi-doc
|
|
||||||
Version: 1.9.1
|
|
||||||
Release: 0
|
|
||||||
Summary: Documentation for Foreign Function Interface in Python
|
|
||||||
License: MIT
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
Url: https://cffi.readthedocs.org
|
|
||||||
Source0: https://files.pythonhosted.org/packages/source/c/cffi/cffi-%{version}.tar.gz
|
|
||||||
BuildRequires: python3-Sphinx
|
|
||||||
Provides: %{python_module cffi-doc = %{version}}
|
|
||||||
Supplements: %{python_module cffi = %{version}}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description
|
|
||||||
Foreign Function Interface for Python calling C code. The aim of this project
|
|
||||||
is to provide a convenient and reliable way of calling C code from Python.
|
|
||||||
|
|
||||||
This package provides the HTML documentation for Python cffi module.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n cffi-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
|
||||||
|
|
||||||
%install
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc LICENSE build/sphinx/html
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,7 +1,9 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 27 11:50:31 UTC 2017 - jmatejek@suse.com
|
Mon Mar 27 11:50:31 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
- split off -doc subpackage, to prevent build cycle with Sphinx
|
- do not generate HTML documentation for packages that are indirect
|
||||||
|
dependencies of Sphinx
|
||||||
|
(see docs at https://cffi.readthedocs.org/ )
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 16 17:33:16 UTC 2017 - jmatejek@suse.com
|
Thu Mar 16 17:33:16 UTC 2017 - jmatejek@suse.com
|
||||||
|
Loading…
x
Reference in New Issue
Block a user