wok view s3ql/receipt @ rev 24982

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 13:06:36 2022 +0000 (2022-05-08)
parents 72f2704d3ae0
children a5e183d53960
line source
1 # SliTaz package receipt.
3 PACKAGE="s3ql"
4 VERSION="1.13.2"
5 CATEGORY="network"
6 SHORT_DESC="A file system for Google Storage, Amazon S3 or OpenStack."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/s3ql/s3ql"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
13 DEPENDS="sqlite python-llfuse python-pyliblzma python-pycryptopp python-apsw"
14 BUILD_DEPENDS="python-dev sqlite-dev liblzma-dev fuse2-dev attr-dev rsync \
15 python-distribute python-llfuse python-pyliblzma python-pycryptopp python-apsw \
16 python-pytest python-py python-unittest2"
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/releases.tag/!d;s|.*/tag.release-\(.*\)".*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
28 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
29 util/distribute_setup.py
30 python setup.py build &&
31 python setup.py test &&
32 python setup.py install --root=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 }