wok-next view psycopg2/receipt @ rev 20907
slitaz-base-files: set correct SLITAZ_ARCH in slitaz.conf (affected x86_64) - thanks shann
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 10 15:39:58 2018 +0300 (2018-08-10) |
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 }