wok-6.x annotate psycopg2/receipt @ rev 17545

Up parted (3.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 27 17:35:53 2015 +0100 (2015-01-27)
parents 04615b88ff45
children 16df76e1fc6a
rev   line source
pascal@1230 1 # SliTaz package receipt.
pascal@1230 2
pascal@1230 3 PACKAGE="psycopg2"
slaxemulator@11404 4 VERSION="2.4.2"
pascal@1230 5 CATEGORY="development"
pascal@1230 6 SHORT_DESC="PostgreSQL database adapter for the Python."
pascal@1230 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15376 8 LICENSE="LGPL3"
pascal@1230 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@11404 10 WEB_SITE="http://initd.org/psycopg/"
slaxemulator@11404 11 WGET_URL="${WEB_SITE}tarballs/PSYCOPG-2-4//$TARBALL"
pascal@15376 12
pascal@2205 13 DEPENDS="python egenix-mx-base libpostgresqlclient"
slaxemulator@11404 14 BUILD_DEPENDS="python-dev postgresql-dev"
pascal@1230 15
pascal@1230 16 # Rules to configure and make the package.
pascal@1230 17 compile_rules()
pascal@1230 18 {
pascal@1230 19 cd $src
slaxemulator@11404 20 sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
pascal@1475 21 python setup.py build &&
slaxemulator@11404 22 python setup.py install --root=$DESTDIR
pascal@1230 23 }
pascal@1230 24
pascal@1230 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1230 26 genpkg_rules()
pascal@1230 27 {
pascal@15376 28 cp -a $install/usr $fs
pascal@1230 29 }
pascal@1230 30