wok-current annotate python-llfuse/receipt @ rev 20672
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 14:51:04 2019 +0100 (2019-01-24) |
parents | 02335b48dae1 |
children | c37e3426c78d |
rev | line source |
---|---|
pascal@14376 | 1 # SliTaz package receipt. |
pascal@14376 | 2 |
pascal@14376 | 3 PACKAGE="python-llfuse" |
pascal@14376 | 4 SOURCE="llfuse" |
pascal@14376 | 5 VERSION="0.38" |
pascal@14376 | 6 CATEGORY="development" |
pascal@14376 | 7 SHORT_DESC="Python bindings for the low level FUSE API." |
pascal@14376 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 9 LICENSE="LGPL2" |
pascal@14376 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20672 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
pascal@14376 | 12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
pascal@14376 | 13 |
pascal@14376 | 14 DEPENDS="fuse" |
pascal@20571 | 15 BUILD_DEPENDS="python-dev fuse-dev attr-dev python-distribute openssl" |
pascal@14376 | 16 |
pascal@14376 | 17 # Rules to configure and make the package. |
pascal@14376 | 18 compile_rules() |
pascal@14376 | 19 { |
pascal@20620 | 20 sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \ |
pascal@20620 | 21 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \ |
pascal@20620 | 22 util/distribute_setup.py |
pascal@14376 | 23 python setup.py build && |
pascal@14376 | 24 python setup.py install --root=$DESTDIR |
pascal@14376 | 25 } |
pascal@14376 | 26 |
pascal@14376 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14376 | 28 genpkg_rules() |
pascal@14376 | 29 { |
pascal@14376 | 30 cp -a $install/usr $fs |
pascal@14376 | 31 } |