wok-next annotate python-openid/receipt @ rev 20885
Update python (2.7.15)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 13 13:52:56 2018 +0300 (2018-07-13) |
parents | 7390f8de9846 |
children | c9a7a7b42a86 |
rev | line source |
---|---|
pascal@11773 | 1 # SliTaz package receipt. |
pascal@11773 | 2 |
pascal@11773 | 3 PACKAGE="python-openid" |
pascal@11773 | 4 VERSION="2.2.4" |
pascal@11773 | 5 CATEGORY="development" |
pascal@11773 | 6 SHORT_DESC="OpenID libraries for Python." |
pascal@11773 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="Apache" |
al@20885 | 9 WEB_SITE="http://www.janrain.com/openid-enabled/" |
al@20885 | 10 REPOLOGY="python:openid" |
al@20885 | 11 |
pascal@11773 | 12 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@11773 | 13 WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" |
pascal@11773 | 14 |
pascal@11773 | 15 DEPENDS="python" |
pascal@11773 | 16 BUILD_DEPENDS="python-dev python" |
pascal@11773 | 17 |
pascal@11773 | 18 # Rules to configure and make the package. |
pascal@11773 | 19 compile_rules() |
pascal@11773 | 20 { |
pascal@11773 | 21 python setup.py build && |
pascal@11773 | 22 python setup.py install --root=$DESTDIR |
pascal@11773 | 23 } |
pascal@11773 | 24 |
pascal@11773 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11773 | 26 genpkg_rules() |
pascal@11773 | 27 { |
pascal@11773 | 28 mkdir -p $fs |
pascal@15379 | 29 cp -a $install/usr $fs |
pascal@11773 | 30 } |