Magellan Linux

Diff of /smage/trunk/include/python.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5216 by niro, Mon Dec 16 10:19:35 2013 UTC revision 5459 by niro, Tue Mar 25 10:50:53 2014 UTC
# Line 81  python_src_compile() Line 81  python_src_compile()
81   python_docompile || die   python_docompile || die
82  }  }
83    
84    python_multilib_src_compile()
85    {
86     local abi
87     local saved_SRCDIR="${SRCDIR}"
88    
89     for abi in ${MULTILIB_ABIS}
90     do
91     SRCDIR="${saved_SRCDIR}-${abi}/${SRCSUBDIR}"
92     cd ${SRCDIR}
93     abi-${abi} python_docompile || die
94     done
95     SRCDIR="${saved_SRCDIR}"
96    }
97    
98    python_src_check()
99    {
100     return 0
101    }
102    
103  python_src_install()  python_src_install()
104  {  {
105   cd ${SRCDIR}   cd ${SRCDIR}
# Line 97  python_src_install() Line 116  python_src_install()
116   done   done
117  }  }
118    
119  export_inherits python src_prepare src_compile src_install  python_multilib_src_install()
120    {
121     local abi
122     local saved_SRCDIR="${SRCDIR}"
123    
124     for abi in ${MULTILIB_ABIS}
125     do
126     SRCDIR="${saved_SRCDIR}-${abi}/${SRCSUBDIR}"
127     cd ${SRCDIR}
128     abi-${abi} python_doinstall || die
129    
130     local i
131     for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \
132     FAQ LICENSE NEWS README TODO
133     do
134     if [ -f ${SRCDIR}/${i} ]
135     then
136     oldminstalldocs ${i} || die
137     fi
138     done
139     done
140     SRCDIR="${saved_SRCDIR}"
141    }
142    
143    export_inherits python src_prepare src_check
144    if [[ ${MULTILIB_BUILD} = true ]]
145    then
146     export_inherits python_multilib src_compile src_install
147    else
148     export_inherits python src_compile src_install
149    fi

Legend:
Removed from v.5216  
changed lines
  Added in v.5459