wok-next annotate python-passlib/receipt @ rev 17678
Up emacs-pkg-po-mode (0.19.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 12:16:55 2015 +0100 (2015-02-18) |
parents | |
children | 7390f8de9846 |
rev | line source |
---|---|
pascal@17233 | 1 # SliTaz package receipt. |
pascal@17233 | 2 |
pascal@17233 | 3 PACKAGE="python-passlib" |
pascal@17233 | 4 SOURCE="passlib" |
pascal@17233 | 5 VERSION="1.6.2" |
pascal@17233 | 6 CATEGORY="misc" |
pascal@17233 | 7 SHORT_DESC="comprehensive password hashing framework supporting over 30 schemes." |
pascal@17233 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17233 | 9 LICENSE="BSD" |
pascal@17233 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@17233 | 11 WEB_SITE="https://pypi.python.org/pypi/$SOURCE" |
pascal@17233 | 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@17233 | 13 |
pascal@17233 | 14 DEPENDS="python" |
pascal@17233 | 15 BUILD_DEPENDS="wget python" |
pascal@17233 | 16 |
pascal@17233 | 17 # Rules to configure and make the package. |
pascal@17233 | 18 compile_rules() |
pascal@17233 | 19 { |
pascal@17233 | 20 python setup.py build && |
pascal@17233 | 21 python setup.py install --root=$DESTDIR |
pascal@17233 | 22 } |
pascal@17233 | 23 |
pascal@17233 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17233 | 25 genpkg_rules() |
pascal@17233 | 26 { |
pascal@17233 | 27 cp -a $install/usr $fs/ |
pascal@17233 | 28 } |