/[pkgs]/rpms/python-virtualenv/EL-5/python-virtualenv.spec
ViewVC logotype

Contents of /rpms/python-virtualenv/EL-5/python-virtualenv.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Sep 29 01:20:50 2008 UTC (13 months, 3 weeks ago) by smilner
Branch: MAIN
CVS Tags: python-virtualenv-1_3-1_el5
Changes since 1.1: +4 -1 lines
Update for upstream release.
1 # sitelib for noarch packages
2 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
3
4 Name: python-virtualenv
5 Version: 1.3
6 Release: 1%{?dist}
7 Summary: Tool to create isolated Python environments
8
9 Group: Development/Languages
10 License: MIT
11 URL: http://pypi.python.org/pypi/virtualenv
12 Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14
15 BuildArch: noarch
16 BuildRequires: python-devel, python-setuptools-devel
17
18
19 %description
20 virtualenv is a tool to create isolated Python environments. virtualenv
21 is a successor to workingenv, and an extension of virtual-python. It is
22 written by Ian Bicking, and sponsored by the Open Planning Project. It is
23 licensed under an MIT-style permissive license.
24
25
26 %prep
27 %setup -q -n virtualenv-%{version}
28 %{__sed} -i -e "s|#!/usr/bin/env python||" virtualenv.py
29
30
31 %build
32 %{__python} setup.py build
33
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
38
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43
44 %files
45 %defattr(-,root,root,-)
46 %doc docs/index.txt docs/license.txt PKG-INFO
47 # For noarch packages: sitelib
48 %{python_sitelib}/*
49 %attr(755,root,root) %{_bindir}/virtualenv
50 %exclude %{python_sitelib}/support-files
51
52
53 %changelog
54 * Sun Sep 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3-1
55 - Updated for upstream release
56
57 * Sat Aug 30 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.2-1
58 - Updated for upstream release
59
60 * Fri Aug 29 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-3
61 - Updated from review notes
62
63 * Thu Aug 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-2
64 - Updated from review notes
65
66 * Tue Aug 26 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-1
67 - Initial Version

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2