# HG changeset patch # User Pascal Bellard # Date 1413533593 -7200 # Node ID 5ec5ed47f376abb087b6dcf01b0c14cfd5a4a7f2 # Parent 788d1f0af27f52e24dc5abe762d6717e41193c2d Add python-passlib diff -r 788d1f0af27f -r 5ec5ed47f376 python-passlib/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-passlib/receipt Fri Oct 17 10:13:13 2014 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="python-passlib" +SOURCE="passlib" +VERSION="1.6.2" +CATEGORY="misc" +SHORT_DESC="comprehensive password hashing framework supporting over 30 schemes." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="https://pypi.python.org/pypi/$SOURCE" +WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" + +DEPENDS="python" +BUILD_DEPENDS="wget python" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py build && + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/ +}