Hello community,

here is the log from the commit of package python-virtualenvwrapper for 
openSUSE:Factory checked in at 2013-04-16 06:56:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-virtualenvwrapper (Old)
 and      /work/SRC/openSUSE:Factory/.python-virtualenvwrapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-virtualenvwrapper", Maintainer is ""

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-virtualenvwrapper/python-virtualenvwrapper.changes
        2013-04-02 12:53:27.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-virtualenvwrapper.new/python-virtualenvwrapper.changes
   2013-04-16 06:56:37.000000000 +0200
@@ -1,0 +2,13 @@
+Mon Apr  8 02:33:16 UTC 2013 - [email protected]
+
+- Update to 3.7.1:
+  - Rename functions for generating help so they do not pollute the
+    global namespace, and especially so they do not interfere with
+    tab completion. Contributed by davidszotten.
+  - Fix an issue with listing project templates if none are
+    installed. (#179)
+  - Fix an issue with the --python option to mkvirtualenv becoming
+    *sticky* for future calls that do not explicitly specify the
+    option. (#178)
+
+-------------------------------------------------------------------

Old:
----
  virtualenvwrapper-3.7.tar.bz2

New:
----
  virtualenvwrapper-3.7.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-virtualenvwrapper.spec ++++++
--- /var/tmp/diff_new_pack.kvTABY/_old  2013-04-16 06:56:38.000000000 +0200
+++ /var/tmp/diff_new_pack.kvTABY/_new  2013-04-16 06:56:38.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-virtualenvwrapper
-Version:        3.7
+Version:        3.7.1
 Release:        0
 Url:            http://www.doughellmann.com/projects/virtualenvwrapper/
 Summary:        Enhancements to virtualenv

++++++ virtualenvwrapper-3.7.tar.bz2 -> virtualenvwrapper-3.7.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virtualenvwrapper-3.7/PKG-INFO 
new/virtualenvwrapper-3.7.1/PKG-INFO
--- old/virtualenvwrapper-3.7/PKG-INFO  2013-03-16 15:36:20.000000000 +0100
+++ new/virtualenvwrapper-3.7.1/PKG-INFO        2013-04-07 19:54:58.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: virtualenvwrapper
-Version: 3.7
+Version: 3.7.1
 Summary: Enhancements to virtualenv
 Home-page: http://www.doughellmann.com/projects/virtualenvwrapper/
 Author: Doug Hellmann
@@ -38,7 +38,7 @@
         6. Plugin system for more creating sharable extensions.
         
         Rich Leland has created a short `screencast
-        
<http://mathematism.com/2009/jul/30/presentation-pip-and-virtualenv/>`__
+        <http://mathematism.com/2009/07/30/presentation-pip-and-virtualenv/>`__
         showing off the features of virtualenvwrapper.
         
         ============
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virtualenvwrapper-3.7/README.rst 
new/virtualenvwrapper-3.7.1/README.rst
--- old/virtualenvwrapper-3.7/README.rst        1970-01-01 01:00:00.000000000 
+0100
+++ new/virtualenvwrapper-3.7.1/README.rst      2013-04-02 18:51:08.000000000 
+0200
@@ -0,0 +1,110 @@
+..   -*- mode: rst -*-
+
+#################
+virtualenvwrapper
+#################
+
+virtualenvwrapper is a set of extensions to Ian Bicking's `virtualenv
+<http://pypi.python.org/pypi/virtualenv>`_ tool.  The extensions include
+wrappers for creating and deleting virtual environments and otherwise
+managing your development workflow, making it easier to work on more
+than one project at a time without introducing conflicts in their
+dependencies.
+
+========
+Features
+========
+
+1.  Organizes all of your virtual environments in one place.
+
+2.  Wrappers for creating, copying and deleting environments, including
+    user-configurable hooks.
+
+3.  Use a single command to switch between environments.
+
+4.  Tab completion for commands that take a virtual environment as
+    argument.
+
+5. User-configurable hooks for all operations.
+
+6. Plugin system for more creating sharable extensions.
+
+Rich Leland has created a short `screencast
+<http://mathematism.com/2009/07/30/presentation-pip-and-virtualenv/>`__
+showing off the features of virtualenvwrapper.
+
+============
+Installation
+============
+
+See the `project documentation
+<http://www.doughellmann.com/docs/virtualenvwrapper/>`__ for
+installation and setup instructions.
+
+Supported Shells
+================
+
+virtualenvwrapper is a set of shell *functions* defined in Bourne
+shell compatible syntax.  It is tested under `bash`, `ksh`, and `zsh`.
+It may work with other shells, so if you find that it does work with a
+shell not listed here please let me know.  If you can modify it to
+work with another shell, without completely rewriting it, send a pull
+request through the bitbucket project page.  If you write a clone to
+work with an incompatible shell, let me know and I will link to it
+from this page.
+
+Python Versions
+===============
+
+virtualenvwrapper is tested under Python 2.6, 2.7 and 3.2.
+
+=======
+Support
+=======
+
+Join the `virtualenvwrapper Google Group
+<http://groups.google.com/group/virtualenvwrapper/>`__ to discuss
+issues and features.  
+
+Report bugs via the `bug tracker on BitBucket
+<http://bitbucket.org/dhellmann/virtualenvwrapper/>`__.
+
+Shell Aliases
+=============
+
+Since virtualenvwrapper is largely a shell script, it uses shell
+commands for a lot of its actions.  If your environment makes heavy
+use of shell aliases or other customizations, you may encounter
+issues.  Before reporting bugs in the bug tracker, please test
+*without* your aliases enabled.  If you can identify the alias causing
+the problem, that will help make virtualenvwrapper more robust.
+
+==========
+Change Log
+==========
+
+The `release history`_ is part of the project documentation.
+
+.. _release history: 
http://www.doughellmann.com/docs/virtualenvwrapper/history.html
+
+=======
+License
+=======
+
+Copyright Doug Hellmann, All Rights Reserved
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that the name of Doug Hellmann not be used
+in advertising or publicity pertaining to distribution of the software
+without specific, written prior permission.
+
+DOUG HELLMANN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+EVENT SHALL DOUG HELLMANN BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
+USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virtualenvwrapper-3.7/docs/source/command_ref.rst 
new/virtualenvwrapper-3.7.1/docs/source/command_ref.rst
--- old/virtualenvwrapper-3.7/docs/source/command_ref.rst       2012-12-19 
23:49:52.000000000 +0100
+++ new/virtualenvwrapper-3.7.1/docs/source/command_ref.rst     2013-03-27 
19:59:52.000000000 +0100
@@ -57,7 +57,7 @@
    * :ref:`scripts-postmkvirtualenv`
    * `requirements file format`_
 
-.. _requirements file format: 
http://www.pip-installer.org/en/latest/requirement-format.html
+.. _requirements file format: 
http://www.pip-installer.org/en/latest/requirements.html
 
 .. _command-mktmpenv:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virtualenvwrapper-3.7/docs/source/history.rst 
new/virtualenvwrapper-3.7.1/docs/source/history.rst
--- old/virtualenvwrapper-3.7/docs/source/history.rst   2013-03-16 
15:32:38.000000000 +0100
+++ new/virtualenvwrapper-3.7.1/docs/source/history.rst 2013-04-07 
19:52:31.000000000 +0200
@@ -2,6 +2,17 @@
 Release History
 ===============
 
+3.7.1
+
+  - Rename functions for generating help so they do not pollute the
+    global namespace, and especially so they do not interfere with tab
+    completion. Contributed by :bbuser:`davidszotten`.
+  - Fix an issue with listing project templates if none are
+    installed. (:bbissue:`179`)
+  - Fix an issue with the ``--python`` option to ``mkvirtualenv``
+    becoming *sticky* for future calls that do not explicitly specify
+    the option. (:bbissue:`178`)
+
 3.7
 
   - Improve tab-completion support for users of the lazy-loading
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virtualenvwrapper-3.7/setup.py 
new/virtualenvwrapper-3.7.1/setup.py
--- old/virtualenvwrapper-3.7/setup.py  2013-03-16 15:32:31.000000000 +0100
+++ new/virtualenvwrapper-3.7.1/setup.py        2013-04-07 19:54:02.000000000 
+0200
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 
 PROJECT = 'virtualenvwrapper'
-VERSION = '3.7'
+VERSION = '3.7.1'
 
 # Bootstrap installation of Distribute
 import distribute_setup
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virtualenvwrapper-3.7/tests/test_mkvirtualenv.sh 
new/virtualenvwrapper-3.7.1/tests/test_mkvirtualenv.sh
--- old/virtualenvwrapper-3.7/tests/test_mkvirtualenv.sh        2012-06-10 
20:27:03.000000000 +0200
+++ new/virtualenvwrapper-3.7.1/tests/test_mkvirtualenv.sh      2013-04-07 
17:13:27.000000000 +0200
@@ -166,5 +166,13 @@
     VIRTUALENVWRAPPER_VIRTUALENV=virtualenv
 }
 
+test_mkvirtualenv_python_not_sticky () {
+    typeset _save=$VIRTUALENVWRAPPER_VIRTUALENV
+    VIRTUALENVWRAPPER_VIRTUALENV=true
+    mkvirtualenv --python blah foo
+    assertSame "" "$interpreter"
+    VIRTUALENVWRAPPER_VIRTUALENV=$_save
+}
+
 
 . "$test_dir/shunit2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virtualenvwrapper-3.7/tests/test_mkvirtualenv.sh~ 
new/virtualenvwrapper-3.7.1/tests/test_mkvirtualenv.sh~
--- old/virtualenvwrapper-3.7/tests/test_mkvirtualenv.sh~       2012-06-10 
20:27:03.000000000 +0200
+++ new/virtualenvwrapper-3.7.1/tests/test_mkvirtualenv.sh~     2012-06-10 
20:27:03.000000000 +0200
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-
 test_dir=$(cd $(dirname $0) && pwd)
 source "$test_dir/setup.sh"
 
@@ -59,9 +58,15 @@
        # Find "which" before we change the path
        which=$(which which)
     old_path="$PATH"
-    PATH="/usr/sbin:/sbin"
-    assertFalse "Found virtualenv in $($which virtualenv)" "which virtualenv"
-    mkvirtualenv should_not_be_created 2>/dev/null
+    PATH="/bin:/usr/sbin:/sbin"
+    venv=$($which virtualenv 2>/dev/null)
+       if [ ! -z "$venv" ]
+       then
+        echo "FOUND \"$venv\" in PATH so skipping this test"
+        export PATH="$old_path"
+               return 0
+       fi
+    mkvirtualenv should_not_be_created >/dev/null 2>&1
     RC=$?
     # Restore the path before testing because
     # the test script depends on commands in the
@@ -114,6 +119,25 @@
     unset VIRTUALENVWRAPPER_VIRTUALENV_ARGS
 }
 
+test_no_such_virtualenv () {
+    VIRTUALENVWRAPPER_VIRTUALENV=/path/to/missing/program
+
+    echo "#!/bin/sh" > "$WORKON_HOME/premkvirtualenv"
+    echo "echo GLOBAL premkvirtualenv \`pwd\` \"\$@\" >> 
\"$pre_test_dir/catch_output\"" >> "$WORKON_HOME/premkvirtualenv"
+    chmod +x "$WORKON_HOME/premkvirtualenv"
+
+    echo "echo GLOBAL postmkvirtualenv >> $test_dir/catch_output" > 
"$WORKON_HOME/postmkvirtualenv"
+    mkvirtualenv "env3" >/dev/null 2>&1
+    output=$(cat "$test_dir/catch_output" 2>/dev/null)
+    workon_home_as_pwd=$(cd $WORKON_HOME; pwd)
+    expected=""
+    assertSame "$expected" "$output"
+    rm -f "$WORKON_HOME/premkvirtualenv"
+    rm -f "$WORKON_HOME/postmkvirtualenv"
+
+    VIRTUALENVWRAPPER_VIRTUALENV=virtualenv
+}
+
 test_virtualenv_fails () {
     # Test to reproduce the conditions in issue #76
     # https://bitbucket.org/dhellmann/virtualenvwrapper/issue/76/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/virtualenvwrapper-3.7/virtualenvwrapper/hook_loader.py 
new/virtualenvwrapper-3.7.1/virtualenvwrapper/hook_loader.py
--- old/virtualenvwrapper-3.7/virtualenvwrapper/hook_loader.py  2013-03-15 
23:28:11.000000000 +0100
+++ new/virtualenvwrapper-3.7.1/virtualenvwrapper/hook_loader.py        
2013-04-07 16:58:10.000000000 +0200
@@ -160,7 +160,10 @@
         def show(ext):
             output.write('  %-10s -- %s\n' %
                          (ext.name, inspect.getdoc(ext.plugin) or ''))
-        hook_mgr.map(show)
+        try:
+            hook_mgr.map(show)
+        except RuntimeError:  # no templates
+            output.write('  No templates installed.\n')
 
     elif options.sourcing:
         def get_source(ext, args):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/virtualenvwrapper-3.7/virtualenvwrapper.egg-info/PKG-INFO 
new/virtualenvwrapper-3.7.1/virtualenvwrapper.egg-info/PKG-INFO
--- old/virtualenvwrapper-3.7/virtualenvwrapper.egg-info/PKG-INFO       
2013-03-16 15:36:20.000000000 +0100
+++ new/virtualenvwrapper-3.7.1/virtualenvwrapper.egg-info/PKG-INFO     
2013-04-07 19:54:54.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: virtualenvwrapper
-Version: 3.7
+Version: 3.7.1
 Summary: Enhancements to virtualenv
 Home-page: http://www.doughellmann.com/projects/virtualenvwrapper/
 Author: Doug Hellmann
@@ -38,7 +38,7 @@
         6. Plugin system for more creating sharable extensions.
         
         Rich Leland has created a short `screencast
-        
<http://mathematism.com/2009/jul/30/presentation-pip-and-virtualenv/>`__
+        <http://mathematism.com/2009/07/30/presentation-pip-and-virtualenv/>`__
         showing off the features of virtualenvwrapper.
         
         ============
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/virtualenvwrapper-3.7/virtualenvwrapper.egg-info/SOURCES.txt 
new/virtualenvwrapper-3.7.1/virtualenvwrapper.egg-info/SOURCES.txt
--- old/virtualenvwrapper-3.7/virtualenvwrapper.egg-info/SOURCES.txt    
2013-03-16 15:36:20.000000000 +0100
+++ new/virtualenvwrapper-3.7.1/virtualenvwrapper.egg-info/SOURCES.txt  
2013-04-07 19:54:56.000000000 +0200
@@ -1,4 +1,5 @@
 MANIFEST.in
+README.rst
 distribute_setup.py
 setup.py
 tox.ini
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virtualenvwrapper-3.7/virtualenvwrapper.sh 
new/virtualenvwrapper-3.7.1/virtualenvwrapper.sh
--- old/virtualenvwrapper-3.7/virtualenvwrapper.sh      2013-03-15 
23:11:25.000000000 +0100
+++ new/virtualenvwrapper-3.7.1/virtualenvwrapper.sh    2013-04-07 
17:14:16.000000000 +0200
@@ -337,7 +337,7 @@
 }
 
 # Help text for mkvirtualenv
-function mkvirtualenv_help {
+function virtualenvwrapper_mkvirtualenv_help {
     echo "Usage: mkvirtualenv [-a project_path] [-i package] [-r 
requirements_file] [virtualenv options] env_name"
     echo
     echo " -a project_path"
@@ -374,6 +374,7 @@
     typeset envname
     typeset requirements
     typeset packages
+    typeset interpreter
 
     in_args=( "$@" )
 
@@ -394,7 +395,7 @@
                 i=$(( $i + 1 ));
                 project="${in_args[$i]}";;
             -h|--help)
-                mkvirtualenv_help $a;
+                virtualenvwrapper_mkvirtualenv_help $a;
                 return;;
             -i)
                 i=$(( $i + 1 ));
@@ -608,7 +609,7 @@
 }
 
 # Show help for workon
-function workon_help {
+function virtualenvwrapper_workon_help {
     echo "Usage: workon env_name"
     echo ""
     echo "           Deactivate any currently activated virtualenv"
@@ -646,7 +647,7 @@
         a="${in_args[$i]}"
         case "$a" in
             -h|--help)
-                workon_help;
+                virtualenvwrapper_workon_help;
                 return 0;;
         esac
         i=$(( $i + 1 ))
@@ -962,7 +963,7 @@
 }
 
 # Show help for mkproject
-function mkproject_help {
+function virtualenvwrapper_mkproject_help {
     echo "Usage: mkproject [-t template] [virtualenv options] project_name"
     echo ""
     echo "Multiple templates may be selected.  They are applied in the order"
@@ -1002,7 +1003,7 @@
         a="${in_args[$i]}"
         case "$a" in
             -h|--help)
-                mkproject_help;
+                virtualenvwrapper_mkproject_help;
                 return;;
             -t)
                 i=$(( $i + 1 ));

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to