# HG changeset patch # User Pascal Bellard # Date 1330021572 -3600 # Node ID f4ea6ede4036964a7aa2d045650c872decbe67e2 # Parent 18f6fd80a1b9e5997b1dc8688c6e832709184779 Add python-openid diff -r 18f6fd80a1b9 -r f4ea6ede4036 openerp-server/receipt --- a/openerp-server/receipt Thu Feb 23 17:59:34 2012 +0100 +++ b/openerp-server/receipt Thu Feb 23 19:26:12 2012 +0100 @@ -17,7 +17,7 @@ python-pydot python-pygraphviz python-pyparsing python-pytz \ python-gdata python-openid python-vatnumber python-webdav \ python-vobject python-zsi python-xlwt libxslt-python pyopenssl \ -python27-mysql python27-caldav" +python-mysql python-caldav" BUILD_DEPENDS="slitaz-toolchain python python-dev rsync setuptools \ python-babel" diff -r 18f6fd80a1b9 -r f4ea6ede4036 python-openid/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-openid/receipt Thu Feb 23 19:26:12 2012 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-openid" +VERSION="2.2.4" +CATEGORY="development" +SHORT_DESC="OpenID libraries for Python." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" +WEB_SITE="http://www.janrain.com/openid-enabled/" +WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="python-dev python" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + 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 $_pkg/usr $fs +}