wok annotate psycopg2/receipt @ rev 21304
updated libsdl2-net and libsdl2-net-dev (2.0.0 -> 2.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 18 14:46:00 2019 +0100 (2019-04-18) |
parents | bf4a09ef1d2e |
children | 0c293764164e |
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 { |
slaxemulator@11404 | 19 sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg |
pascal@1475 | 20 python setup.py build && |
slaxemulator@11404 | 21 python setup.py install --root=$DESTDIR |
pascal@1230 | 22 } |
pascal@1230 | 23 |
pascal@1230 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1230 | 25 genpkg_rules() |
pascal@1230 | 26 { |
pascal@15376 | 27 cp -a $install/usr $fs |
pascal@1230 | 28 } |