wok-next annotate python-gevent-psycopg2/receipt @ rev 20926

psycopg2 -> python-psycopg2; remove psycopg (unsupported)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 22 17:26:14 2018 +0300 (2018-08-22)
parents a3c581bf52b8
children 8b5b2a6d07b8
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"
pascal@15211 14 WGET_URL="https://pypi.python.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 }