# HG changeset patch # User Sylvain Thenault # Date 1231407869 -3600 # Node ID 5d8336b70aa704f0a8bb2ed2f70cb495288cffd8 # Parent 226cbb207859e85743972c6bfce80089e54f71af make author information configurable diff -r 226cbb207859 -r 5d8336b70aa7 devtools/devctl.py --- a/devtools/devctl.py Thu Jan 08 09:59:12 2009 +0100 +++ b/devtools/devctl.py Thu Jan 08 10:44:29 2009 +0100 @@ -378,6 +378,24 @@ 'help': 'verbose mode: will ask all possible configuration questions', } ), + ("author", + {'short': 'a', 'type' : 'string', 'metavar': '', + 'default': 'LOGILAB S.A. (Paris, FRANCE)', + 'help': 'cube author', + } + ), + ("author-email", + {'short': 'e', 'type' : 'string', 'metavar': '', + 'default': 'contact@logilab.fr', + 'help': 'cube author\'s email', + } + ), + ("author-web-site", + {'short': 'w', 'type' : 'string', 'metavar': '', + 'default': 'http://www.logilab.fr', + 'help': 'cube author\'s web site', + } + ), ) @@ -428,6 +446,9 @@ 'dependancies' : dependancies, 'version' : cubicwebversion, 'year' : str(now().year), + 'author': self['author'], + 'author-email': self['author-email'], + 'author-web-site': self['author-web-site'], } copy_skeleton(skeldir, cubedir, context) diff -r 226cbb207859 -r 5d8336b70aa7 skeleton/__pkginfo__.py.tmpl --- a/skeleton/__pkginfo__.py.tmpl Thu Jan 08 09:59:12 2009 +0100 +++ b/skeleton/__pkginfo__.py.tmpl Thu Jan 08 10:44:29 2009 +0100 @@ -7,11 +7,11 @@ version = '.'.join(str(num) for num in numversion) license = 'LCL' -copyright = '''Copyright (c) 2008 LOGILAB S.A. (Paris, FRANCE). -http://www.logilab.fr/ -- mailto:contact@logilab.fr''' +copyright = '''Copyright (c) %(year)s %(author)s. +%(author-web-site)s -- mailto:%(author-email)s''' -author = 'Logilab' -author_email = 'contact@logilab.fr' +author = %(author)s' +author_email = %(author-email)s' short_desc = '%(shortdesc)s' long_desc = '''%(longdesc)s''' diff -r 226cbb207859 -r 5d8336b70aa7 skeleton/debian/control.tmpl --- a/skeleton/debian/control.tmpl Thu Jan 08 09:59:12 2009 +0100 +++ b/skeleton/debian/control.tmpl Thu Jan 08 10:44:29 2009 +0100 @@ -1,8 +1,7 @@ Source: %(distname)s Section: web Priority: optional -Maintainer: Logilab Packaging Team -Uploaders: Sylvain Thenault +Maintainer: %(author)s <%(author-email)s> Build-Depends: debhelper (>= 5.0.37.1), python (>=2.4), python-dev (>=2.4) Standards-Version: 3.8.0 diff -r 226cbb207859 -r 5d8336b70aa7 skeleton/debian/copyright.tmpl --- a/skeleton/debian/copyright.tmpl Thu Jan 08 09:59:12 2009 +0100 +++ b/skeleton/debian/copyright.tmpl Thu Jan 08 10:44:29 2009 +0100 @@ -1,14 +1,8 @@ -This package was debianized by Logilab - Upstream Author: - Logilab + %(author)s <%(author-email)s> Copyright: -Copyright (c) %(year)s LOGILAB S.A. (Paris, FRANCE). -http://www.logilab.fr/ -- mailto:contact@logilab.fr - -Logilab Closed source License. This code is *NOT* open-source. Usage of this -code is subject to a licence agreement. If you want to use it, you should -contact logilab's sales service at commercial@logilab.fr . +Copyright (c) %(year)s %(author)s. +%(author-web-site)s -- mailto:%(author-email)s diff -r 226cbb207859 -r 5d8336b70aa7 skeleton/i18n/en.po --- a/skeleton/i18n/en.po Thu Jan 08 09:59:12 2009 +0100 +++ b/skeleton/i18n/en.po Thu Jan 08 10:44:29 2009 +0100 @@ -1,5 +1,6 @@ msgid "" msgstr "" +"MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: pygettext.py 1.5\n" diff -r 226cbb207859 -r 5d8336b70aa7 skeleton/i18n/fr.po --- a/skeleton/i18n/fr.po Thu Jan 08 09:59:12 2009 +0100 +++ b/skeleton/i18n/fr.po Thu Jan 08 10:44:29 2009 +0100 @@ -1,10 +1,5 @@ msgid "" msgstr "" -"Project-Id-Version: 2.0\n" -"POT-Creation-Date: 2006-01-12 17:35+CET\n" -"PO-Revision-Date: 2008-02-15 12:55+0100\n" -"Last-Translator: Logilab\n" -"Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n"