wok-current rev 11404

Up: psycopg2 to 2.4.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 10 20:55:45 2011 +0000 (2011-12-10)
parents a49ab2aa59af
children 62e8a8e12e45
files psycopg2/receipt
line diff
     1.1 --- a/psycopg2/receipt	Sat Dec 10 20:29:34 2011 +0000
     1.2 +++ b/psycopg2/receipt	Sat Dec 10 20:55:45 2011 +0000
     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.