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

lib[s-z]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 11:57:36 2013 +0200 (2013-06-11)
parents 2a2e3384a8ce
children bf4a09ef1d2e
line diff
     1.1 --- a/psycopg2/receipt	Tue Feb 10 12:14:40 2009 +0000
     1.2 +++ b/psycopg2/receipt	Tue Jun 11 11:57:36 2013 +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.