[Python-modules-commits] r25511 - in packages/cerealizer/trunk/debian (5 files)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Sun Aug 11 16:38:24 UTC 2013


    Date: Sunday, August 11, 2013 @ 16:38:22
  Author: bernat
Revision: 25511

Switch to pybuild.

Modified:
  packages/cerealizer/trunk/debian/changelog
  packages/cerealizer/trunk/debian/compat
  packages/cerealizer/trunk/debian/control
  packages/cerealizer/trunk/debian/rules
Deleted:
  packages/cerealizer/trunk/debian/pyversions

Modified: packages/cerealizer/trunk/debian/changelog
===================================================================
--- packages/cerealizer/trunk/debian/changelog	2013-08-11 16:22:30 UTC (rev 25510)
+++ packages/cerealizer/trunk/debian/changelog	2013-08-11 16:38:22 UTC (rev 25511)
@@ -5,8 +5,10 @@
 
   [ Vincent Bernat ]
   * New upstream release
+  * Bump Standards-Version to 3.9.4.
+  * Switch to pybuilder and dh-python and to nose for testing.
 
- -- Vincent Bernat <bernat at guybrush.luffy.cx>  Sun, 11 Aug 2013 18:21:13 +0200
+ -- Vincent Bernat <bernat at debian.org>  Sun, 11 Aug 2013 18:23:02 +0200
 
 cerealizer (0.7-4) unstable; urgency=low
 

Modified: packages/cerealizer/trunk/debian/compat
===================================================================
--- packages/cerealizer/trunk/debian/compat	2013-08-11 16:22:30 UTC (rev 25510)
+++ packages/cerealizer/trunk/debian/compat	2013-08-11 16:38:22 UTC (rev 25511)
@@ -1 +1 @@
-5
+7

Modified: packages/cerealizer/trunk/debian/control
===================================================================
--- packages/cerealizer/trunk/debian/control	2013-08-11 16:22:30 UTC (rev 25510)
+++ packages/cerealizer/trunk/debian/control	2013-08-11 16:38:22 UTC (rev 25511)
@@ -3,8 +3,9 @@
 Priority: optional
 Maintainer: Vincent Bernat <bernat at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python, python-support (>= 0.3.2)
-Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7.0.50~), dh-python, python-all, python3-all,
+               python-nose, python3-nose
+Standards-Version: 3.9.4
 Homepage: http://home.gna.org/oomadness/en/cerealizer/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/cerealizer/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/cerealizer/trunk/

Deleted: packages/cerealizer/trunk/debian/pyversions
===================================================================
--- packages/cerealizer/trunk/debian/pyversions	2013-08-11 16:22:30 UTC (rev 25510)
+++ packages/cerealizer/trunk/debian/pyversions	2013-08-11 16:38:22 UTC (rev 25511)
@@ -1 +0,0 @@
-2.4-

Modified: packages/cerealizer/trunk/debian/rules
===================================================================
--- packages/cerealizer/trunk/debian/rules	2013-08-11 16:22:30 UTC (rev 25510)
+++ packages/cerealizer/trunk/debian/rules	2013-08-11 16:38:22 UTC (rev 25511)
@@ -1,14 +1,9 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-DEB_PYTHON_SYSTEM = pysupport
-include /usr/share/cdbs/1/class/python-distutils.mk
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
-DEB_COMPRESS_EXCLUDE := .py
-
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-install/python-cerealizer::
-	$(call cdbs_python_binary,python$(cdbs_python_compile_version)) \
-		debian/runtests.py debian/python-cerealizer
-endif
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="nosetests --with-doctest {build_dir}/" dh_auto_test




More information about the Python-modules-commits mailing list