updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / castor-client / python2_patch
blobaf98dabe0ca5be3e8b1b1d57228dada28c369c87
1 --- config.old/globuscompile.py 2011-05-30 09:54:08.000000000 +0200
2 +++ config/globuscompile.py     2011-11-22 14:17:25.994667563 +0100
3 @@ -1,4 +1,4 @@
4 -#!/usr/bin/python
5 +#!/usr/bin/python2
6  
7  #******************************************************************************
8  #                      config/globuscompile.py
9 diff -u config.old/Imake.tmpl config/Imake.tmpl
10 --- config.old/Imake.tmpl       2011-05-30 09:54:11.000000000 +0200
11 +++ config/Imake.tmpl   2011-11-22 14:17:25.918000664 +0100
12 @@ -39,23 +39,23 @@
14  PERL_LIBDIR = /usr/lib/perl/CASTOR
16 -PYTHON_LIBS := $(shell python $(CASTOR_ROOT)/config/pycompile.py --libs)
17 -PYTHON_INC := $(shell python $(CASTOR_ROOT)/config/pycompile.py --inc)
18 -PYTHON_LIBDIR := $(shell python -c "from distutils import sysconfig; print sysconfig.get_python_lib()")
20 -ORACLE_HOME := $(shell python $(CASTOR_ROOT)/config/oracompile.py --with-precomp --home)
21 -ORACLE_BIN := $(shell python $(CASTOR_ROOT)/config/oracompile.py --with-precomp --bindir)
22 -ORACLE_LIBDIR := $(shell python $(CASTOR_ROOT)/config/oracompile.py --with-precomp --libdir)
23 -ORACLE_CPPFLAGS := $(shell python $(CASTOR_ROOT)/config/oracompile.py --with-precomp --cppflags)
24 -ORACLE_PROCINC := $(shell python $(CASTOR_ROOT)/config/oracompile.py --with-precomp --procinc)
25 +PYTHON_LIBS := $(shell python2 $(CASTOR_ROOT)/config/pycompile.py --libs)
26 +PYTHON_INC := $(shell python2 $(CASTOR_ROOT)/config/pycompile.py --inc)
27 +PYTHON_LIBDIR := $(shell python2 -c "from distutils import sysconfig; print sysconfig.get_python_lib()")
29 +ORACLE_HOME := $(shell python2 $(CASTOR_ROOT)/config/oracompile.py --with-precomp --home)
30 +ORACLE_BIN := $(shell python2 $(CASTOR_ROOT)/config/oracompile.py --with-precomp --bindir)
31 +ORACLE_LIBDIR := $(shell python2 $(CASTOR_ROOT)/config/oracompile.py --with-precomp --libdir)
32 +ORACLE_CPPFLAGS := $(shell python2 $(CASTOR_ROOT)/config/oracompile.py --with-precomp --cppflags)
33 +ORACLE_PROCINC := $(shell python2 $(CASTOR_ROOT)/config/oracompile.py --with-precomp --procinc)
35 -GLOBUS_CONFINC_PATH := $(shell python $(CASTOR_ROOT)/config/globuscompile.py --confinc)
36 -GLOBUS_INC_PATH := $(shell python $(CASTOR_ROOT)/config/globuscompile.py --inc)
37 +GLOBUS_CONFINC_PATH := $(shell python2 $(CASTOR_ROOT)/config/globuscompile.py --confinc)
38 +GLOBUS_INC_PATH := $(shell python2 $(CASTOR_ROOT)/config/globuscompile.py --inc)
39  GLOBUS_INC := -I$(GLOBUS_CONFINC_PATH) -I$(GLOBUS_INC_PATH)
40 -GLOBUS_LIB_PATH := $(shell python $(CASTOR_ROOT)/config/globuscompile.py --libdir)
41 -GLOBUS_GSSLIB := $(shell python $(CASTOR_ROOT)/config/globuscompile.py --gsslib)
42 -GLOBUS_FTPLIB := $(shell python $(CASTOR_ROOT)/config/globuscompile.py --ftplib)
43 -GLOBUS_GSSLIB_THR := $(shell python $(CASTOR_ROOT)/config/globuscompile.py --gsslibthr)
44 +GLOBUS_LIB_PATH := $(shell python2 $(CASTOR_ROOT)/config/globuscompile.py --libdir)
45 +GLOBUS_GSSLIB := $(shell python2 $(CASTOR_ROOT)/config/globuscompile.py --gsslib)
46 +GLOBUS_FTPLIB := $(shell python2 $(CASTOR_ROOT)/config/globuscompile.py --ftplib)
47 +GLOBUS_GSSLIB_THR := $(shell python2 $(CASTOR_ROOT)/config/globuscompile.py --gsslibthr)
49  Krb5Config := $(shell if [ -r "/usr/kerberos/bin/krb5-config" ]; then echo /usr/kerberos/bin/krb5-config; else echo /usr/bin/krb5-config; fi)
51 --- config.old/oracompile.py    2011-05-30 09:54:13.000000000 +0200
52 +++ config/oracompile.py        2011-11-22 14:17:26.111334583 +0100
53 @@ -1,4 +1,4 @@
54 -#!/usr/bin/python
55 +#!/usr/bin/python2
57  #******************************************************************************
58  #                      config/oracompile.py
59 --- config.old/pycompile.py     2011-02-11 14:26:04.000000000 +0100
60 +++ config/pycompile.py 2011-11-22 14:17:26.201334853 +0100
61 @@ -1,4 +1,4 @@
62 -#!/usr/bin/python
63 +#!/usr/bin/python2
65  #******************************************************************************
66  #                      config/pycompile.py