wok view psycopg2/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 16df76e1fc6a
children 6104bce47bab
line source
1 # SliTaz package receipt.
3 PACKAGE="psycopg2"
4 VERSION="2.8.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/"
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
23 python setup.py build &&
24 python setup.py install --root=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }