[Python-apps-commits] r8095 - in packages/beets/trunk/debian (4 files)

stefanor at users.alioth.debian.org stefanor at users.alioth.debian.org
Wed Jan 18 22:29:59 UTC 2012


    Date: Wednesday, January 18, 2012 @ 22:29:58
  Author: stefanor
Revision: 8095

* Refresh patches.
* Patch: integer-timestamps: Avoid test failure on filesystems with
  high-resolution file timestamps (Closes: #655732)

Added:
  packages/beets/trunk/debian/patches/integer-timestamps
Modified:
  packages/beets/trunk/debian/changelog
  packages/beets/trunk/debian/patches/private-module
  packages/beets/trunk/debian/patches/series

Modified: packages/beets/trunk/debian/changelog
===================================================================
--- packages/beets/trunk/debian/changelog	2012-01-18 20:52:21 UTC (rev 8094)
+++ packages/beets/trunk/debian/changelog	2012-01-18 22:29:58 UTC (rev 8095)
@@ -11,8 +11,11 @@
     enable consecutive builds.
 
   [ Stefano Rivera ]
+  * Refresh patches.
   * Bump copyright years, and add entries for Simon and the replaygain plugin
     from 1.0~b11.
+  * Patch: integer-timestamps: Avoid test failure on filesystems with
+    high-resolution file timestamps (Closes: #655732)
 
  -- Simon Chopin <chopin.simon at gmail.com>  Wed, 18 Jan 2012 02:28:23 +0100
 

Added: packages/beets/trunk/debian/patches/integer-timestamps
===================================================================
--- packages/beets/trunk/debian/patches/integer-timestamps	                        (rev 0)
+++ packages/beets/trunk/debian/patches/integer-timestamps	2012-01-18 22:29:58 UTC (rev 8095)
@@ -0,0 +1,19 @@
+Description: mtime tests at integral second resolution
+ Avoids test failure on ext4 filesystems with extra_isize enabled.
+Bug-Upstream: http://code.google.com/p/beets/issues/detail?id=298
+Bug-Debian: http://bugs.debian.org/655732
+Origin: Upstream, http://code.google.com/p/beets/source/detail?r=d8b9a078b6212fdbf5a9c8d315b88d8fcc51ffb9
+Author: Adrian Sampson <adrian at radbox.org>
+Last-Update: 2012-01-19
+
+--- a/test/test_db.py
++++ b/test/test_db.py
+@@ -750,7 +750,7 @@
+             os.remove(self.ipath)
+ 
+     def _mtime(self):
+-        return os.path.getmtime(self.ipath)
++        return int(os.path.getmtime(self.ipath))
+ 
+     def test_mtime_initially_up_to_date(self):
+         self.assertGreaterEqual(self.i.mtime, self._mtime())

Modified: packages/beets/trunk/debian/patches/private-module
===================================================================
--- packages/beets/trunk/debian/patches/private-module	2012-01-18 20:52:21 UTC (rev 8094)
+++ packages/beets/trunk/debian/patches/private-module	2012-01-18 22:29:58 UTC (rev 8095)
@@ -4,7 +4,7 @@
 Last-Update: 2011-11-21
 --- a/setup.py
 +++ b/setup.py
-@@ -64,7 +64,6 @@
+@@ -63,7 +63,6 @@
            'beetsplug.web',
            'beetsplug.lastgenre',
        ],

Modified: packages/beets/trunk/debian/patches/series
===================================================================
--- packages/beets/trunk/debian/patches/series	2012-01-18 20:52:21 UTC (rev 8094)
+++ packages/beets/trunk/debian/patches/series	2012-01-18 22:29:58 UTC (rev 8095)
@@ -1,2 +1,3 @@
+integer-timestamps
 unittest2
 private-module




More information about the Python-apps-commits mailing list