From 295e0283b1afea18a81ec06fa9cfcf1cbfc3dd55 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 15 May 2016 05:06:51 +0200 Subject: [PATCH] Split documentation into python-pylibacl-doc package --- debian/control | 46 ++++++++++++------- ...{doc-base => python-pylibacl-doc.doc-base} | 4 +- debian/{docs => python-pylibacl-doc.docs} | 0 3 files changed, 31 insertions(+), 19 deletions(-) rename debian/{doc-base => python-pylibacl-doc.doc-base} (58%) rename debian/{docs => python-pylibacl-doc.docs} (100%) diff --git a/debian/control b/debian/control index 122d135..d7a1332 100644 --- a/debian/control +++ b/debian/control @@ -16,53 +16,65 @@ X-Python3-Version: >= 3.0 Package: python-pylibacl Architecture: any -Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, - ${sphinxdoc:Depends} +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} -Suggests: python-pylibacl-dbg +Suggests: python-pylibacl-dbg, python-pylibacl-doc Description: module for manipulating POSIX.1e ACLs pylibacl is a Python interface to the libacl library. It allows manipulation of the POSIX.1e-compliant filesystem ACLs present in some operating systems (GNU/Linux included). + . + This package contains the library for Python 2. Package: python-pylibacl-dbg -Priority: extra Section: debug +Priority: extra Architecture: any -Depends: python-pylibacl (= ${binary:Version}), python-dbg, - ${shlibs:Depends}, ${misc:Depends} +Depends: python-pylibacl (= ${binary:Version}), python-dbg, ${shlibs:Depends}, + ${misc:Depends}, ${python:Depends} +Provides: ${python:Provides} Description: module for manipulating POSIX.1e ACLs (debug extension) pylibacl is a Python interface to the libacl library. It allows manipulation of the POSIX.1e-compliant filesystem ACLs present in some operating systems (GNU/Linux included). . - This package contains the extension built for the Python debug - interpreter. + This package contains the library for the Python 2 debug interpreter. Package: python3-pylibacl Architecture: any -Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, - ${sphinxdoc:Depends} +Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python3:Provides} -Suggests: python3-pylibacl-dbg +Suggests: python3-pylibacl-dbg, python-pylibacl-doc Description: module for manipulating POSIX.1e ACLs (Python3 version) pylibacl is a Python interface to the libacl library. It allows manipulation of the POSIX.1e-compliant filesystem ACLs present in some operating systems (GNU/Linux included). . - This package contains the extension built for the Python3 - interpreter. + This package contains the library for Python 3. Package: python3-pylibacl-dbg -Priority: extra Section: debug +Priority: extra Architecture: any Depends: python3-pylibacl (= ${binary:Version}), python3-dbg, - ${shlibs:Depends}, ${misc:Depends} + ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} +Provides: ${python3:Provides} Description: module for manipulating POSIX.1e ACLs (Python3 debug extension) pylibacl is a Python interface to the libacl library. It allows manipulation of the POSIX.1e-compliant filesystem ACLs present in some operating systems (GNU/Linux included). . - This package contains the extension built for the Python3 debug - interpreter. + This package contains the library for the Python 3 debug interpreter. + +Package: python-pylibacl-doc +Architecture: all +Section: doc +Replaces: python-pylibacl (<< 0.5.3-1) +Breaks: python-pylibacl (<< 0.5.3-1) +Depends: ${misc:Depends}, ${sphinxdoc:Depends} +Description: module for manipulating POSIX.1e ACLs (documentation) + pylibacl is a Python interface to the libacl library. It allows + manipulation of the POSIX.1e-compliant filesystem ACLs present + in some operating systems (GNU/Linux included). + . + This package contains the HTML documentation for the library. diff --git a/debian/doc-base b/debian/python-pylibacl-doc.doc-base similarity index 58% rename from debian/doc-base rename to debian/python-pylibacl-doc.doc-base index 579badf..3ce1916 100644 --- a/debian/doc-base +++ b/debian/python-pylibacl-doc.doc-base @@ -4,5 +4,5 @@ Abstract: Documents the API of the Python pylibacl library Section: Programming/Python Format: HTML -Index: /usr/share/doc/python-pylibacl/html/index.html -Files: /usr/share/doc/python-pylibacl/html/*.html +Index: /usr/share/doc/python-pylibacl-doc/html/index.html +Files: /usr/share/doc/python-pylibacl-doc/html/*.html diff --git a/debian/docs b/debian/python-pylibacl-doc.docs similarity index 100% rename from debian/docs rename to debian/python-pylibacl-doc.docs -- 2.39.5