wok-6.x diff psycopg2/receipt @ rev 12450

freeradius: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 21 20:08:02 2012 +0200 (2012-04-21)
parents 2a2e3384a8ce
children bf4a09ef1d2e
line diff
     1.1 --- a/psycopg2/receipt	Tue Feb 10 12:14:40 2009 +0000
     1.2 +++ b/psycopg2/receipt	Sat Apr 21 20:08:02 2012 +0200
     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.