wok-current annotate s3ql/receipt @ rev 24766

Try fuse2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 18:06:12 2022 +0000 (2022-03-18)
parents 4bae0fb81a17
children 0f92b8cc8086
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@24766 14 BUILD_DEPENDS="python-dev sqlite-dev liblzma-dev fuse2-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@24082 18 current_version()
pascal@24082 19 {
pascal@24082 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24082 21 sed '/releases.tag/!d;s|.*/tag.release-\(.*\)".*|\1|;q'
pascal@24082 22 }
pascal@24082 23
pascal@14376 24 # Rules to configure and make the package.
pascal@14376 25 compile_rules()
pascal@14376 26 {
pascal@20621 27 sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
pascal@20621 28 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
pascal@20621 29 util/distribute_setup.py
pascal@14376 30 python setup.py build &&
pascal@14376 31 python setup.py test &&
pascal@14376 32 python setup.py install --root=$DESTDIR
pascal@14376 33 }
pascal@14376 34
pascal@14376 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14376 36 genpkg_rules()
pascal@14376 37 {
pascal@14376 38 cp -a $install/usr $fs
pascal@14376 39 }