# HG changeset patch # User Claudinei Pereira # Date 1244843885 0 # Node ID 23858f368eeb0d072953549918c30192b741a11f # Parent 0f072f890052180d39aea6781f32937e27ef4ade Ren: numpy -> python-numpy & update receipts of packages that depends on it diff -r 0f072f890052 -r 23858f368eeb matplotlib/receipt --- a/matplotlib/receipt Fri Jun 12 17:28:25 2009 +0000 +++ b/matplotlib/receipt Fri Jun 12 21:58:05 2009 +0000 @@ -8,10 +8,10 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://matplotlib.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="python zlib libpng freetype numpy gtk+ expat xorg-libXau \ +DEPENDS="python zlib libpng freetype python-numpy gtk+ expat xorg-libXau \ xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ xorg-libXinerama xorg-libXrandr xorg-libXrender" -BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev numpy" +BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev python-numpy" # Rules to configure and make the package. compile_rules() diff -r 0f072f890052 -r 23858f368eeb numpy/receipt --- a/numpy/receipt Fri Jun 12 17:28:25 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="numpy" -VERSION="1.1.1" -CATEGORY="development" -SHORT_DESC="scientific computing library for the Python." -MAINTAINER="pascal.bellard@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://numpy.scipy.org/" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="python" -BUILD_DEPENDS="python python-dev" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - python setup.py build && - python setup.py install --root=$PWD/_pkg -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $_pkg/usr $fs -} - diff -r 0f072f890052 -r 23858f368eeb python-numpy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-numpy/receipt Fri Jun 12 21:58:05 2009 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="python-numpy" +SOURCE="numpy" +VERSION="1.1.1" +CATEGORY="development" +SHORT_DESC="scientific computing library for the Python." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://numpy.scipy.org/" +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" +DEPENDS="python" +BUILD_DEPENDS="python python-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build && + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/usr $fs +} + +# Remove old package. +post_install() +{ + rm -rf $1/var/lib/tazpkg/installed/numpy +} \ No newline at end of file diff -r 0f072f890052 -r 23858f368eeb python-pygame/receipt --- a/python-pygame/receipt Fri Jun 12 17:28:25 2009 +0000 +++ b/python-pygame/receipt Fri Jun 12 21:58:05 2009 +0000 @@ -9,8 +9,8 @@ TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.pygame.org" WGET_URL="$WEB_SITE/ftp/$TARBALL" -DEPENDS="python libSDL libsdl-image libsdl-mixer libsdl-ttf numpy libsmpeg" -BUILD_DEPENDS="python python-dev numpy libSDL libSDL-dev libsdl-image \ +DEPENDS="python libSDL libsdl-image libsdl-mixer libsdl-ttf python-numpy libsmpeg" +BUILD_DEPENDS="python python-dev python-numpy libSDL libSDL-dev libsdl-image \ libsdl-image-dev libsdl-mixer libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev \ libsmpeg libsmpeg-dev"