[SCM] python-midiutil/master: Provide python2 and python3 packages

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Thu Mar 31 14:16:38 UTC 2016


The following commit has been merged in the master branch:
commit 2473bcf48558d6d6cc277a4fc98e7581374101cb
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Thu Mar 31 16:00:18 2016 +0200

    Provide python2 and python3 packages

diff --git a/debian/control b/debian/control
index 553c9b3..5811ce5 100644
--- a/debian/control
+++ b/debian/control
@@ -13,9 +13,22 @@ Homepage: https://code.google.com/archive/p/midiutil/downloads
 
 Package: python-midiutil
 Architecture: all
-Depends: python (>= 2.5), ${misc:Depends}, ${python:Depends}
-Description: Python library to write multi-track MIDI files
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Description: Python 2 library to write multi-track MIDI files
  MIDIUtil is a pure Python library that allows one to write multi-track Musical
  Instrument Digital Interface (MIDI) files from within Python programs. It is
  object-oriented and allows one to create and write these files with a minimum
  of fuss.
+ .
+ This package provides the Python 2.x module.
+
+Package: python3-midiutil
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
+Description: Python 3 library to write multi-track MIDI files
+ MIDIUtil is a pure Python library that allows one to write multi-track Musical
+ Instrument Digital Interface (MIDI) files from within Python programs. It is
+ object-oriented and allows one to create and write these files with a minimum
+ of fuss.
+ .
+ This package provides the Python 3.x module.
diff --git a/debian/rules b/debian/rules
index 649e3ef..dcca43f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
 export PYTHONWARNINGS=d
+export PYBUILD_NAME=midiutil
+
 
 %:
-	dh $@ --with python2
+	dh $@ --buildsystem=pybuild --with python2,python3
+

-- 
python-midiutil packaging



More information about the pkg-multimedia-commits mailing list