8 |
SDEPEND="${SDEPEND} |
SDEPEND="${SDEPEND} |
9 |
>= dev-lang/python-2.7" |
>= dev-lang/python-2.7" |
10 |
fi |
fi |
|
if [[ -z ${MAGE_PYTHON_BUILD_VERSIONS} ]] |
|
|
then |
|
|
MAGE_PYTHON_BUILD_VERSIONS="single" |
|
|
fi |
|
11 |
|
|
12 |
# get the major.minor current installed python version |
# get the major.minor current installed python version |
13 |
# -> ex 2.4 |
# -> ex 2.4 |
101 |
python_src_compile() |
python_src_compile() |
102 |
{ |
{ |
103 |
cd ${SRCDIR} |
cd ${SRCDIR} |
104 |
python_docompile || die |
python_docompile $@ || die |
105 |
} |
} |
106 |
|
|
107 |
python_multilib_src_compile() |
python_multilib_src_compile() |
113 |
do |
do |
114 |
SRCDIR="${saved_SRCDIR}-${abi}/${SRCSUBDIR}" |
SRCDIR="${saved_SRCDIR}-${abi}/${SRCSUBDIR}" |
115 |
cd ${SRCDIR} |
cd ${SRCDIR} |
116 |
abi-${abi} python_docompile || die |
abi-${abi} python_docompile $@ || die |
117 |
done |
done |
118 |
SRCDIR="${saved_SRCDIR}" |
SRCDIR="${saved_SRCDIR}" |
119 |
} |
} |
126 |
python_src_install() |
python_src_install() |
127 |
{ |
{ |
128 |
cd ${SRCDIR} |
cd ${SRCDIR} |
129 |
python_doinstall || die |
python_doinstall $@ || die |
130 |
|
|
131 |
local i |
local i |
132 |
for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \ |
for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \ |
148 |
do |
do |
149 |
SRCDIR="${saved_SRCDIR}-${abi}/${SRCSUBDIR}" |
SRCDIR="${saved_SRCDIR}-${abi}/${SRCSUBDIR}" |
150 |
cd ${SRCDIR} |
cd ${SRCDIR} |
151 |
abi-${abi} python_doinstall || die |
abi-${abi} python_doinstall $@ || die |
152 |
|
|
153 |
local i |
local i |
154 |
for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \ |
for i in ABOUT-NLS AUTHORS BUGS CHANGES ChangeLog COPYING \ |