# HG changeset patch # User David Douard # Date 1334146587 -7200 # Node ID 51c390500c6344a76b13ffd7946fe2eae99bcf53 # Parent b360112424d296a045aef15a84c413c33bc49dbc [skel] update newcube skeleton (closes #2312509) diff -r b360112424d2 -r 51c390500c63 skeleton/debian/DISTNAME.prerm.tmpl --- 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# diff -r b360112424d2 -r 51c390500c63 skeleton/debian/compat --- 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 diff -r b360112424d2 -r 51c390500c63 skeleton/debian/control.tmpl --- 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. . diff -r b360112424d2 -r 51c390500c63 skeleton/debian/copyright.tmpl --- 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> diff -r b360112424d2 -r 51c390500c63 skeleton/debian/rules.tmpl --- 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