Files
Arch-R/packages/python/www/zope.interface/build
Stephan Raue de71016fb4 initial import
2009-03-18 13:02:53 +01:00

19 lines
513 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/build toolchain
. config/options.python
cd $BUILD/$1*
$PYTHON setup.py build
$PYTHON setup.py install -O1 --skip-build --single-version-externally-managed --root $SYSROOT_PREFIX --prefix /usr
$PYTHON setup.py install -O1 --skip-build --single-version-externally-managed --root ./.install --prefix /usr
find .install -name "*.py" -exec rm -rf "{}" ";"
find .install -name "*.pyo" -exec rm -rf "{}" ";"
rm -rf .install/usr/lib/python*/site-packages/zope/interfaces*/tests