# HG changeset patch # User Claudinei Pereira # Date 1244847735 0 # Node ID 1cfe4916e547c6a77ffa5daba06144ae4b8727b1 # Parent 7e47afbaec37dcb607009bacf40d5ff23708929c Ren: pydot -> python-pydot & UROPTDOI diff -r 7e47afbaec37 -r 1cfe4916e547 openerp-server/receipt --- a/openerp-server/receipt Fri Jun 12 22:54:04 2009 +0000 +++ b/openerp-server/receipt Fri Jun 12 23:02:15 2009 +0000 @@ -10,9 +10,9 @@ WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" DEPENDS="python postgresql libxml2-python libxslt psycopg2 python-reportlab \ pyparsing graphviz libgcrypt python-pil python-lxml matplotlib python-pyxml \ -pychart pydot egenix-mx-base" +pychart python-pydot egenix-mx-base" BUILD_DEPENDS="libxml2-python psycopg2 libxml2 libxslt python-reportlab \ -pychart pydot python-dev" +pychart python-pydot python-dev" # Rules to configure and make the package. compile_rules() diff -r 7e47afbaec37 -r 1cfe4916e547 pydot/receipt --- a/pydot/receipt Fri Jun 12 22:54:04 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="pydot" -VERSION="1.0.2" -CATEGORY="development" -SHORT_DESC="Python interface to Graphviz's dot language." -MAINTAINER="pascal.bellard@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://code.google.com/p/pydot/" -WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" -DEPENDS="python pyparsing graphviz" - -# 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() -{ - mkdir -p $fs/usr - cp -a $_pkg/usr/lib $fs/usr -} - diff -r 7e47afbaec37 -r 1cfe4916e547 python-pydot/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pydot/receipt Fri Jun 12 23:02:15 2009 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="python-pydot" +SOURCE="pydot" +VERSION="1.0.2" +CATEGORY="development" +SHORT_DESC="Python interface to Graphviz's dot language." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://code.google.com/p/pydot/" +WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL" +DEPENDS="python pyparsing graphviz" + +# 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() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} + +# Remove old package. +post_install() +{ + rm -rf $1/var/lib/tazpkg/installed/pydot +}