wok-next annotate python-openid/receipt @ rev 18086
Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 23 16:17:14 2015 +0300 (2015-05-23) |
parents | 2a5cc8208d36 |
children | 9b3461bf373c |
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" |
pascal@11773 | 9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@11773 | 10 WEB_SITE="http://www.janrain.com/openid-enabled/" |
pascal@11773 | 11 WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" |
pascal@11773 | 12 |
pascal@11773 | 13 DEPENDS="python" |
pascal@11773 | 14 BUILD_DEPENDS="python-dev python" |
pascal@11773 | 15 |
pascal@11773 | 16 # Rules to configure and make the package. |
pascal@11773 | 17 compile_rules() |
pascal@11773 | 18 { |
pascal@11773 | 19 python setup.py build && |
pascal@11773 | 20 python setup.py install --root=$DESTDIR |
pascal@11773 | 21 } |
pascal@11773 | 22 |
pascal@11773 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11773 | 24 genpkg_rules() |
pascal@11773 | 25 { |
pascal@11773 | 26 mkdir -p $fs |
pascal@15379 | 27 cp -a $install/usr $fs |
pascal@11773 | 28 } |