ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-pymongo.spec
Revision: 1.11
Committed: Wed Oct 6 13:45:56 2010 UTC (14 years, 6 months ago) by diego
Branch: MAIN
CVS Tags: builder_2010-10-26_11-57-34_cmsweb, HG1010b, DAS_20101018_slc5_amd64_gcc434_v4, DAS_20101018_slc5_amd64_gcc434_v3, DAS_20101018_slc5_amd64_gcc434_v2, DAS_20101018_slc5_amd64_gcc434, DAS_20101017_slc5_amd64_gcc434, DAS_20101016_slc5_amd64_gcc434_v1, DAS_20101016_slc5_amd64_gcc434, DAS_20101015_slc5_amd64_gcc434, FILEMOVER_20101014_slc5_amd64_gcc434, builder_2010-10-14_21-05-56_dbs-web, builder_2010-10-14_19-27-10_cmsweb, builder_2010-10-14_16-43-12_dbs-web, builder_2010-10-14_13-05-47_cmsweb, builder_2010-10-13_22-48-08_cmsweb, FILEMOVER_20101013_slc5_amd64_gcc434, builder_2010-10-13_17-02-42_dbs-web, builder_2010-10-13_11-09-00_base, builder_2010-10-12_18-32-05_base, HG1010a, builder_2010-10-11_18-46-10_base, HG1010pre4, HG1010pre3, HG1010pre2, HG1010pre1
Changes since 1.10: +5 -19 lines
Log Message:
Standardized installation procedure for python packages; Removed dependencies setup because it is not used for python libraries

File Contents

# User Rev Content
1 diego 1.10 ### RPM external py2-pymongo 1.8.1
2 valya 1.1 ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
3    
4     Source: http://pypi.python.org/packages/source/p/pymongo/pymongo-%realversion.tar.gz
5 diego 1.11 Requires: python elementtree py2-setuptools
6 valya 1.1
7     %prep
8     %setup -n pymongo-%realversion
9    
10     %build
11 diego 1.11 python setup.py build
12 valya 1.1
13     %install
14 diego 1.11 python setup.py install --prefix=%i --single-version-externally-managed --record=/dev/null
15     egrep -r -l '^#!.*python' %i | xargs perl -p -i -e 's{^#!.*python.*}{#!/usr/bin/env python}'
16     find %i -name '*.egg-info' -exec rm {} \;
17 valya 1.1