[Python-modules-commits] r12671 - in packages/shiboken/trunk/debian (6 files)

odyx-guest at users.alioth.debian.org odyx-guest at users.alioth.debian.org
Tue Apr 20 12:24:25 UTC 2010


    Date: Tuesday, April 20, 2010 @ 12:24:16
  Author: odyx-guest
Revision: 12671

Add -doc package for shiboken

Added:
  packages/shiboken/trunk/debian/shiboken-doc.doc-base
  packages/shiboken/trunk/debian/shiboken-doc.docs
  packages/shiboken/trunk/debian/shiboken-doc.links
Modified:
  packages/shiboken/trunk/debian/changelog
  packages/shiboken/trunk/debian/control
  packages/shiboken/trunk/debian/rules

Modified: packages/shiboken/trunk/debian/changelog
===================================================================
--- packages/shiboken/trunk/debian/changelog	2010-04-20 10:11:57 UTC (rev 12670)
+++ packages/shiboken/trunk/debian/changelog	2010-04-20 12:24:16 UTC (rev 12671)
@@ -4,14 +4,15 @@
 
   * Add symbols for libshiboken0 using (c++) filter.
   * Build for multiple python versions.
-  * Update Build-Depends
-  * Enable the build-tests
+  * Build -doc package.
+  * Update Build-Depends.
+  * Enable the build-tests.
   * Add debian/watch file.
-  * Add help2man manpage for shiboken
+  * Add help2man manpage for shiboken.
   * Patches
     + use_original_sparsehash.patch:  Don't use embedded sparsehash.
     + fix_tests.patch:                Work for different python versions.
     + use_soname_from_version.patch:  Force a SONAME (MAJOR_version) to
                                       libshiboken
 
- -- Didier Raboud <didier at raboud.com>  Fri, 26 Mar 2010 12:56:52 +0000
+ -- Didier Raboud <didier at raboud.com>  Tue, 20 Apr 2010 14:21:43 +0200

Modified: packages/shiboken/trunk/debian/control
===================================================================
--- packages/shiboken/trunk/debian/control	2010-04-20 10:11:57 UTC (rev 12670)
+++ packages/shiboken/trunk/debian/control	2010-04-20 12:24:16 UTC (rev 12671)
@@ -6,7 +6,8 @@
 Build-Depends: dpkg-dev (>= 1.15.6), debhelper (>= 7.3.12), cmake (>= 2.6.0),
 	libqt4-dev (>= 4.5.0), libapiextractor-dev (>= 0.4.0), generatorrunner (>= 0.4.0), libgenrunner-dev (>= 0.4.0),
 	libsparsehash-dev (>= 1.6),
-	python-all-dev, python-all-dbg
+	python-all-dev, python-all-dbg,
+	python-sphinx
 XS-Python-Version: >= 2.5
 Standards-Version: 3.8.4
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/shiboken/trunk/
@@ -24,6 +25,19 @@
  .
  Shiboken is the binding generator used to create the PySide bindings.
 
+Package: shiboken-doc
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, libjs-jquery
+Section: doc
+Description: CPython bindings generator for C++ libraries documentation
+ Shiboken is a bindings generator for C++ libraries that outputs CPython
+ source code. It uses generatorrunner and apiextractor to collect information
+ from library headers, merging modifications and handwritten code defined in the
+ typesystem description.
+ .
+ Shiboken is the binding generator used to create the PySide bindings; this
+ package contains its documentation.
+
 Package: libshiboken0
 Section: libs
 Architecture: any
@@ -51,6 +65,7 @@
 Package: shiboken-dbg
 Section: debug
 Architecture: any
+Priority: extra
 Depends: ${shlibs:Depends}, ${misc:Depends},
          libshiboken0 (= ${binary:Version}),
          shiboken (= ${binary:Version})

Modified: packages/shiboken/trunk/debian/rules
===================================================================
--- packages/shiboken/trunk/debian/rules	2010-04-20 10:11:57 UTC (rev 12670)
+++ packages/shiboken/trunk/debian/rules	2010-04-20 12:24:16 UTC (rev 12671)
@@ -40,7 +40,12 @@
 
 override_dh_auto_build-%:
 	dh_auto_build --builddirectory=build-$*
+	# Build docs
+	cd doc; make html
 
+override_dh_compress:
+	dh_compress -X.js
+
 #### INSTALL ####
 
 override_dh_auto_install: $(PYVERSIONS:%=override_dh_auto_install-%)
@@ -79,6 +84,7 @@
 #### CLEAN ####
 override_dh_auto_clean:
 	rm -rf build-*
+	rm -rf doc/_build
 	rm -rf debian/tmp-dbg
 
 #### DEBIAN INSTALL ####

Added: packages/shiboken/trunk/debian/shiboken-doc.doc-base
===================================================================
--- packages/shiboken/trunk/debian/shiboken-doc.doc-base	                        (rev 0)
+++ packages/shiboken/trunk/debian/shiboken-doc.doc-base	2010-04-20 12:24:16 UTC (rev 12671)
@@ -0,0 +1,10 @@
+Document: shiboken-documentation
+Title: Shiboken Documentation
+Author:  PySide team <contact at pyside.org>
+Abstract: This manual describes the shiboken API and internals
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/shiboken-doc/html/index.html
+Files: /usr/share/doc/shiboken-doc/html/*.html
+

Added: packages/shiboken/trunk/debian/shiboken-doc.docs
===================================================================
--- packages/shiboken/trunk/debian/shiboken-doc.docs	                        (rev 0)
+++ packages/shiboken/trunk/debian/shiboken-doc.docs	2010-04-20 12:24:16 UTC (rev 12671)
@@ -0,0 +1 @@
+doc/_build/html

Added: packages/shiboken/trunk/debian/shiboken-doc.links
===================================================================
--- packages/shiboken/trunk/debian/shiboken-doc.links	                        (rev 0)
+++ packages/shiboken/trunk/debian/shiboken-doc.links	2010-04-20 12:24:16 UTC (rev 12671)
@@ -0,0 +1,2 @@
+# Don't embed python-sphinx's jquery
+usr/share/javascript/jquery/jquery.js usr/share/doc/shiboken-doc/html/_static/jquery.js




More information about the Python-modules-commits mailing list