[Python-modules-commits] r26475 - in packages/mutagen/trunk/debian (changelog control rules)

laarmen-guest at users.alioth.debian.org laarmen-guest at users.alioth.debian.org
Sat Nov 23 01:03:50 UTC 2013


    Date: Saturday, November 23, 2013 @ 01:03:49
  Author: laarmen-guest
Revision: 26475

* New upstream release.
  + Document copyright on docs/id3_frames_gen.py to Christoph Reiter.
  + Bump X-Python-Version to 2.6.
  + Add a dependency on libc-bin and use the C.UTF-8 locale to run the
    tests.
* Add myself to Uploaders.
* Regenerate the man pages during the build.
* Add a new package python-mutagen-doc with the Sphinx documentation.

Modified:
  packages/mutagen/trunk/debian/changelog
  packages/mutagen/trunk/debian/control
  packages/mutagen/trunk/debian/rules

Modified: packages/mutagen/trunk/debian/changelog
===================================================================
--- packages/mutagen/trunk/debian/changelog	2013-11-23 00:21:24 UTC (rev 26474)
+++ packages/mutagen/trunk/debian/changelog	2013-11-23 01:03:49 UTC (rev 26475)
@@ -5,12 +5,15 @@
   * Update Homepage. (Closes: #673615)
 
   [ Simon Chopin ]
-  * New upstream release
-    + Document copyright on docs/id3_frames_gen.py to Christoph Reiter
-    + Bump X-Python-Version to 2.6
+  * New upstream release.
+    + Document copyright on docs/id3_frames_gen.py to Christoph Reiter.
+    + Bump X-Python-Version to 2.6.
     + Drop all patches as being applied upstream.
-    + Add a dependency on libc-bin and use the C.UTF-8 locale to run the tests
-  * Add myself to Uploaders
+    + Add a dependency on libc-bin and use the C.UTF-8 locale to run the
+      tests.
+  * Add myself to Uploaders.
+  * Regenerate the man pages during the build.
+  * Add a new package python-mutagen-doc with the Sphinx documentation.
 
  -- Simon Chopin <chopin.simon at gmail.com>  Fri, 22 Nov 2013 18:47:42 +0100
 

Modified: packages/mutagen/trunk/debian/control
===================================================================
--- packages/mutagen/trunk/debian/control	2013-11-23 00:21:24 UTC (rev 26474)
+++ packages/mutagen/trunk/debian/control	2013-11-23 01:03:49 UTC (rev 26475)
@@ -12,7 +12,9 @@
  libc-bin (>= 2.13),
  oggz-tools,
  python-all (>= 2.6.6-3~),
+ python-docutils,
  python-pyvorbis,
+ python-sphinx (>= 1.0.7+dfsg),
  vorbis-tools
 Standards-Version: 3.9.4
 X-Python-Version: >= 2.6
@@ -23,6 +25,7 @@
 Package: python-mutagen
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
+Suggests: python-mutagen-doc
 Description: audio metadata editing library
  Mutagen is a Python module to handle audio metadata. It supports FLAC,
  M4A, MP3, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg Vorbis, True Audio, and
@@ -31,3 +34,19 @@
  accurately calculate the bitrate and length of MP3s. ID3 and APEv2
  tags can be edited regardless of audio format. It can also manipulate
  Ogg streams on an individual packet/page level.
+
+Package: python-mutagen-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Recommends: python-mutagen
+Description: audio metadata editing library - documentation
+ Mutagen is a Python module to handle audio metadata. It supports FLAC,
+ M4A, MP3, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg Vorbis, True Audio, and
+ WavPack audio files. All versions of ID3v2 are supported, and all
+ standard ID3v2.4 frames are parsed. It can read Xing headers to
+ accurately calculate the bitrate and length of MP3s. ID3 and APEv2
+ tags can be edited regardless of audio format. It can also manipulate
+ Ogg streams on an individual packet/page level.
+ .
+ This package provides documentation for the mutagen package.

Modified: packages/mutagen/trunk/debian/rules
===================================================================
--- packages/mutagen/trunk/debian/rules	2013-11-23 00:21:24 UTC (rev 26474)
+++ packages/mutagen/trunk/debian/rules	2013-11-23 01:03:49 UTC (rev 26475)
@@ -3,8 +3,15 @@
 PYTHON2=$(shell pyversions -vr)
 
 %:
-	dh $@ --with python2
+	dh $@ --with python2,sphinxdoc
 
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=$(CURDIR) docs/id3_frames_gen.py > docs/api/id3_frames.rst
+	$(MAKE) -C docs
+	mv docs/_build docs/html
+	$(MAKE) -C docs/man
+
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
 
@@ -15,3 +22,7 @@
 endif
 
 override_dh_auto_test: $(PYTHON2:%=test-python%)
+
+override_dh_clean:
+	dh_clean
+	rm -rf docs/html docs/man/_man




More information about the Python-modules-commits mailing list