wok-next annotate python-gevent-psycopg2/receipt @ rev 20177
Up sctp-tools (1.0.17), sg3_utils (1.42), squid (3.5.27), strigi (0.7.8), unixODBC (2.3.4), vcdimager (0.7.24)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 02 09:14:23 2017 +0100 (2017-11-02) |
parents | 9689f1b75619 |
children | d43bf7aae921 |
rev | line source |
---|---|
pascal@15211 | 1 # SliTaz package receipt. |
pascal@15211 | 2 |
pascal@15211 | 3 PACKAGE="python-gevent-psycopg2" |
pascal@15211 | 4 SOURCE="gevent-psycopg2" |
pascal@15211 | 5 VERSION="0.0.3" |
pascal@15211 | 6 CATEGORY="development" |
pascal@15211 | 7 SHORT_DESC="Patch psycopg2 to use gevent." |
pascal@15211 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15211 | 9 LICENSE="PublicDomain" |
pascal@15211 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@15211 | 11 WEB_SITE="http://github.com/zacharyvoase/gevent-psycopg2" |
pascal@15211 | 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15211 | 13 |
pascal@17482 | 14 DEPENDS="psycopg2 python-gevent" |
pascal@15211 | 15 BUILD_DEPENDS="wget python-distribute python-dev python" |
pascal@15211 | 16 |
pascal@15211 | 17 # Rules to configure and make the package. |
pascal@15211 | 18 compile_rules() |
pascal@15211 | 19 { |
pascal@15211 | 20 python setup.py build && |
pascal@15211 | 21 python setup.py install --root=$DESTDIR |
pascal@15211 | 22 } |
pascal@15211 | 23 |
pascal@15211 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15211 | 25 genpkg_rules() |
pascal@15211 | 26 { |
pascal@15211 | 27 mkdir -p $fs |
pascal@15211 | 28 cp -a $install/usr $fs |
pascal@15211 | 29 } |