# HG changeset patch # User Pascal Bellard # Date 1299231142 -3600 # Node ID 2f940e4aa32eb5f382e079276d725390f1ecee24 # Parent df856c87ba2b356dfe9156c72438b3113c133c09 Up python-pysqlite (2.6.0) diff -r df856c87ba2b -r 2f940e4aa32e pysqlite/receipt --- a/pysqlite/receipt Fri Mar 04 09:55:01 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="pysqlite" -VERSION="2.6.0" -CATEGORY="development" -SHORT_DESC="A Python DB-API 2.0 interface for the SQLite embedded relational database engine." -MAINTAINER="slaxemulator@gmail.com" -DEPENDS="python sqlite" -BUILD_DEPENDS="python-dev sqlite-dev" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://code.google.com/p/pysqlite/" -WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - cp ../stuff/setup.cfg . - 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 df856c87ba2b -r 2f940e4aa32e pysqlite/stuff/setup.cfg --- a/pysqlite/stuff/setup.cfg Fri Mar 04 09:55:01 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -[build_ext] -define= -include_dirs=/usr/include -library_dirs=/usr/lib -libraries=sqlite3 diff -r df856c87ba2b -r 2f940e4aa32e python-pysqlite/receipt --- a/python-pysqlite/receipt Fri Mar 04 09:55:01 2011 +0100 +++ b/python-pysqlite/receipt Fri Mar 04 10:32:22 2011 +0100 @@ -2,23 +2,22 @@ PACKAGE="python-pysqlite" SOURCE="pysqlite" -VERSION="2.5.1" +VERSION="2.6.0" CATEGORY="development" SHORT_DESC="Python interface for the SQLite database" MAINTAINER="sygne@ombres.eu" DEPENDS="sqlite python" -BUILD_DEPENDS="sqlite-dev python-dev" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://pysqlite.org/" -WGET_URL="http://oss.itsystementwicklung.de/download/pysqlite/2.5/$VERSION/$TARBALL" +WEB_SITE="http://code.google.com/p/pysqlite/" +WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src - python setup.py build - python setup.py install --root=$PWD/_pkg + cp ../stuff/setup.cfg . + python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -28,9 +27,3 @@ cp -a $_pkg/usr/lib $fs/usr } - -# Remove old package. -post_install() -{ - rm -rf $1/var/lib/tazpkg/installed/pysqlite -} \ No newline at end of file diff -r df856c87ba2b -r 2f940e4aa32e python-pysqlite/stuff/setup.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-pysqlite/stuff/setup.cfg Fri Mar 04 10:32:22 2011 +0100 @@ -0,0 +1,5 @@ +[build_ext] +define= +include_dirs=/usr/include +library_dirs=/usr/lib +libraries=sqlite3