# HG changeset patch # User Christopher Rogers # Date 1287659413 0 # Node ID 78842441485319102915f4b9360ee5f00c4bd011 # Parent ea3c91682de80f72dbc461ccd3db63fdc8b090ff Up: python-pygame to 1.9.1release. diff -r ea3c91682de8 -r 788424414853 python-pygame/receipt --- a/python-pygame/receipt Thu Oct 21 10:55:34 2010 +0000 +++ b/python-pygame/receipt Thu Oct 21 11:10:13 2010 +0000 @@ -2,7 +2,7 @@ PACKAGE="python-pygame" SOURCE="pygame" -VERSION="1.8.1release" +VERSION="1.9.1release" CATEGORY="development" SHORT_DESC="Python game development." MAINTAINER="claudinei@slitaz.org" @@ -19,7 +19,8 @@ compile_rules() { cd $src - python setup.py build && + patch -Np0 -i ../stuff/config.patch + python config.py -auto && python setup.py install --root=$PWD/_pkg } @@ -31,6 +32,7 @@ cp -a $_pkg/usr/lib $fs/usr chmod 644 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/freesansbold.ttf cp -a $_pkg/usr/include $fs/usr + find $fs/usr/lib/$PYTHON_LIB/ -name "*.pyc" -delete } # Remove old package.