wok-next view python-gevent-psycopg2/receipt @ rev 20969

Micro-updates + { new clang + assaultcube (still broken)} + {new python modules from SliTaz Cooking + their depends}
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 14 01:56:52 2018 +0300 (2018-09-14)
parents 680393ac1f5c
children c9a7a7b42a86
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-gevent-psycopg2"
4 VERSION="0.0.3"
5 CATEGORY="development"
6 SHORT_DESC="Patch psycopg2 to use gevent"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain"
9 WEB_SITE="https://github.com/zacharyvoase/gevent-psycopg2"
10 REPOLOGY="python:gevent-psycopg2"
12 SOURCE="gevent-psycopg2"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 BUILD_DEPENDS="python-distribute python-dev python openssl"
18 compile_rules() {
19 sed -i 's|http:|https:|' distribute_setup.py
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="python-psycopg2 python-gevent"
28 }