wok-next annotate 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
rev   line source
al@20727 1 # SliTaz package receipt v2.
pascal@15211 2
pascal@15211 3 PACKAGE="python-gevent-psycopg2"
pascal@15211 4 VERSION="0.0.3"
pascal@15211 5 CATEGORY="development"
al@20727 6 SHORT_DESC="Patch psycopg2 to use gevent"
pascal@15211 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15211 8 LICENSE="PublicDomain"
al@20906 9 WEB_SITE="https://github.com/zacharyvoase/gevent-psycopg2"
al@20885 10 REPOLOGY="python:gevent-psycopg2"
al@20727 11
al@20885 12 SOURCE="gevent-psycopg2"
pascal@15211 13 TARBALL="$SOURCE-$VERSION.tar.gz"
al@20969 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@15211 15
pascal@20520 16 BUILD_DEPENDS="python-distribute python-dev python openssl"
pascal@15211 17
al@20727 18 compile_rules() {
al@20727 19 sed -i 's|http:|https:|' distribute_setup.py
al@20727 20
pascal@15211 21 python setup.py build &&
pascal@15211 22 python setup.py install --root=$DESTDIR
pascal@15211 23 }
pascal@15211 24
al@20727 25 genpkg_rules() {
al@20727 26 copy @std
al@20926 27 DEPENDS="python-psycopg2 python-gevent"
pascal@15211 28 }