wok-current annotate s3ql/receipt @ rev 25425
updated xa (2.3.10 -> 2.3.13)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:31:57 2022 +0100 (2022-08-18) |
parents | 72f2704d3ae0 |
children |
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@24982 | 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 } |