[python-virtualenvwrapper] Initial import (#810033)

Ralph Bean ralph at fedoraproject.org
Wed Apr 18 22:35:51 UTC 2012


commit 6a32d3bc88ae2c883bafde30b310f5b2138a96be
Author: Ralph Bean <rbean at redhat.com>
Date:   Wed Apr 18 18:34:39 2012 -0400

    Initial import (#810033)

 .gitignore                          |    1 +
 0001-Shebangs-and-permissions.patch |   51 +++++++++++++++++++++++++++++++
 python-virtualenvwrapper.spec       |   57 +++++++++++++++++++++++++++++++++++
 sources                             |    1 +
 4 files changed, 110 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8270189 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/virtualenvwrapper-3.2.tar.gz
diff --git a/0001-Shebangs-and-permissions.patch b/0001-Shebangs-and-permissions.patch
new file mode 100644
index 0000000..c2ef6e4
--- /dev/null
+++ b/0001-Shebangs-and-permissions.patch
@@ -0,0 +1,51 @@
+From 90cee895b02adae47c725babc00bc804f9d3c3fe Mon Sep 17 00:00:00 2001
+From: Ralph Bean <rbean at redhat.com>
+Date: Tue, 17 Apr 2012 20:07:30 -0400
+Subject: [PATCH] Shebangs-and-permissions
+
+---
+ virtualenvwrapper.sh              |    1 +
+ virtualenvwrapper/hook_loader.py  |    1 -
+ virtualenvwrapper/project.py      |    1 -
+ virtualenvwrapper/user_scripts.py |    1 -
+ 4 files changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/virtualenvwrapper.sh b/virtualenvwrapper.sh
+index b44fe61..272845d 100755
+--- a/virtualenvwrapper.sh
++++ b/virtualenvwrapper.sh
+@@ -1,3 +1,4 @@
++#!/usr/bin/env bash
+ # -*- mode: shell-script -*-
+ #
+ # Shell functions to act as wrapper for Ian Bicking's virtualenv
+diff --git a/virtualenvwrapper/hook_loader.py b/virtualenvwrapper/hook_loader.py
+index 6139a3c..264739b 100644
+--- a/virtualenvwrapper/hook_loader.py
++++ b/virtualenvwrapper/hook_loader.py
+@@ -1,4 +1,3 @@
+-#!/usr/bin/env python
+ # encoding: utf-8
+ #
+ # Copyright (c) 2010 Doug Hellmann.  All rights reserved.
+diff --git a/virtualenvwrapper/project.py b/virtualenvwrapper/project.py
+index 5dd7c2e..65a9695 100644
+--- a/virtualenvwrapper/project.py
++++ b/virtualenvwrapper/project.py
+@@ -1,4 +1,3 @@
+-#!/usr/bin/env python
+ # encoding: utf-8
+ #
+ # Copyright (c) 2010 Doug Hellmann.  All rights reserved.
+diff --git a/virtualenvwrapper/user_scripts.py b/virtualenvwrapper/user_scripts.py
+index 12d33aa..a2e881c 100644
+--- a/virtualenvwrapper/user_scripts.py
++++ b/virtualenvwrapper/user_scripts.py
+@@ -1,4 +1,3 @@
+-#!/usr/bin/env python
+ # encoding: utf-8
+ #
+ # Copyright (c) 2010 Doug Hellmann.  All rights reserved.
+-- 
+1.7.10
+
diff --git a/python-virtualenvwrapper.spec b/python-virtualenvwrapper.spec
new file mode 100644
index 0000000..3f5f2a8
--- /dev/null
+++ b/python-virtualenvwrapper.spec
@@ -0,0 +1,57 @@
+%global modname virtualenvwrapper
+
+Name:             python-virtualenvwrapper
+Version:          3.2
+Release:          2%{?dist}
+Summary:          Enhancements to virtualenv
+
+Group:            Development/Languages
+License:          MIT
+URL:              http://pypi.python.org/pypi/virtualenvwrapper
+Source0:          http://pypi.python.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-3.2.tar.gz
+Patch0:           0001-Shebangs-and-permissions.patch
+
+BuildArch:        noarch
+
+
+BuildRequires:    python-devel
+BuildRequires:    python-setuptools
+BuildRequires:    python-virtualenv
+
+Requires:         python-virtualenv
+
+%description
+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.
+
+%prep
+%setup -q -n %{modname}-%{version}
+%patch0 -p1
+
+%build
+%{__python} setup.py build 
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%files
+%doc README.txt
+%{python_sitelib}/* 
+%{_bindir}/virtualenvwrapper.sh
+
+%changelog
+* Tue Apr 17 2012 Ralph Bean <rbean at redhat.com> 3.2-2
+- Updated the Shebangs-and-permissions patch to add a shebang to
+  /usr/bin/virtualenvwrapper.sh
+
+* Mon Apr 09 2012 Ralph Bean <rbean at redhat.com> 3.2-1
+- Packaged latest version which includes disambiguated license.
+- Removed %defattr macro.
+- Added patch to quiet up rpmlint.
+
+* Wed Apr 04 2012 Ralph Bean <rbean at redhat.com> 3.1-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..62c5437 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+58b94ffb2b81baea29fadfd0813057c3  virtualenvwrapper-3.2.tar.gz


More information about the scm-commits mailing list