# HG changeset patch # User Claudinei Pereira # Date 1244764262 0 # Node ID 3282067b4a20bbc56b4577a15929191c9b24041d # Parent 9e422122e0bd1e838618b7973fdc77c88ecb3dba Ren: mysql-python -> python-mysql diff -r 9e422122e0bd -r 3282067b4a20 mysql-python/receipt --- a/mysql-python/receipt Thu Jun 11 23:44:37 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="mysql-python" -SOURCE="MySQL-python" -VERSION="1.2.2" -CATEGORY="development" -SHORT_DESC="A Python interface to MySQL ." -MAINTAINER="claudinei@slitaz.org" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://mysql-python.sourceforge.net/" -WGET_URL="http://ufpr.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" -DEPENDS="python mysql zlib openssl" -BUILD_DEPENDS="python-dev mysql-dev zlib-dev openssl-dev" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - sed -i 's/threadsafe = True/threadsafe = False/' $src/site.cfg - 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 9e422122e0bd -r 3282067b4a20 python-mysql/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-mysql/receipt Thu Jun 11 23:51:02 2009 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="python-mysql" +SOURCE="MySQL-python" +VERSION="1.2.2" +CATEGORY="development" +SHORT_DESC="A Python interface to MySQL ." +MAINTAINER="claudinei@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://mysql-python.sourceforge.net/" +WGET_URL="http://ufpr.dl.sourceforge.net/sourceforge/mysql-python/$TARBALL" +DEPENDS="python mysql zlib openssl" +BUILD_DEPENDS="python-dev mysql-dev zlib-dev openssl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's/threadsafe = True/threadsafe = False/' $src/site.cfg + 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 +} +