wok diff psycopg2/receipt @ rev 11708

Up: cookutils (1.6)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Feb 19 12:18:24 2012 +0100 (2012-02-19)
parents 2a2e3384a8ce
children bf4a09ef1d2e
line diff
     1.1 --- a/psycopg2/receipt	Tue Feb 10 12:14:40 2009 +0000
     1.2 +++ b/psycopg2/receipt	Sun Feb 19 12:18:24 2012 +0100
     1.3 @@ -1,22 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="psycopg2"
     1.7 -VERSION="2.0.8"
     1.8 +VERSION="2.4.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="PostgreSQL database adapter for the Python."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 -WEB_SITE="http://initd.org/"
    1.14 -WGET_URL="${WEB_SITE}pub/software/psycopg/$TARBALL"
    1.15 +WEB_SITE="http://initd.org/psycopg/"
    1.16 +WGET_URL="${WEB_SITE}tarballs/PSYCOPG-2-4//$TARBALL"
    1.17  DEPENDS="python egenix-mx-base libpostgresqlclient"
    1.18 -BUILD_DEPENDS="python postgresql-dev"
    1.19 +BUILD_DEPENDS="python-dev postgresql-dev"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24  	cd $src
    1.25 +	sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
    1.26  	python setup.py build &&
    1.27 -	python setup.py install --root=$PWD/_pkg
    1.28 +	python setup.py install --root=$DESTDIR
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.