[Python-modules-commits] r7049 - in packages/logilab-common/trunk/debian (4 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Nov 30 13:33:47 UTC 2008


    Date: Sunday, November 30, 2008 @ 13:33:46
  Author: morph
Revision: 7049

  - moved python to build-dep (needed for clean)
  - no need to recompress man page
  - using '-delete' find option instead of xargs
  - call "python setup.py clean" in clean target
  - merge 'rm' calls into dh_clean
  - don't compress files under 'test/' and 'apidoc/' dirs
* debian/copyright
  - added a clear license section, referring simply to GPLv2, since every file
    is license only GPLv2, hence updating the local license text file too
  - indented upstream author, copyright and license with 4 spaces
  - extended copyright year (starting from 2000, previous 2003, due to
    'table.py' et alter)

Modified:
  packages/logilab-common/trunk/debian/changelog
  packages/logilab-common/trunk/debian/control
  packages/logilab-common/trunk/debian/copyright
  packages/logilab-common/trunk/debian/rules

Modified: packages/logilab-common/trunk/debian/changelog
===================================================================
--- packages/logilab-common/trunk/debian/changelog	2008-11-30 11:57:24 UTC (rev 7048)
+++ packages/logilab-common/trunk/debian/changelog	2008-11-30 13:33:46 UTC (rev 7049)
@@ -8,15 +8,27 @@
     - replace 'python' with ${python:Depends} and added ${misc:Depends} to
       Depends
     - added python-epydoc to build-dep-indep (to build doc)
+    - moved python to build-dep (needed for clean)
   * debian/pycompat
     - removed since no more needed
   * debian/rules
     - install upstream 'Changelog' using dh_installchangelog
     - added build, clean and install for documentation
+    - no need to recompress man page
+    - using '-delete' find option instead of xargs
+    - call "python setup.py clean" in clean target
+    - merge 'rm' calls into dh_clean
+    - don't compress files under 'test/' and 'apidoc/' dirs
   * debian/python-logilab-common.{postinst,preinst,prerm}
     - removed since not needed
   * debian/python-logilab-common.docs
     - removed: installed non-existing files, using debian/rules
+  * debian/copyright
+    - added a clear license section, referring simply to GPLv2, since every file
+      is license only GPLv2, hence updating the local license text file too
+    - indented upstream author, copyright and license with 4 spaces
+    - extended copyright year (starting from 2000, previous 2003, due to
+      'table.py' et alter)
 
  -- Sandro Tosi <morph at debian.org>  Sat, 29 Nov 2008 23:47:00 +0100
 

Modified: packages/logilab-common/trunk/debian/control
===================================================================
--- packages/logilab-common/trunk/debian/control	2008-11-30 11:57:24 UTC (rev 7048)
+++ packages/logilab-common/trunk/debian/control	2008-11-30 13:33:46 UTC (rev 7049)
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: David Douard <david.douard at logilab.fr>, Alexandre Fayolle <afayolle at debian.org>, Sandro Tosi <morph at debian.org>
-Build-Depends: debhelper (>= 5.0.38)
-Build-Depends-Indep: python (>=2.3.5-7), python-central (>=0.5.6), python-epydoc
+Build-Depends: debhelper (>= 5.0.38), python (>=2.3.5-7)
+Build-Depends-Indep: python-central (>=0.5.6), python-epydoc
 XS-Python-Version: all
 Standards-Version: 3.8.0
 Homepage: http://www.logilab.org/project/logilab-common
@@ -19,6 +19,7 @@
 Description: useful miscellaneous modules used by Logilab projects
  logilab-common is a collection of low-level Python packages and modules,
  designed to ease:
+ .
   * handling command line options and configuration files
   * writing interactive command line tools
   * manipulation files and character strings

Modified: packages/logilab-common/trunk/debian/copyright
===================================================================
--- packages/logilab-common/trunk/debian/copyright	2008-11-30 11:57:24 UTC (rev 7048)
+++ packages/logilab-common/trunk/debian/copyright	2008-11-30 13:33:46 UTC (rev 7049)
@@ -4,25 +4,16 @@
 
 Upstream Author: 
 
-  Logilab <devel at logilab.fr>
+    Logilab <devel at logilab.fr>
 
 Copyright:
 
-Copyright (c) 2003-2008 LOGILAB S.A. (Paris, FRANCE).
-http://www.logilab.fr/ -- mailto:contact at logilab.fr
+    Copyright (c) 2000-2008 LOGILAB S.A. (Paris, FRANCE).
+    http://www.logilab.fr/ -- mailto:contact at logilab.fr
 
-This program is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
-version.
+License:
 
-This program is distributed in the hope that it will be useful, but WITHOUT
-ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+    GPLv2
 
-You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc.,
-51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-
 On Debian systems, the complete text of the GNU General Public License
-may be found in '/usr/share/common-licenses/GPL'.
+Version 2 may be found in '/usr/share/common-licenses/GPL-2'.

Modified: packages/logilab-common/trunk/debian/rules
===================================================================
--- packages/logilab-common/trunk/debian/rules	2008-11-30 11:57:24 UTC (rev 7048)
+++ packages/logilab-common/trunk/debian/rules	2008-11-30 13:33:46 UTC (rev 7049)
@@ -26,20 +26,24 @@
 clean: 
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
-	rm -rf build
 	
 	# clean doc
 	$(MAKE) -C doc clean
-	find . -name "*.pyc" | xargs rm -f
-	dh_clean
 
+	python setup.py clean
+
+	find . -name "*.pyc" -delete
+
+	dh_clean build-stamp build
+
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
+
 	python setup.py -q install --no-compile --prefix=debian/python-logilab-common/usr/ --install-headers=debian/python-logilab-common/usr/include/ --install-scripts=debian/python-logilab-common/usr/bin
+
 	# remove test directory (installed in in the doc directory)
 	rm -rf debian/python-logilab-common/usr/lib/python*/site-packages/logilab/common/test
 
@@ -54,8 +58,7 @@
 	dh_installdocs -i 	README doc/apidoc/
 	dh_installman -i
 	dh_link -i
-	dh_compress -i -X.py -X.ini -X.xml -Xtest  
-	gzip -9 debian/python-logilab-common/usr/share/man/man1/pytest.1
+	dh_compress -i		-X.py -X.ini -X.xml -Xtest/ -Xapidoc/
 	dh_fixperms -i
 	dh_installdeb -i
 	dh_gencontrol -i 




More information about the Python-modules-commits mailing list