[Python-modules-commits] r30225 - in packages/audioread/trunk/debian (7 files)
laarmen-guest at users.alioth.debian.org
laarmen-guest at users.alioth.debian.org
Fri Aug 22 11:41:26 UTC 2014
Date: Friday, August 22, 2014 @ 11:41:25
Author: laarmen-guest
Revision: 30225
* New upstream release
+ Drop the print() patch, merged upstream.
* d/control: bump Standards-Version to 3.9.5, no changes needed.
* Switch to pybuild:
+ Remove the python[3]-audioread.install files
+ Add dh-python to Build-Depends
+ Clean up d/rules.
Modified:
packages/audioread/trunk/debian/changelog
packages/audioread/trunk/debian/control
packages/audioread/trunk/debian/patches/series
packages/audioread/trunk/debian/rules
Deleted:
packages/audioread/trunk/debian/patches/use_print_function
packages/audioread/trunk/debian/python-audioread.install
packages/audioread/trunk/debian/python3-audioread.install
Modified: packages/audioread/trunk/debian/changelog
===================================================================
--- packages/audioread/trunk/debian/changelog 2014-08-22 01:08:09 UTC (rev 30224)
+++ packages/audioread/trunk/debian/changelog 2014-08-22 11:41:25 UTC (rev 30225)
@@ -1,3 +1,15 @@
+audioread (1.0.2-1) UNRELEASED; urgency=medium
+
+ * New upstream release
+ + Drop the print() patch, merged upstream.
+ * d/control: bump Standards-Version to 3.9.5, no changes needed.
+ * Switch to pybuild:
+ + Remove the python[3]-audioread.install files
+ + Add dh-python to Build-Depends
+ + Clean up d/rules.
+
+ -- Simon Chopin <chopin.simon at gmail.com> Fri, 22 Aug 2014 13:19:48 +0200
+
audioread (1.0.1-1) unstable; urgency=low
[ Simon Chopin ]
Modified: packages/audioread/trunk/debian/control
===================================================================
--- packages/audioread/trunk/debian/control 2014-08-22 01:08:09 UTC (rev 30224)
+++ packages/audioread/trunk/debian/control 2014-08-22 11:41:25 UTC (rev 30225)
@@ -5,9 +5,10 @@
Uploaders: Simon Chopin <chopin.simon at gmail.com>
Build-Depends:
debhelper (>= 8.1),
+ dh-python,
python-all (>= 2.6.6-3~),
python3-all
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.2
Homepage: https://github.com/sampsyo/audioread
Modified: packages/audioread/trunk/debian/patches/series
===================================================================
--- packages/audioread/trunk/debian/patches/series 2014-08-22 01:08:09 UTC (rev 30224)
+++ packages/audioread/trunk/debian/patches/series 2014-08-22 11:41:25 UTC (rev 30225)
@@ -1,2 +1 @@
avconv.patch
-use_print_function
Deleted: packages/audioread/trunk/debian/patches/use_print_function
===================================================================
--- packages/audioread/trunk/debian/patches/use_print_function 2014-08-22 01:08:09 UTC (rev 30224)
+++ packages/audioread/trunk/debian/patches/use_print_function 2014-08-22 11:41:25 UTC (rev 30225)
@@ -1,29 +0,0 @@
-From: Simon Chopin <chopin.simon at gmail.com>
-Date: Tue, 14 May 2013 12:46:50 +0200
-Subject: [PATCH] Use the print() function instead of the print keyword
-Forwarded: https://github.com/sampsyo/audioread/pull/7
-
----
- audioread/gstdec.py | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/audioread/gstdec.py b/audioread/gstdec.py
-index 78285db..fa8078f 100644
---- a/audioread/gstdec.py
-+++ b/audioread/gstdec.py
-@@ -366,8 +366,8 @@ if __name__ == '__main__':
- for path in sys.argv[1:]:
- path = os.path.abspath(os.path.expanduser(path))
- with GstAudioFile(path) as f:
-- print f.channels
-- print f.samplerate
-- print f.duration
-+ print(f.channels)
-+ print(f.samplerate)
-+ print(f.duration)
- for s in f:
-- print len(s), ord(s[0])
-+ print(len(s), ord(s[0]))
---
-1.7.10.4
-
Deleted: packages/audioread/trunk/debian/python-audioread.install
===================================================================
--- packages/audioread/trunk/debian/python-audioread.install 2014-08-22 01:08:09 UTC (rev 30224)
+++ packages/audioread/trunk/debian/python-audioread.install 2014-08-22 11:41:25 UTC (rev 30225)
@@ -1 +0,0 @@
-usr/lib/python2.*
Deleted: packages/audioread/trunk/debian/python3-audioread.install
===================================================================
--- packages/audioread/trunk/debian/python3-audioread.install 2014-08-22 01:08:09 UTC (rev 30224)
+++ packages/audioread/trunk/debian/python3-audioread.install 2014-08-22 11:41:25 UTC (rev 30225)
@@ -1 +0,0 @@
-usr/lib/python3*
Modified: packages/audioread/trunk/debian/rules
===================================================================
--- packages/audioread/trunk/debian/rules 2014-08-22 01:08:09 UTC (rev 30224)
+++ packages/audioread/trunk/debian/rules 2014-08-22 11:41:25 UTC (rev 30225)
@@ -1,18 +1,7 @@
#!/usr/bin/make -f
+export PYBUILD_NAME=audioread
+
%:
- dh $@ --with python2,python3
+ dh $@ --with python2,python3 --buildsystem=pybuild
-override_dh_auto_install:
- dh_auto_install
- python3 setup.py install --skip-build --no-compile \
- --root debian/tmp \
- --install-layout=deb
-override_dh_auto_build:
- dh_auto_build
- python3 setup.py build;
-
-override_dh_auto_clean:
- dh_auto_clean
- python3 setup.py clean -a
-
More information about the Python-modules-commits
mailing list