wok-next view psycopg2/receipt @ rev 20896

dialog: up (1.3-20180621); dropbear: up (2018.76); e2fsprogs: up (1.44.3); elfutils: up (0.173); eudev: up (3.2.5); expat: up (2.2.5); fontconfig: up (2.13.0); freetype: up (2.9.1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 20 16:59:33 2018 +0300 (2018-07-20)
parents 16df76e1fc6a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="psycopg2"
4 VERSION="2.4.2"
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/"
10 REPOLOGY="python:psycopg2"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}tarballs/PSYCOPG-2-4//$TARBALL"
15 DEPENDS="python egenix-mx-base libpostgresqlclient"
16 BUILD_DEPENDS="python-dev postgresql-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
22 python setup.py build &&
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }