[Python-modules-commits] r25514 - in packages/pycha/trunk/debian (6 files)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Sun Aug 11 17:22:47 UTC 2013


    Date: Sunday, August 11, 2013 @ 17:22:46
  Author: bernat
Revision: 25514

New upstream version and update packaging.

Modified:
  packages/pycha/trunk/debian/changelog
  packages/pycha/trunk/debian/compat
  packages/pycha/trunk/debian/control
  packages/pycha/trunk/debian/rules
Deleted:
  packages/pycha/trunk/debian/pycompat
  packages/pycha/trunk/debian/runtests.py

Modified: packages/pycha/trunk/debian/changelog
===================================================================
--- packages/pycha/trunk/debian/changelog	2013-08-11 16:58:02 UTC (rev 25513)
+++ packages/pycha/trunk/debian/changelog	2013-08-11 17:22:46 UTC (rev 25514)
@@ -1,9 +1,15 @@
-pycha (0.6.0-4) UNRELEASED; urgency=low
+pycha (0.7.0-1) UNRELEASED; urgency=low
 
+  [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:01:37 +0200
+  [ Vincent Bernat ]
+  * New upstream release.
+  * Switch to dh-python.
+  * Switch to python-nose for tests.
 
+ -- Vincent Bernat <bernat at debian.org>  Sun, 11 Aug 2013 19:00:26 +0200
+
 pycha (0.6.0-3) unstable; urgency=low
 
   * Add missing runtime dependencies. Closes: #645265.

Modified: packages/pycha/trunk/debian/compat
===================================================================
--- packages/pycha/trunk/debian/compat	2013-08-11 16:58:02 UTC (rev 25513)
+++ packages/pycha/trunk/debian/compat	2013-08-11 17:22:46 UTC (rev 25514)
@@ -1 +1 @@
-5
+7

Modified: packages/pycha/trunk/debian/control
===================================================================
--- packages/pycha/trunk/debian/control	2013-08-11 16:58:02 UTC (rev 25513)
+++ packages/pycha/trunk/debian/control	2013-08-11 17:22:46 UTC (rev 25514)
@@ -3,15 +3,14 @@
 Priority: optional
 Maintainer: Vincent Bernat <bernat at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Standards-Version: 3.9.2
-Build-Depends: debhelper (>= 5.0.37.2),
-               cdbs (>= 0.4.90~), python (>= 2.6.6-3),
-               python-setuptools (>= 0.6b3)
+Standards-Version: 3.9.4
+Build-Depends: debhelper (>= 7.0.50~),
+               python-all, dh-python,
+               python-nose
 Build-Depends-Indep: python-cairo (>= 1.2)
 Homepage: http://bitbucket.org/lgs/pycha/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pycha/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pycha/trunk/
-X-Python-Version: >= 2.4
 
 Package: python-pycha
 Architecture: all

Deleted: packages/pycha/trunk/debian/pycompat
===================================================================
--- packages/pycha/trunk/debian/pycompat	2013-08-11 16:58:02 UTC (rev 25513)
+++ packages/pycha/trunk/debian/pycompat	2013-08-11 17:22:46 UTC (rev 25514)
@@ -1 +0,0 @@
-2

Modified: packages/pycha/trunk/debian/rules
===================================================================
--- packages/pycha/trunk/debian/rules	2013-08-11 16:58:02 UTC (rev 25513)
+++ packages/pycha/trunk/debian/rules	2013-08-11 17:22:46 UTC (rev 25514)
@@ -1,17 +1,13 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+%:
+	dh $@ --with python2 --buildsystem=pybuild
 
-DEB_INSTALL_EXAMPLES_python-pycha := examples/*
-DEB_DH_ALWAYS_EXCLUDE := .svn
-DEB_COMPRESS_EXCLUDE := .py
-DEB_INSTALL_CHANGELOGS_ALL = CHANGES.txt
-DEB_INSTALL_MANPAGES_python-pycha = debian/chavier.7
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="nosetests --with-doctest tests/*.py" dh_auto_test
 
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-install/python-pycha::
-	$(call cdbs_python_binary,python$(cdbs_python_compile_version)) \
-		debian/runtests.py debian/python-pycha
-endif
+override_dh_auto_clean:
+	dh_auto_clean
+	find pycha -name '*.pyc' -delete

Deleted: packages/pycha/trunk/debian/runtests.py
===================================================================
--- packages/pycha/trunk/debian/runtests.py	2013-08-11 16:58:02 UTC (rev 25513)
+++ packages/pycha/trunk/debian/runtests.py	2013-08-11 17:22:46 UTC (rev 25514)
@@ -1,16 +0,0 @@
-import sys
-from os.path import join
-from distutils.sysconfig import get_python_lib
-from site import addsitedir
-
-root = sys.argv.pop(1)
-site_packages = get_python_lib()
-
-_path = sys.path[:]
-sys.path[:] = []
-addsitedir(join(root, site_packages[1:]))
-addsitedir(join(root, site_packages[1:].replace("dist-packages", "site-packages")))
-sys.path.extend(_path)
-sys.path.append("tests")
-
-execfile("tests/runner.py")




More information about the Python-modules-commits mailing list