[Python-modules-commits] r29977 - in packages/python-xmp-toolkit/trunk/debian (3 files)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Mon Jul 28 15:14:46 UTC 2014


    Date: Monday, July 28, 2014 @ 15:14:45
  Author: danstender-guest
Revision: 29977

build with dh_sphinxdoc

Modified:
  packages/python-xmp-toolkit/trunk/debian/changelog
  packages/python-xmp-toolkit/trunk/debian/control
  packages/python-xmp-toolkit/trunk/debian/rules

Modified: packages/python-xmp-toolkit/trunk/debian/changelog
===================================================================
--- packages/python-xmp-toolkit/trunk/debian/changelog	2014-07-28 13:48:05 UTC (rev 29976)
+++ packages/python-xmp-toolkit/trunk/debian/changelog	2014-07-28 15:14:45 UTC (rev 29977)
@@ -20,6 +20,7 @@
   * deb/rules:
     + Added DH_VERBOSE, DEB_BUILD_OPTIONS and PYBUILD_NAME export lines.
     + Reduced to build with dh sequencer.
+    + Build with dh_sphinxdoc.
   * deb/watch: changed from Google Code (obsolete) to Pypi.
   * Upstream ships with Sphinx documentation:
     + Removed deb/get-orig.source.sh (not needed anymore to create dfsg).
@@ -30,7 +31,7 @@
   * deb/source: added extend-diff-ignore for \.egg-info.
   * Wrapped and sorted.
 
- -- Daniel Stender <debian at danielstender.com>  Sun, 20 Jul 2014 14:30:46 +0200
+ -- Daniel Stender <debian at danielstender.com>  Mon, 28 Jul 2014 17:09:37 +0200
 
 python-xmp-toolkit (1.0.2+dfsg-1) experimental; urgency=low
 

Modified: packages/python-xmp-toolkit/trunk/debian/control
===================================================================
--- packages/python-xmp-toolkit/trunk/debian/control	2014-07-28 13:48:05 UTC (rev 29976)
+++ packages/python-xmp-toolkit/trunk/debian/control	2014-07-28 15:14:45 UTC (rev 29977)
@@ -29,7 +29,8 @@
 Depends:
  libexempi3,
  ${misc:Depends},
- ${python:Depends}
+ ${python:Depends},
+ ${sphinxdoc:Depends}
 Description: Python library for XMP metadata
  Python XMP Toolkit is a library for working with XMP metadata, as well as
  reading/writing XMP metadata stored in many different file formats.
@@ -45,7 +46,8 @@
 Depends:
  libexempi3,
  ${misc:Depends},
- ${python3:Depends}
+ ${python3:Depends},
+ ${sphinxdoc:Depends}
 Description: Python3 library for XMP metadata
  Python XMP Toolkit is a library for working with XMP metadata, as well as
  reading/writing XMP metadata stored in many different file formats.

Modified: packages/python-xmp-toolkit/trunk/debian/rules
===================================================================
--- packages/python-xmp-toolkit/trunk/debian/rules	2014-07-28 13:48:05 UTC (rev 29976)
+++ packages/python-xmp-toolkit/trunk/debian/rules	2014-07-28 15:14:45 UTC (rev 29977)
@@ -11,18 +11,12 @@
 	rm -rf docs/_build
 	dh_auto_clean
 
-override_dh_installdocs:
+override_dh_auto_build:
+	dh_auto_build
 	python setup.py build_sphinx
+
+override_dh_installdocs:
 	dh_installdocs
-	rm -fv debian/python*-libxmp/usr/share/doc/python*-libxmp/html/_static/jquery.js
-	ln -s /usr/share/javascript/jquery/jquery.js \
-	debian/python-libxmp/usr/share/doc/python-libxmp/html/_static/jquery.js
-	ln -s /usr/share/javascript/jquery/jquery.js \
-	debian/python3-libxmp/usr/share/doc/python3-libxmp/html/_static/jquery.js
-	rm -fv debian/python*-libxmp/usr/share/doc/python*-libxmp/html/_static/underscore.js
-	ln -s /usr/share/javascript/underscore/underscore.js \
-	debian/python-libxmp/usr/share/doc/python-libxmp/html/_static/underscore.js
-	ln -s /usr/share/javascript/underscore/underscore.js \
-	debian/python3-libxmp/usr/share/doc/python3-libxmp/html/_static/underscore.js
+	dh_sphinxdoc
 
 # vim:ts=4 sw=4 noet




More information about the Python-modules-commits mailing list