--- a/skeleton/debian/DISTNAME.prerm.tmpl Wed Apr 11 15:48:12 2012 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-#!/bin/sh -e
-
-delete_pyo_pyc () {
- find /usr/share/cubicweb/cubes/%(cubename)s -name "*.pyc" | xargs rm -f
- find /usr/share/cubicweb/cubes/%(cubename)s -name "*.pyo" | xargs rm -f
-}
-
-
-case "$1" in
- failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
- upgrade)
- delete_pyo_pyc
- ;;
- remove)
- delete_pyo_pyc
- ;;
- purge)
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
-
-esac
-
-#DEBHELPER#
--- a/skeleton/debian/compat Wed Apr 11 15:48:12 2012 +0200
+++ b/skeleton/debian/compat Wed Apr 11 14:16:27 2012 +0200
@@ -1,1 +1,1 @@
-5
+7
--- a/skeleton/debian/control.tmpl Wed Apr 11 15:48:12 2012 +0200
+++ b/skeleton/debian/control.tmpl Wed Apr 11 14:16:27 2012 +0200
@@ -2,13 +2,13 @@
Section: web
Priority: optional
Maintainer: %(author)s <%(author-email)s>
-Build-Depends: debhelper (>= 5.0.37.1), python (>=2.4), python-support
-Standards-Version: 3.8.0
-
+Build-Depends: debhelper (>= 7), python (>=2.5), python-support
+Standards-Version: 3.9.3
+XS-Python-Version: >= 2.5
Package: %(distname)s
Architecture: all
-Depends: cubicweb-common (>= %(version)s)
+Depends: cubicweb-common (>= %(version)s), ${python:Depends}
Description: %(shortdesc)s
CubicWeb is a semantic web application framework.
.
--- a/skeleton/debian/copyright.tmpl Wed Apr 11 15:48:12 2012 +0200
+++ b/skeleton/debian/copyright.tmpl Wed Apr 11 14:16:27 2012 +0200
@@ -1,4 +1,4 @@
-Upstream Author:
+Upstream Author:
%(author)s <%(author-email)s>
--- a/skeleton/debian/rules.tmpl Wed Apr 11 15:48:12 2012 +0200
+++ b/skeleton/debian/rules.tmpl Wed Apr 11 14:16:27 2012 +0200
@@ -4,7 +4,10 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-build: build-stamp
+build: build-arch build-indep
+build-arch:
+ # Nothing to do
+build-indep: build-stamp
build-stamp:
dh_testdir
NO_SETUPTOOLS=1 python setup.py -q build