2010-11-09 15:29:34 +00:00
|
|
|
#
|
2011-02-27 15:55:13 +00:00
|
|
|
# spec file for package python-virtualenvwrapper
|
2010-11-09 15:29:34 +00:00
|
|
|
#
|
2012-01-30 16:27:11 +00:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-11-09 15:29:34 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
2012-04-10 08:56:34 +00:00
|
|
|
|
2010-11-09 15:29:34 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
2012-05-12 23:32:03 +00:00
|
|
|
|
2011-12-29 03:05:54 +00:00
|
|
|
Name: python-virtualenvwrapper
|
2012-06-11 12:10:48 +00:00
|
|
|
Version: 3.5
|
2011-04-13 17:54:38 +00:00
|
|
|
Release: 0
|
2010-11-09 15:29:34 +00:00
|
|
|
Url: http://www.doughellmann.com/projects/virtualenvwrapper/
|
2011-04-13 17:54:38 +00:00
|
|
|
Summary: Enhancements to virtualenv
|
2012-04-12 09:13:38 +00:00
|
|
|
License: HPND
|
2011-04-13 17:54:38 +00:00
|
|
|
Group: Development/Languages/Python
|
2012-05-12 23:32:03 +00:00
|
|
|
Source: virtualenvwrapper-%{version}.tar.bz2
|
2011-04-13 17:54:38 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-11-09 15:29:34 +00:00
|
|
|
BuildRequires: python-devel
|
|
|
|
|
BuildRequires: python-distribute
|
|
|
|
|
Requires: python-virtualenv
|
2012-04-10 08:56:34 +00:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
%else
|
2010-11-09 15:29:34 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
2011-04-13 17:54:38 +00:00
|
|
|
virtualenvwrapper is a set of extensions to Ian Bicking's 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.
|
2010-11-09 15:29:34 +00:00
|
|
|
|
2011-04-13 17:54:38 +00:00
|
|
|
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.
|
2010-11-09 15:29:34 +00:00
|
|
|
|
|
|
|
|
%prep
|
2011-12-29 03:05:54 +00:00
|
|
|
%setup -q -n virtualenvwrapper-%{version}
|
2010-11-09 15:29:34 +00:00
|
|
|
|
|
|
|
|
%build
|
2011-04-13 17:54:38 +00:00
|
|
|
python setup.py build
|
2010-11-09 15:29:34 +00:00
|
|
|
|
|
|
|
|
%install
|
2011-04-13 17:54:38 +00:00
|
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc README.txt
|
2011-12-29 03:05:54 +00:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
%{_bindir}/virtualenvwrapper.sh
|
2012-05-21 02:13:37 +00:00
|
|
|
%{_bindir}/virtualenvwrapper_lazy.sh
|
2010-11-09 15:29:34 +00:00
|
|
|
|
2011-04-13 17:54:38 +00:00
|
|
|
%changelog
|