From 9f6152e33a965288353291ff03b5bf222f2a615a56045c09083c52eb1c9d8743 Mon Sep 17 00:00:00 2001 From: Peter Nixon Date: Thu, 24 Jun 2010 11:30:58 +0000 Subject: [PATCH] osc copypac from project:devel:languages:python package:python-virtualenv revision:10 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenvwrapper?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + python-virtualenv.changes | 88 +++++++++++++++++++++++++++++++++++++++ python-virtualenv.spec | 79 +++++++++++++++++++++++++++++++++++ virtualenv-1.4.9.tar.bz2 | 3 ++ 5 files changed, 194 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-virtualenv.changes create mode 100644 python-virtualenv.spec create mode 100644 virtualenv-1.4.9.tar.bz2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-virtualenv.changes b/python-virtualenv.changes new file mode 100644 index 0000000..5a58e18 --- /dev/null +++ b/python-virtualenv.changes @@ -0,0 +1,88 @@ +------------------------------------------------------------------- +Fri May 28 01:50:35 UTC 2010 - alexandre@exatati.com.br + +- Update to 1.4.9: + * Include pip 0.7.2. + +------------------------------------------------------------------- +Fri Apr 23 13:01:48 UTC 2010 - alexandre@exatati.com.br + +- Update to 1.4.8: + * Fix for Mac OS X Framework builds that use + ``--universal-archs=intel`` + * Fix ``activate_this.py`` on Windows. + * Allow ``$PYTHONHOME`` to be set, so long as you use ``source + bin/activate`` it will get unset; if you leave it set and do not + activate the environment it will still break the environment. + * Include pip 0.7.1. + +------------------------------------------------------------------- +Mon Apr 19 02:00:28 UTC 2010 - alexandre@exatati.com.br + +- Update to 1.4.7: + * Include pip 0.7. + +------------------------------------------------------------------- +Wed Mar 31 22:56:52 UTC 2010 - alexandre@exatati.com.br + +- Update to 1.4.6 + * Allow ``activate.sh`` to skip updating the prompt (by setting + ``$VIRTUAL_ENV_DISABLE_PROMPT``). +- Spec file cleaned with spec-cleaner. + +------------------------------------------------------------------- +Mon Mar 15 01:24:36 UTC 2010 - alexandre@exatati.com.br + +- Added python-setuptools as Requires; +- Generated changes file from spec file; +- Removed old tarballs; +- Update to 1.4.5 + - Include pip 0.6.3 +- Aditional changes from 1.4.4: + - Include pip 0.6.2 and Distribute 0.6.10 + - Create the virtualenv script even when Setuptools isn’t installed + - Fix problem with virtualenv --relocate when bin/ has subdirectories + (e.g., bin/.svn/); from Alan Franzoni. + - If you set $VIRTUALENV_USE_DISTRIBUTE then virtualenv will use + Distribute by default (so you don’t have to remember to use --distribute). + +------------------------------------------------------------------- +Sáb Nov 21 00:00:00 BRST 2009 - cfarrell1980@gmail.c + +- 1.4.3 + * Include pip 0.6.1 + +------------------------------------------------------------------- +Seg Nov 9 00:00:00 BRST 2009 - cfarrell1980@gmail.c + +- Update to 1.4 + * Updated setuptools to 0.6c11 + * Added the --distribute option + * Fixed packaging problem of support-files + + +------------------------------------------------------------------- +Ter Mar 3 00:00:00 BRT 2009 - cfarrell1980@gmail.c + +- Update to 1.3.2 + - Remove the [install] prefix = ... setting from virtualenv distutils.cfg as has been causing problems for a lot of people, in rather obscure ways. + - If you use a boot script it will attempt to import virtualenv and find a pre-downloaded Setuptools egg using that. + - Added platform-specific paths, like /usr/lib/pythonX.Y/plat-linux2 + +------------------------------------------------------------------- +Qui Dez 11 00:00:00 BRST 2008 - miniwark@yahoo.c + +- Change to 1.3.1 version +- Use a bziped source package +- Add doc files and Author infos + +------------------------------------------------------------------- +Seg Nov 10 00:00:00 BRST 2008 - cfarrell1980@gmail.com + +- Originally used Fedora spec file but removed most of it - 1.3 + +------------------------------------------------------------------- +Qua Nov 5 00:00:00 BRST 2008 - cfarrell1980@gmail.com + +- Initial import and build - 1.3 + diff --git a/python-virtualenv.spec b/python-virtualenv.spec new file mode 100644 index 0000000..6b4b223 --- /dev/null +++ b/python-virtualenv.spec @@ -0,0 +1,79 @@ +# +# spec file for package python-virtualenv (Version 1.3.1) +# +# Copyright 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + + +%define real_name virtualenv + +Name: python-virtualenv +Version: 1.4.9 +Release: 0 +License: MIT +Summary: Virtualenv is a tool to create isolated Python environments +Group: Development/Libraries/Python +Source: %{real_name}-%{version}.tar.bz2 + +Url: http://pypi.python.org/pypi/virtualenv/ +BuildRequires: python-setuptools +Requires: python-setuptools +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{py_requires} +%define py_vers %(%{__python} -c 'import sys; print int(10*float(sys.version[:3]))') +%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} +BuildArch: noarch +%else +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")} +%endif + +%description +virtualenv is a tool to create isolated Python environments. +The basic problem being addressed is one of dependencies and versions, and +indirectly permissions. Imagine you have an application that needs version 1 +of LibFoo, but another application requires version 2. How can you use both +these applications? If you install everything into +/usr/lib/python2.4/site-packages (or whatever your platforms standard location +is), its easy to end up in a situation where you unintentionally upgrade an +application that shouldnt be upgraded. + +Or more generally, what if you want to install an application and leave it be? +If an application works, any change in its libraries or the versions of those +libraries can break the application. + +Also, what if you cant install packages into the global site-packages +directory? For instance, on a shared host. + +In all these cases, virtualenv can help you. It creates an environment that +has its own installation directories, that doesnt share libraries with other +virtualenv environments (and optionally doesnt use the globally installed +libraries either). + +Author: +-------- + Ian Bicking + +%prep +%setup -q -n %real_name-%version + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=filelist + +%clean +rm -rf %{buildroot} + +%files -f filelist +%defattr(-,root,root) +%doc PKG-INFO docs diff --git a/virtualenv-1.4.9.tar.bz2 b/virtualenv-1.4.9.tar.bz2 new file mode 100644 index 0000000..770fb9d --- /dev/null +++ b/virtualenv-1.4.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05418dc66aa8e526acc3c40238dfec499f0f9ee97f42ab6185139be29be33e47 +size 1401160