wok-stable rev 9050

Up python-pysqlite (2.6.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 10:32:22 2011 +0100 (2011-03-04)
parents df856c87ba2b
children 8b0cce5c5819
files pysqlite/receipt pysqlite/stuff/setup.cfg python-pysqlite/receipt python-pysqlite/stuff/setup.cfg
line diff
     1.1 --- a/pysqlite/receipt	Fri Mar 04 09:55:01 2011 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,28 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="pysqlite"
     1.7 -VERSION="2.6.0"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="A Python DB-API 2.0 interface for the SQLite embedded relational database engine."
    1.10 -MAINTAINER="slaxemulator@gmail.com"
    1.11 -DEPENDS="python sqlite"
    1.12 -BUILD_DEPENDS="python-dev sqlite-dev"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://code.google.com/p/pysqlite/"
    1.15 -WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL"
    1.16 -
    1.17 -# Rules to configure and make the package.
    1.18 -compile_rules()
    1.19 -{
    1.20 -	cd $src
    1.21 -	cp ../stuff/setup.cfg .
    1.22 -	python setup.py install --root=$PWD/_pkg
    1.23 -}
    1.24 -
    1.25 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 -genpkg_rules()
    1.27 -{
    1.28 -	mkdir -p $fs/usr
    1.29 -	cp -a $_pkg/usr/lib $fs/usr
    1.30 -}
    1.31 -
     2.1 --- a/pysqlite/stuff/setup.cfg	Fri Mar 04 09:55:01 2011 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,5 +0,0 @@
     2.4 -[build_ext]
     2.5 -define=
     2.6 -include_dirs=/usr/include
     2.7 -library_dirs=/usr/lib
     2.8 -libraries=sqlite3
     3.1 --- a/python-pysqlite/receipt	Fri Mar 04 09:55:01 2011 +0100
     3.2 +++ b/python-pysqlite/receipt	Fri Mar 04 10:32:22 2011 +0100
     3.3 @@ -2,23 +2,22 @@
     3.4  
     3.5  PACKAGE="python-pysqlite"
     3.6  SOURCE="pysqlite"
     3.7 -VERSION="2.5.1"
     3.8 +VERSION="2.6.0"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="Python interface for the SQLite database"
    3.11  MAINTAINER="sygne@ombres.eu"
    3.12  DEPENDS="sqlite python"
    3.13 -BUILD_DEPENDS="sqlite-dev python-dev"
    3.14  TARBALL="$SOURCE-$VERSION.tar.gz"
    3.15 -WEB_SITE="http://pysqlite.org/"
    3.16 -WGET_URL="http://oss.itsystementwicklung.de/download/pysqlite/2.5/$VERSION/$TARBALL"
    3.17 +WEB_SITE="http://code.google.com/p/pysqlite/"
    3.18 +WGET_URL="http://pysqlite.googlecode.com/files/$TARBALL"
    3.19  
    3.20  # Rules to configure and make the package.
    3.21  compile_rules()
    3.22  {
    3.23  	cd $src
    3.24  	
    3.25 -	python setup.py build
    3.26 -	python setup.py install --root=$PWD/_pkg
    3.27 +	cp ../stuff/setup.cfg .
    3.28 +	python setup.py install --root=$DESTDIR
    3.29  }
    3.30  
    3.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.32 @@ -28,9 +27,3 @@
    3.33  	cp -a $_pkg/usr/lib $fs/usr
    3.34  	
    3.35  }
    3.36 -
    3.37 -# Remove old package.
    3.38 -post_install()
    3.39 -{
    3.40 -	rm -rf $1/var/lib/tazpkg/installed/pysqlite
    3.41 -}
    3.42 \ No newline at end of file
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/python-pysqlite/stuff/setup.cfg	Fri Mar 04 10:32:22 2011 +0100
     4.3 @@ -0,0 +1,5 @@
     4.4 +[build_ext]
     4.5 +define=
     4.6 +include_dirs=/usr/include
     4.7 +library_dirs=/usr/lib
     4.8 +libraries=sqlite3