debian: don't build documentation

This commit is contained in:
Frédéric Péters 2017-06-22 10:32:10 +02:00
parent 49f5b58f60
commit 14c6251a84
4 changed files with 2 additions and 35 deletions

18
debian/control vendored
View File

@ -7,8 +7,7 @@ Build-Depends: debhelper (>= 9),
dh-python,
python-all,
python-iso8601,
python-setuptools,
python-sphinx (>= 1.0.7+dfsg)
python-setuptools
Standards-Version: 3.9.6
X-Python-Version: >= 2.6
Homepage: https://chemistry.apache.org/python/cmislib.html
@ -20,24 +19,9 @@ Architecture: all
Depends: python-iso8601,
${misc:Depends},
${python:Depends}
Suggests: python-cmislib-doc
Description: CMIS client library for Python
Apache Chemistry cmislib is a CMIS client library for Python.
.
The goal of this library is to provide an interoperable API to CMIS
repositories such as Alfresco, Nuxeo, KnowledgeTree, MS SharePoint, EMC
Documentum, and any other content repository that is CMIS-compliant.
Package: python-cmislib-doc
Section: doc
Architecture: all
Depends: ${misc:Depends},
${sphinxdoc:Depends}
Description: CMIS client library for Python (documentation)
Apache Chemistry cmislib is a CMIS client library for Python.
.
The goal of this library is to provide an interoperable API to CMIS
repositories such as Alfresco, Nuxeo, KnowledgeTree, MS SharePoint, EMC
Documentum, and any other content repository that is CMIS-compliant.
.
This package contains the documentation.

View File

@ -1,8 +0,0 @@
Document: python-cmislib-doc
Title: Apache Chemistry cmislib documentation
Author: Apache Chemistry Project <dev@chemistry.apache.org>
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-cmislib-doc/html/index.html
Files: /usr/share/doc/python-cmislib-doc/html/*.html

View File

@ -1 +0,0 @@
src/doc/.build/html

10
debian/rules vendored
View File

@ -6,12 +6,4 @@
export PYBUILD_NAME=cmislib
%:
dh $@ --with=python2,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. sphinx-build -b html -d src/doc/.build/.doctrees -N src/doc/src src/doc/.build/html
override_dh_clean:
rm -rf src/doc/.build/
dh_clean
dh $@ --with=python2 --buildsystem=pybuild