wok view psycopg2/receipt @ rev 23938
qemu: add X86_64 efi bios (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 12 12:48:26 2020 +0000 (2020-09-12) |
parents | 0c293764164e |
children | 2f230197370e |
line source
1 # SliTaz package receipt.
3 PACKAGE="psycopg2"
4 VERSION="2.8.4"
5 CATEGORY="development"
6 SHORT_DESC="PostgreSQL database adapter for the Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="http://initd.org/psycopg/"
11 Version=${VERSION%.*}
12 Version=${Version/./-}
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="${WEB_SITE}tarballs/PSYCOPG-$Version/$TARBALL"
16 DEPENDS="egenix-mx-base libpostgresqlclient python"
17 BUILD_DEPENDS="postgresql-dev python-dev python-setuptools"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
24 python setup.py build &&
25 python setup.py install --root=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }