wok-current annotate psycopg2/receipt @ rev 23450

updated psycopg2 (2.8.2 -> 2.8.4)
author Hans-G?nter Theisgen
date Fri Apr 03 10:29:43 2020 +0100 (2020-04-03)
parents 0c293764164e
children 2f230197370e
rev   line source
pascal@1230 1 # SliTaz package receipt.
pascal@1230 2
pascal@1230 3 PACKAGE="psycopg2"
Hans-G?nter@23450 4 VERSION="2.8.4"
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"
Hans-G?nter@21719 9 WEB_SITE="http://initd.org/psycopg/"
Hans-G?nter@21719 10
Hans-G?nter@21719 11 Version=${VERSION%.*}
Hans-G?nter@21719 12 Version=${Version/./-}
pascal@1230 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21719 14 WGET_URL="${WEB_SITE}tarballs/PSYCOPG-$Version/$TARBALL"
pascal@15376 15
Hans-G?nter@21719 16 DEPENDS="egenix-mx-base libpostgresqlclient python"
Hans-G?nter@21719 17 BUILD_DEPENDS="postgresql-dev python-dev python-setuptools"
pascal@1230 18
pascal@1230 19 # Rules to configure and make the package.
pascal@1230 20 compile_rules()
pascal@1230 21 {
slaxemulator@11404 22 sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
Hans-G?nter@23450 23
pascal@1475 24 python setup.py build &&
slaxemulator@11404 25 python setup.py install --root=$DESTDIR
pascal@1230 26 }
pascal@1230 27
pascal@1230 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1230 29 genpkg_rules()
pascal@1230 30 {
pascal@15376 31 cp -a $install/usr $fs
pascal@1230 32 }