wok view s3ql/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (16 months ago) |
parents | 0f92b8cc8086 |
children |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/s3ql-*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i -e 's|import sys|&\nimport ssl|' -e 's|http:|https:|' -e \
29 's|.*urlopen(url|\t ssl._create_default_https_context = ssl._create_unverified_context\n&|' \
30 util/distribute_setup.py
31 python setup.py build &&
32 python setup.py test &&
33 python setup.py install --root=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 }