wok-6.x annotate python-passlib/receipt @ rev 25544
merkaartor: include localised messages in package
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 12 15:58:49 2023 +0100 (21 months ago) |
parents | 104a2a2e5484 |
children |
rev | line source |
---|---|
pascal@17233 | 1 # SliTaz package receipt. |
pascal@17233 | 2 |
pascal@17233 | 3 PACKAGE="python-passlib" |
Hans-G?nter@25212 | 4 VERSION="1.7.4" |
pascal@17233 | 5 CATEGORY="misc" |
Hans-G?nter@23522 | 6 SHORT_DESC="Comprehensive password hashing framework supporting over 30 schemes." |
pascal@17233 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17233 | 8 LICENSE="BSD" |
Hans-G?nter@23522 | 9 WEB_SITE="https://pypi.python.org/pypi/$SOURCE" |
Hans-G?nter@25212 | 10 REPOLOGY="python:passlib" |
Hans-G?nter@23522 | 11 |
Hans-G?nter@25212 | 12 SOURCE="passlib" |
pascal@17233 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23522 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@17233 | 15 |
pascal@17233 | 16 DEPENDS="python" |
Hans-G?nter@23522 | 17 BUILD_DEPENDS="python python-setuptools" |
pascal@17233 | 18 |
pascal@24391 | 19 # What is the latest version available today? |
pascal@24391 | 20 current_version() |
pascal@24391 | 21 { |
pascal@24391 | 22 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 23 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 24 } |
pascal@24391 | 25 |
pascal@17233 | 26 # Rules to configure and make the package. |
pascal@17233 | 27 compile_rules() |
pascal@17233 | 28 { |
pascal@17233 | 29 python setup.py build && |
pascal@17233 | 30 python setup.py install --root=$DESTDIR |
pascal@17233 | 31 } |
pascal@17233 | 32 |
pascal@17233 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17233 | 34 genpkg_rules() |
pascal@17233 | 35 { |
Hans-G?nter@23522 | 36 cp -a $install/usr $fs |
pascal@17233 | 37 } |