forked from pool/python-virtualenvwrapper
Accepting request 261862 from home:Ledest:misc
fix shebang in virtualenvwrapper_lazy.sh script that contains bash-specific constructions OBS-URL: https://build.opensuse.org/request/show/261862 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenvwrapper?expand=0&rev=47
This commit is contained in:
committed by
Git OBS Bridge
parent
9968e0f3fe
commit
a9e7497383
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 16 00:03:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix shebang in virtualenvwrapper_lazy.sh script that contains
|
||||
bash-specific constructions
|
||||
- add patches:
|
||||
* virtualenvwrapper-4.2-fix-bashisms.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 08 20:14:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ Summary: Enhancements to virtualenv
|
||||
License: HPND
|
||||
Group: Development/Languages/Python
|
||||
Source: https://pypi.python.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-%{version}.tar.gz
|
||||
Patch: virtualenvwrapper-4.2-fix-bashisms.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pbr
|
||||
@@ -57,6 +58,7 @@ conflicts in their dependencies.
|
||||
|
||||
%prep
|
||||
%setup -q -n virtualenvwrapper-%{version}
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
9
virtualenvwrapper-4.2-fix-bashisms.patch
Normal file
9
virtualenvwrapper-4.2-fix-bashisms.patch
Normal file
@@ -0,0 +1,9 @@
|
||||
diff -Ndur virtualenvwrapper-4.2/virtualenvwrapper_lazy.sh virtualenvwrapper-4.2-fix-bashisms/virtualenvwrapper_lazy.sh
|
||||
--- virtualenvwrapper-4.2/virtualenvwrapper_lazy.sh 2014-01-12 19:13:28.000000000 +0200
|
||||
+++ virtualenvwrapper-4.2-fix-bashisms/virtualenvwrapper_lazy.sh 2014-11-16 02:00:13.185110170 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/sh
|
||||
+#!/bin/bash
|
||||
# Alternative startup script for faster login times.
|
||||
|
||||
export _VIRTUALENVWRAPPER_API="$_VIRTUALENVWRAPPER_API mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv"
|
||||
Reference in New Issue
Block a user