wok-current annotate python-pycryptopp/receipt @ rev 25278
updated reptyr (0.7.0 -> 0.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 14:55:21 2022 +0100 (2022-07-18) |
parents | 104a2a2e5484 |
children |
rev | line source |
---|---|
pascal@14376 | 1 # SliTaz package receipt. |
pascal@14376 | 2 |
pascal@14376 | 3 PACKAGE="python-pycryptopp" |
pascal@14376 | 4 VERSION="0.6.0" |
pascal@14376 | 5 CATEGORY="development" |
pascal@14376 | 6 SHORT_DESC="Wrapper around a few algorithms from Crypto++ and python-Ed25519." |
pascal@14376 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="GPL" |
pascal@14376 | 9 SOURCE="pycryptopp" |
pascal@14376 | 10 TARBALL="$SOURCE-$VERSION.1206569328141510525648634803928199668821045408958.tar.gz" |
pascal@24975 | 11 WEB_SITE="https://pypi.python.org/pypi/pycryptopp" |
pascal@24975 | 12 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@14376 | 13 |
pascal@14376 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="python-dev python-setuptools" |
pascal@14376 | 16 |
pascal@24391 | 17 # What is the latest version available today? |
pascal@24391 | 18 current_version() |
pascal@24391 | 19 { |
pascal@24391 | 20 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 21 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.[0-9]*.tar.*||;q" |
pascal@24391 | 22 } |
pascal@24391 | 23 |
pascal@14376 | 24 # Rules to configure and make the package. |
pascal@14376 | 25 compile_rules() |
pascal@14376 | 26 { |
pascal@20212 | 27 sed -i 's|uname -m|echo i486|' src-cryptopp/GNUmakefile |
pascal@14376 | 28 python setup.py build |
pascal@14376 | 29 python setup.py install --root=$DESTDIR |
pascal@14376 | 30 } |
pascal@14376 | 31 |
pascal@14376 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14376 | 33 genpkg_rules() |
pascal@14376 | 34 { |
pascal@14376 | 35 mkdir -p $fs/usr |
pascal@14376 | 36 cp -a $install/usr/lib $fs/usr |
pascal@14376 | 37 } |