wok-next view python-gevent-psycopg2/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 8b5b2a6d07b8 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="gevent-psycopg2"
4 PACKAGE="python-gevent-psycopg2"
5 VERSION="0.0.3"
6 CATEGORY="python"
7 SHORT_DESC="Patch psycopg2 to use gevent"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="PublicDomain"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:gevent-psycopg2"
14 TARBALL="$ORIGIN-$VERSION.tar.gz"
15 WGET_URL="https://files.pythonhosted.org/packages/source/${ORIGIN:0:1}/$ORIGIN/$TARBALL"
17 BUILD_DEPENDS="python python-distribute"
19 compile_rules() {
20 # to fix: 'urllib2.HTTPError: HTTP Error 403: SSL is required'
21 sed -i 's|http:|https:|' distribute_setup.py
23 # Python3 based compilation produce error
24 python -B setup.py install --root=$install
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="python python-psycopg2 python-gevent"
30 }