wok-current annotate pycrypto/receipt @ rev 21582

Use python-setuptools as bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:45:04 2019 +0200 (2019-05-19)
parents 16df76e1fc6a
children dda811c974d8
rev   line source
pascal@2148 1 # SliTaz package receipt.
pascal@2148 2
pascal@2148 3 PACKAGE="pycrypto"
slaxemulator@10167 4 VERSION="2.3"
pascal@2148 5 CATEGORY="development"
pascal@2148 6 SHORT_DESC="Cryptographic algorithms and protocols for python."
pascal@2148 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15379 8 LICENSE="PublicDomain"
pascal@2148 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20672 10 WEB_SITE="https://www.dlitz.net/software/pycrypto/"
slaxemulator@10167 11 WGET_URL="http://ftp.dlitz.net/pub/dlitz/crypto/$PACKAGE/$TARBALL"
pascal@15379 12
pascal@5005 13 DEPENDS="python gmp"
claudinei@10022 14 BUILD_DEPENDS="python-dev gmp-dev"
pascal@2148 15
pascal@2148 16 # Rules to configure and make the package.
pascal@2148 17 compile_rules()
pascal@2148 18 {
slaxemulator@10167 19 python setup.py build &&
slaxemulator@10167 20 python setup.py install --root=$DESTDIR
pascal@2148 21 }
pascal@2148 22
pascal@2148 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2148 24 genpkg_rules()
pascal@2148 25 {
pascal@15379 26 cp -a $install/usr $fs
pascal@2148 27 }