[Python-modules-commits] r11913 - in packages/python-virtualenv/trunk/debian (6 files)

chaica-guest at users.alioth.debian.org chaica-guest at users.alioth.debian.org
Tue Feb 23 23:53:33 UTC 2010


    Date: Tuesday, February 23, 2010 @ 23:53:32
  Author: chaica-guest
Revision: 11913

  * New upstream release
  * debian/control
    - bump Standards-Version to 3.8.4
    - switching b-d python-all to python
    - added python-pip in the Depends field
  * debian/rules
    -using DH_ALWAYS_EXCLUDE for useless files already provided 
     by dependencies
  * debian/python-virtualenv.lintian-overrides
    - removing useless overrides on setuptools for py2.4
  * debian/virtualenv.1
    - correcting a typo spotted by lintian
  * debian/python-virtualenv.preinst
    - cleaning virtualenv from site-packages

Modified:
  packages/python-virtualenv/trunk/debian/changelog
  packages/python-virtualenv/trunk/debian/control
  packages/python-virtualenv/trunk/debian/python-virtualenv.lintian-overrides
  packages/python-virtualenv/trunk/debian/python-virtualenv.preinst
  packages/python-virtualenv/trunk/debian/rules
  packages/python-virtualenv/trunk/debian/virtualenv.1

Modified: packages/python-virtualenv/trunk/debian/changelog
===================================================================
--- packages/python-virtualenv/trunk/debian/changelog	2010-02-23 23:20:17 UTC (rev 11912)
+++ packages/python-virtualenv/trunk/debian/changelog	2010-02-23 23:53:32 UTC (rev 11913)
@@ -1,3 +1,22 @@
+python-virtualenv (1.4.5-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control
+    - bump Standards-Version to 3.8.4
+    - switching b-d python-all to python
+    - added python-pip in the Depends field
+  * debian/rules
+    -using DH_ALWAYS_EXCLUDE for useless files already provided 
+     by dependencies
+  * debian/python-virtualenv.lintian-overrides
+    - removing useless overrides on setuptools for py2.4
+  * debian/virtualenv.1
+    - correcting a typo spotted by lintian
+  * debian/python-virtualenv.preinst
+    - cleaning virtualenv from site-packages
+
+ -- Carl Chenet <chaica at ohmytux.com>  Wed, 24 Feb 2010 00:55:35 +0100
+
 python-virtualenv (1.4.3-1) unstable; urgency=low
 
   * New upstream version
@@ -2,4 +21,2 @@
   * Using dh7 + rules.tiny
-  * Moving debian/python-virtualenv.overrides to
-    python-virtualenv.lintian-overrides
   * Added a debian/python-virtualenv.preinst file to get rid of
@@ -34,7 +51,7 @@
   * debian/rules
     - Added an override for the upstream changelog
 
- -- Carl Chenet <chaica at ohmytux.com>  Tue, 15 Dec 2009 01:19:48 +0100
+ -- Carl Chenet <chaica at ohmytux.com>  Tue, 23 Feb 2010 22:29:29 +0100
 
 python-virtualenv (1.3.3-1) unstable; urgency=low
 

Modified: packages/python-virtualenv/trunk/debian/control
===================================================================
--- packages/python-virtualenv/trunk/debian/control	2010-02-23 23:20:17 UTC (rev 11912)
+++ packages/python-virtualenv/trunk/debian/control	2010-02-23 23:53:32 UTC (rev 11913)
@@ -6,14 +6,14 @@
 Homepage: http://pypi.python.org/pypi/virtualenv
 Vcs-Svn: svn://svn.debian.org/svn/python-modules/packages/python-pip/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-pip/trunk/
-Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.3.5-7)
+Build-Depends: debhelper (>= 7.0.50~), python (>= 2.3.5-7)
 Build-Depends-Indep: python-support, python-setuptools
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 XS-Python-Version: all
 
 Package: python-virtualenv
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources, python-setuptools
+Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources, python-setuptools, python-pip
 XB-Python-Version: ${python:Versions}
 Description: Python virtual environment creator
  The virtualenv utility creates virtual Python instances, each invokable

Modified: packages/python-virtualenv/trunk/debian/python-virtualenv.lintian-overrides
===================================================================
--- packages/python-virtualenv/trunk/debian/python-virtualenv.lintian-overrides	2010-02-23 23:20:17 UTC (rev 11912)
+++ packages/python-virtualenv/trunk/debian/python-virtualenv.lintian-overrides	2010-02-23 23:53:32 UTC (rev 11913)
@@ -3,6 +3,4 @@
 # We don't have control over the egg format, and at any rate these
 # files are not intended to be executed as shell scripts.
 
-python-virtualenv binary: script-not-executable ./usr/share/pyshared/virtualenv_support/setuptools-0.6c11-py2.4.egg
 python-virtualenv binary: script-not-executable ./usr/share/pyshared/virtualenv_support/setuptools-0.6c11-py2.5.egg
-

Modified: packages/python-virtualenv/trunk/debian/python-virtualenv.preinst
===================================================================
--- packages/python-virtualenv/trunk/debian/python-virtualenv.preinst	2010-02-23 23:20:17 UTC (rev 11912)
+++ packages/python-virtualenv/trunk/debian/python-virtualenv.preinst	2010-02-23 23:53:32 UTC (rev 11913)
@@ -3,8 +3,15 @@
 
 if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1.4.3-1; then
         pycentral pkgremove python-virtualenv
+
+       for pyversion in 2.4 2.5; do
+           if [ -d /usr/lib/python$pyversion/site-packages/virtualenv-* ]; then
+               rm -rf /usr/lib/python$pyversion/site-packages/virtualenv-*
+           fi
+       done
 fi
 
+
 #DEBHELPER#
 
 exit 0

Modified: packages/python-virtualenv/trunk/debian/rules
===================================================================
--- packages/python-virtualenv/trunk/debian/rules	2010-02-23 23:20:17 UTC (rev 11912)
+++ packages/python-virtualenv/trunk/debian/rules	2010-02-23 23:53:32 UTC (rev 11913)
@@ -1,4 +1,7 @@
 #!/usr/bin/make -f
+
+export DH_ALWAYS_EXCLUDE=distribute-0.6.8.tar.gz:pip-0.6.3.tar.gz:setuptools-0.6c11-py2.4.egg:setuptools-0.6c11-py2.6.egg
+
 %:
 	dh $@
 

Modified: packages/python-virtualenv/trunk/debian/virtualenv.1
===================================================================
--- packages/python-virtualenv/trunk/debian/virtualenv.1	2010-02-23 23:20:17 UTC (rev 11912)
+++ packages/python-virtualenv/trunk/debian/virtualenv.1	2010-02-23 23:53:32 UTC (rev 11913)
@@ -27,7 +27,7 @@
 .sp
 virtualenv creates virtual Python executables, each of which can have its own set of installed modules\&. Programs that require different versions of modules or sets of modules that may be incompatible with others to be installed on the same system without conflicts\&.
 .sp
-The result is a directory containing its own Python executables (in DIR/bin/pythonVER and DIR/bin/python) and its own module directory containing the standard library as installed by the system\&. Additional modules may be installed via setuptools, as invoked from the binary directory (DIR/bin/easy_install)\&. The system\(aas site\-packages directories will be available, but can be overriden with locally\-installed modules\&.
+The result is a directory containing its own Python executables (in DIR/bin/pythonVER and DIR/bin/python) and its own module directory containing the standard library as installed by the system\&. Additional modules may be installed via setuptools, as invoked from the binary directory (DIR/bin/easy_install)\&. The system\(aas site\-packages directories will be available, but can be overridden with locally\-installed modules\&.
 .sp
 In addition, a shell script called "activate" will be installed in the bin directory\&. If sourced, this will cause normal invokations of the Python executable to use the virtual environment\&.
 .sp




More information about the Python-modules-commits mailing list