From d3eb64c85dd41b2184d9249f77667338b96c1f7f056eb5ddde1ef56d7673adb8 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Mon, 27 Mar 2017 13:52:00 +0000 Subject: [PATCH] - 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 --- python-cffi-doc.changes | 4 ---- python-cffi-doc.spec | 52 ----------------------------------------- python-cffi.changes | 4 +++- 3 files changed, 3 insertions(+), 57 deletions(-) delete mode 100644 python-cffi-doc.changes delete mode 100644 python-cffi-doc.spec diff --git a/python-cffi-doc.changes b/python-cffi-doc.changes deleted file mode 100644 index e952561..0000000 --- a/python-cffi-doc.changes +++ /dev/null @@ -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 diff --git a/python-cffi-doc.spec b/python-cffi-doc.spec deleted file mode 100644 index ab46617..0000000 --- a/python-cffi-doc.spec +++ /dev/null @@ -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 diff --git a/python-cffi.changes b/python-cffi.changes index a095a2c..80aaf14 100644 --- a/python-cffi.changes +++ b/python-cffi.changes @@ -1,7 +1,9 @@ ------------------------------------------------------------------- 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