wok-6.x annotate s3ql/receipt @ rev 23160

updated lzsa (0.5.6 -> 1.2.0)
author Hans-G?nter Theisgen
date Tue Mar 17 14:14:41 2020 +0100 (2020-03-17)
parents 8dd8bab3f0ca
children 4bae0fb81a17
rev   line source
pascal@14376 1 # SliTaz package receipt.
pascal@14376 2
pascal@14376 3 PACKAGE="s3ql"
pascal@14376 4 VERSION="1.13.2"
pascal@14376 5 CATEGORY="network"
pascal@14376 6 SHORT_DESC="A file system for Google Storage, Amazon S3 or OpenStack."
pascal@14376 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14997 8 LICENSE="GPL3"
pascal@14376 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20687 10 WEB_SITE="https://github.com/s3ql/s3ql"
pascal@14376 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
pascal@14376 12
pascal@14376 13 DEPENDS="sqlite python-llfuse python-pyliblzma python-pycryptopp python-apsw"
pascal@14376 14 BUILD_DEPENDS="python-dev sqlite-dev liblzma-dev fuse-dev attr-dev rsync \
pascal@14376 15 python-distribute python-llfuse python-pyliblzma python-pycryptopp python-apsw \
pascal@14376 16 python-pytest python-py python-unittest2"
pascal@14376 17
pascal@14376 18 # Rules to configure and make the package.
pascal@14376 19 compile_rules()
pascal@14376 20 {
pascal@20621 21 sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
pascal@20621 22 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
pascal@20621 23 util/distribute_setup.py
pascal@14376 24 python setup.py build &&
pascal@14376 25 python setup.py test &&
pascal@14376 26 python setup.py install --root=$DESTDIR
pascal@14376 27 }
pascal@14376 28
pascal@14376 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14376 30 genpkg_rules()
pascal@14376 31 {
pascal@14376 32 cp -a $install/usr $fs
pascal@14376 33 }