wok-next annotate python-gevent-psycopg2/receipt @ rev 21592
updated dkms (2.1.1.2 -> 2.8.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 07:35:54 2020 +0100 (2020-06-24) |
parents | 8b5b2a6d07b8 |
children |
rev | line source |
---|---|
al@20727 | 1 # SliTaz package receipt v2. |
pascal@15211 | 2 |
al@20972 | 3 ORIGIN="gevent-psycopg2" |
pascal@15211 | 4 PACKAGE="python-gevent-psycopg2" |
pascal@15211 | 5 VERSION="0.0.3" |
al@20972 | 6 CATEGORY="python" |
al@20727 | 7 SHORT_DESC="Patch psycopg2 to use gevent" |
pascal@15211 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15211 | 9 LICENSE="PublicDomain" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 HOST_ARCH="any" |
al@20885 | 12 REPOLOGY="python:gevent-psycopg2" |
al@20727 | 13 |
al@20972 | 14 TARBALL="$ORIGIN-$VERSION.tar.gz" |
al@20972 | 15 WGET_URL="https://files.pythonhosted.org/packages/source/${ORIGIN:0:1}/$ORIGIN/$TARBALL" |
pascal@15211 | 16 |
al@20972 | 17 BUILD_DEPENDS="python python-distribute" |
pascal@15211 | 18 |
al@20727 | 19 compile_rules() { |
al@20972 | 20 # to fix: 'urllib2.HTTPError: HTTP Error 403: SSL is required' |
al@20727 | 21 sed -i 's|http:|https:|' distribute_setup.py |
al@20727 | 22 |
al@20972 | 23 # Python3 based compilation produce error |
al@20972 | 24 python -B setup.py install --root=$install |
pascal@15211 | 25 } |
pascal@15211 | 26 |
al@20727 | 27 genpkg_rules() { |
al@20727 | 28 copy @std |
al@20972 | 29 DEPENDS="python python-psycopg2 python-gevent" |
pascal@15211 | 30 } |