From 11f333ec5df60c3cee8cb878aa19bfda9059fa36 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sat, 14 May 2016 20:43:01 +0200 Subject: [PATCH] Split the documentation into a separate package Closes: #725419 --- debian/control | 17 +++++++++++++---- debian/docs | 1 - .../{doc-base => python-pyxattr-doc.doc-base} | 4 ++-- debian/python-pyxattr-doc.docs | 1 + 4 files changed, 16 insertions(+), 7 deletions(-) rename debian/{doc-base => python-pyxattr-doc.doc-base} (58%) create mode 100644 debian/python-pyxattr-doc.docs diff --git a/debian/control b/debian/control index 2f0e5c8..ce14989 100644 --- a/debian/control +++ b/debian/control @@ -16,8 +16,7 @@ X-Python3-Version: >= 3.0 Package: python-pyxattr Architecture: any -Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, - ${sphinxdoc:Depends} +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: module for manipulating filesystem extended attributes pyxattr is a Python interface to the libattr library. It allows @@ -28,8 +27,7 @@ Description: module for manipulating filesystem extended attributes Package: python3-pyxattr Architecture: any -Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, - ${sphinxdoc:Depends} +Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python3:Provides} Description: module for manipulating filesystem extended attributes (Python3) pyxattr is a Python interface to the libattr library. It allows @@ -37,3 +35,14 @@ Description: module for manipulating filesystem extended attributes (Python3) operating systems (GNU/Linux included). . This package contains the library for Python 3. + +Package: python-pyxattr-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, ${sphinxdoc:Depends} +Description: module for manipulating filesystem extended attributes (documentation) + pyxattr is a Python interface to the libattr library. It allows + manipulation of the filesystem extended attributes present in some + operating systems (GNU/Linux included). + . + This package contains the HTML documentation for the library. diff --git a/debian/docs b/debian/docs index 6d55443..449e0b5 100644 --- a/debian/docs +++ b/debian/docs @@ -1,3 +1,2 @@ NEWS README.rst -doc/html diff --git a/debian/doc-base b/debian/python-pyxattr-doc.doc-base similarity index 58% rename from debian/doc-base rename to debian/python-pyxattr-doc.doc-base index 90bb66f..1c7fd2e 100644 --- a/debian/doc-base +++ b/debian/python-pyxattr-doc.doc-base @@ -4,5 +4,5 @@ Abstract: Documents the API of the Python pyxattr library Section: Programming/Python Format: HTML -Index: /usr/share/doc/python-pyxattr/html/index.html -Files: /usr/share/doc/python-pyxattr/html/*.html +Index: /usr/share/doc/python-pyxattr-doc/html/index.html +Files: /usr/share/doc/python-pyxattr-doc/html/*.html diff --git a/debian/python-pyxattr-doc.docs b/debian/python-pyxattr-doc.docs new file mode 100644 index 0000000..0bd3136 --- /dev/null +++ b/debian/python-pyxattr-doc.docs @@ -0,0 +1 @@ +doc/html -- 2.39.2