wok annotate python-bcrypt/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents ad7944242242
children 076f424196b2
rev   line source
pascal@21876 1 # SliTaz package receipt.
pascal@21876 2
pascal@21876 3 PACKAGE="python-bcrypt"
pascal@21876 4 VERSION="3.1.7"
pascal@21876 5 CATEGORY="development"
Hans-G?nter@23492 6 SHORT_DESC="Modern password hashing for software and servers."
pascal@21876 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21876 8 LICENSE="Apache"
Hans-G?nter@23492 9 WEB_SITE="https://pypi.org/project/bcrypt/"
Hans-G?nter@23492 10
Hans-G?nter@23492 11 SOURCE="bcrypt"
pascal@21876 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23492 13 WGET_URL="https://files.pythonhosted.org/packages/source/b/$SOURCE/$TARBALL"
pascal@21876 14
pascal@21877 15 DEPENDS="python-cffi"
Hans-G?nter@23492 16 BUILD_DEPENDS="libffi-dev python-cffi python-cparser python-dev python-setuptools"
pascal@21876 17
pascal@24288 18 current_version()
pascal@24288 19 {
pascal@24288 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 21 }
pascal@24288 22
pascal@24288 23 # Rules to configure and make the package.
pascal@21876 24 # Rules to configure and make the package.
pascal@21876 25 compile_rules()
pascal@21876 26 {
pascal@21876 27 python setup.py build &&
pascal@21876 28 python setup.py install --root=$DESTDIR
pascal@21876 29 }
pascal@21876 30
pascal@21876 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21876 32 genpkg_rules()
pascal@21876 33 {
pascal@21876 34 mkdir -p $fs
Hans-G?nter@23492 35 cp -a $install/usr $fs
pascal@21876 36 }