# HG changeset patch # User Aleksej Bobylev # Date 1527510753 -10800 # Node ID 88618aeb4e075134df3ae6f4b3dc2918dc7d782c # Parent dba6ebc9b925780a67618e40ba69db9877b9c045 python-gevent-psycopg2: fix error "urllib2.HTTPError: HTTP Error 403: SSL is required" diff -r dba6ebc9b925 -r 88618aeb4e07 python-gevent-psycopg2/receipt --- a/python-gevent-psycopg2/receipt Mon May 28 15:07:14 2018 +0300 +++ b/python-gevent-psycopg2/receipt Mon May 28 15:32:33 2018 +0300 @@ -1,29 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="python-gevent-psycopg2" SOURCE="gevent-psycopg2" VERSION="0.0.3" CATEGORY="development" -SHORT_DESC="Patch psycopg2 to use gevent." +SHORT_DESC="Patch psycopg2 to use gevent" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="PublicDomain" +WEB_SITE="http://github.com/zacharyvoase/gevent-psycopg2" + TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://github.com/zacharyvoase/gevent-psycopg2" WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" -DEPENDS="psycopg2 python-gevent" BUILD_DEPENDS="python-distribute python-dev python openssl" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { + sed -i 's|http:|https:|' distribute_setup.py + python setup.py build && python setup.py install --root=$DESTDIR } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs - cp -a $install/usr $fs +genpkg_rules() { + copy @std + DEPENDS="psycopg2 python-gevent" }