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

updated psycopg2 (2.4.2 -> 2.8.2)
author Hans-G?nter Theisgen
date Wed Jun 12 14:18:02 2019 +0100 (2019-06-12)
parents 16df76e1fc6a
children 6104bce47bab
rev   line source
pascal@1230 1 # SliTaz package receipt.
pascal@1230 2
pascal@1230 3 PACKAGE="psycopg2"
Hans-G?nter@21719 4 VERSION="2.8.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"
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
pascal@1475 23 python setup.py build &&
slaxemulator@11404 24 python setup.py install --root=$DESTDIR
pascal@1230 25 }
pascal@1230 26
pascal@1230 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1230 28 genpkg_rules()
pascal@1230 29 {
pascal@15376 30 cp -a $install/usr $fs
pascal@1230 31 }