[Python-apps-commits] r9283 - in packages/beets/trunk/debian (8 files)

stefanor at users.alioth.debian.org stefanor at users.alioth.debian.org
Sat Dec 1 21:13:42 UTC 2012


    Date: Saturday, December 1, 2012 @ 21:13:40
  Author: stefanor
Revision: 9283

* Patch no-namespace-pkg: Don't make beetsplug a namespace package, this
  serves no purpose, if we are installing into a private location.
* Add autopkgtests.

Added:
  packages/beets/trunk/debian/patches/
  packages/beets/trunk/debian/patches/no-namespace-pkg
  packages/beets/trunk/debian/patches/series
  packages/beets/trunk/debian/tests/
  packages/beets/trunk/debian/tests/control
  packages/beets/trunk/debian/tests/unittests
Modified:
  packages/beets/trunk/debian/changelog
  packages/beets/trunk/debian/control

Modified: packages/beets/trunk/debian/changelog
===================================================================
--- packages/beets/trunk/debian/changelog	2012-12-01 00:09:16 UTC (rev 9282)
+++ packages/beets/trunk/debian/changelog	2012-12-01 21:13:40 UTC (rev 9283)
@@ -2,6 +2,8 @@
 
   * New upstream release.
     - Album art downloading has been moved into the "fetchart" plugin.
+  * Patch no-namespace-pkg: Don't make beetsplug a namespace package, this
+    serves no purpose, if we are installing into a private location.
   * Upload to experimental, as Debian is frozen for wheezy.
   * Use --ignore-namespace instead of patching setup.py
     - Bump python Build-Depends to >= 2.7.2-2.
@@ -9,6 +11,7 @@
     - Build-Depend on libc-bin (>= 2.13).
   * Bump Standards-Version to 3.9.4.
     - Bump debhelpers Build-Depend to 8.1, for build-{arch,indep} support.
+  * Add autopkgtests.
 
  -- Stefano Rivera <stefanor at debian.org>  Sun, 03 Jun 2012 19:33:14 +0100
 

Modified: packages/beets/trunk/debian/control
===================================================================
--- packages/beets/trunk/debian/control	2012-12-01 00:09:16 UTC (rev 9282)
+++ packages/beets/trunk/debian/control	2012-12-01 21:13:40 UTC (rev 9283)
@@ -22,6 +22,7 @@
 Homepage: http://beets.radbox.org/
 Vcs-Svn: svn://svn.debian.org/python-apps/packages/beets/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/beets/trunk/
+XS-Testsuite: autopkgtest
 
 Package: beets
 Architecture: all

Added: packages/beets/trunk/debian/patches/no-namespace-pkg
===================================================================
--- packages/beets/trunk/debian/patches/no-namespace-pkg	                        (rev 0)
+++ packages/beets/trunk/debian/patches/no-namespace-pkg	2012-12-01 21:13:40 UTC (rev 9283)
@@ -0,0 +1,16 @@
+Description: Don't make beetsplug a namespace package
+ This serves no purpose, if we are installing into a private location.
+Author: Stefano Rivera <stefanor at debian.org>
+Last-Updated: 2012-12-01
+Forwarded: not-needed
+
+--- a/setup.py
++++ b/setup.py
+@@ -63,7 +63,6 @@
+           'beetsplug.web',
+           'beetsplug.lastgenre',
+       ],
+-      namespace_packages=['beetsplug'],
+       entry_points={
+           'console_scripts': [
+               'beet = beets.ui:main',

Added: packages/beets/trunk/debian/patches/series
===================================================================
--- packages/beets/trunk/debian/patches/series	                        (rev 0)
+++ packages/beets/trunk/debian/patches/series	2012-12-01 21:13:40 UTC (rev 9283)
@@ -0,0 +1 @@
+no-namespace-pkg

Added: packages/beets/trunk/debian/tests/control
===================================================================
--- packages/beets/trunk/debian/tests/control	                        (rev 0)
+++ packages/beets/trunk/debian/tests/control	2012-12-01 21:13:40 UTC (rev 9283)
@@ -0,0 +1,2 @@
+Tests: unittests
+Depends: @, python-nose, python-all, python-unittest2

Added: packages/beets/trunk/debian/tests/unittests
===================================================================
--- packages/beets/trunk/debian/tests/unittests	                        (rev 0)
+++ packages/beets/trunk/debian/tests/unittests	2012-12-01 21:13:40 UTC (rev 9283)
@@ -0,0 +1,16 @@
+#!/bin/sh
+set -efu
+
+export HOME="$ADTTMP"
+export LC_ALL=C.UTF-8
+export PYTHONPATH=/usr/share/beets
+
+pythons="$(pyversions -rv)"
+
+cp -a test $ADTTMP
+cd "$ADTTMP"
+
+for py in $pythons; do
+	echo "=== python$py ==="
+	nosetests-$py test 2>&1
+done


Property changes on: packages/beets/trunk/debian/tests/unittests
___________________________________________________________________
Added: svn:executable
   + *




More information about the Python-apps-commits mailing list