[bcolz] 12/17: build with docs package

Daniel Stender stender at moszumanska.debian.org
Sun Sep 4 16:33:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

stender pushed a commit to branch master
in repository bcolz.

commit 7416d45ecc0f28087cea3b9bb03baec705e7f56f
Author: Daniel Stender <stender at debian.org>
Date:   Sun Sep 4 17:52:36 2016 +0200

    build with docs package
---
 debian/bcolz-doc.doc-base       |  8 ++++++++
 debian/{docs => bcolz-doc.docs} |  2 --
 debian/control                  | 28 ++++++++++++++++++++++++----
 debian/python3-bcolz.doc-base   |  8 --------
 debian/rules                    |  4 ++--
 5 files changed, 34 insertions(+), 16 deletions(-)

diff --git a/debian/bcolz-doc.doc-base b/debian/bcolz-doc.doc-base
new file mode 100644
index 0000000..900f188
--- /dev/null
+++ b/debian/bcolz-doc.doc-base
@@ -0,0 +1,8 @@
+Document: bcolz-doc
+Title: Bcolz documentation
+Author: Francesc Alted and bcolz contributors
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/bcolz-doc/html/index.html
+Files: /usr/share/doc/bcolz-doc/html/*.html
\ No newline at end of file
diff --git a/debian/docs b/debian/bcolz-doc.docs
similarity index 63%
rename from debian/docs
rename to debian/bcolz-doc.docs
index 63ed2dd..4e28837 100644
--- a/debian/docs
+++ b/debian/bcolz-doc.docs
@@ -1,4 +1,2 @@
 ANNOUNCE
 DISK_FORMAT_v1
-README
-THANKS
diff --git a/debian/control b/debian/control
index c90c0f0..3d1ba2b 100644
--- a/debian/control
+++ b/debian/control
@@ -29,17 +29,37 @@ Section: python
 Depends:
  ${misc:Depends},
  ${python3:Depends},
- ${shlibs:Depends},
- ${sphinxdoc:Depends}
+ ${shlibs:Depends}
 Recommends:
  python3-numexpr
 Suggests:
  python3-pandas,
- python3-tables
-Description: high performant compressed data container for NumPy
+ python3-tables,
+ bcolz-doc
+Description: high performant compressed data container (Python 3)
+ bcolz provides columnar, chunked data containers that can be compressed
+ in-memory and on-disk. Column storage allows for efficiently querying
+ tables, as well as for cheap column addition and removal. It is based on
+ NumPy, and uses it as the standard data container to communicate with
+ bcolz objects, but it also comes with support for import/export facilities
+ to/from HDF5/PyTables tables and Pandas dataframes.
+ .
+ This package contains the modules for Python 3.
+
+Package: bcolz-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends},
+ ${sphinxdoc:Depends}
+Recommends:
+ python3-bcolz
+Description: high performant compressed data container (documentation)
  bcolz provides columnar, chunked data containers that can be compressed
  in-memory and on-disk. Column storage allows for efficiently querying
  tables, as well as for cheap column addition and removal. It is based on
  NumPy, and uses it as the standard data container to communicate with
  bcolz objects, but it also comes with support for import/export facilities
  to/from HDF5/PyTables tables and Pandas dataframes.
+ .
+ This package contains the documentation.
diff --git a/debian/python3-bcolz.doc-base b/debian/python3-bcolz.doc-base
deleted file mode 100644
index 0cb1399..0000000
--- a/debian/python3-bcolz.doc-base
+++ /dev/null
@@ -1,8 +0,0 @@
-Document: python3-bcolz
-Title: Bcolz documentation
-Author: Francesc Alted and bcolz contributors
-Section: Science/Data Analysis
-
-Format: HTML
-Index: /usr/share/doc/python3-bcolz/html/index.html
-Files: /usr/share/doc/python3-bcolz/html/*.html
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 080e287..6d927be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,13 +11,13 @@ export BLOSC_DIR=/usr
 override_dh_auto_install:
 	dh_auto_install
 	cp .pybuild/pythonX.Y_*/build/bcolz/carray_ext*.so bcolz/
-	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N docs/ debian/python3-bcolz/usr/share/doc/python3-bcolz/html/
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N docs/ debian/bcolz-doc/usr/share/doc/bcolz-doc/html/
 
 override_dh_installdocs:
 	for i in ANNOUNCE DISK_FORMAT_v1 README THANKS; \
 	do rst2html -r 5 $$i.rst .pybuild/$$i.html; \
 	LANG=C.UTF-8 links -dump .pybuild/$$i.html > $$i; done
-	dh_installdocs
+	dh_installdocs -A README THANKS
 
 override_dh_installchangelogs:
 	dh_installchangelogs RELEASE_NOTES.rst

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/bcolz.git



More information about the debian-science-commits mailing list