28 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
29 |
) |
) |
30 |
|
|
31 |
# we cannot sort with C=M;O=A |
UP2SUBSTITUTE=".asc" |
32 |
UP2DATE="updatecmd -listonly https://pypi.python.org/packages/source/${PYPI_MODULE:0:1}/${PYPI_MODULE}/ | grep ${PYPI_MODULE} | sed 's:.*${PYPI_MODULE}-\(.*\):\1:' | sort -n | sed 's:^:-:g' | lasttarball ${PYPI_ARCHIVE}" |
UP2DATE="updatecmd_pypi ${PYPI_MODULE} ${PYPI_ARCHIVE}" |
33 |
|
|
34 |
pypi_src_prepare() |
pypi_src_prepare() |
35 |
{ |
{ |
47 |
python_src_install || die |
python_src_install || die |
48 |
} |
} |
49 |
|
|
50 |
export_inherits pypi src_prepare src_compile src_install |
pypi_multilib_src_compile() |
51 |
|
{ |
52 |
|
local configure_opts="$@" |
53 |
|
python_multilib_src_compile ${configure_opts} || die |
54 |
|
} |
55 |
|
|
56 |
|
pypi_multilib_src_install() |
57 |
|
{ |
58 |
|
python_multilib_src_install || die |
59 |
|
} |
60 |
|
|
61 |
|
export_inherits pypi src_prepare |
62 |
|
if [[ ${MULTILIB_BUILD} = true ]] |
63 |
|
then |
64 |
|
export_inherits pypi_multilib src_compile src_install |
65 |
|
else |
66 |
|
export_inherits pypi src_compile src_install |
67 |
|
fi |