wok-current view s3ql/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents 04434444ef20
children 72f2704d3ae0
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="http://$PACKAGE.googlecode.com/files/$TARBALL"
13 DEPENDS="sqlite python-llfuse python-pyliblzma python-pycryptopp python-apsw"
14 BUILD_DEPENDS="python-dev sqlite-dev liblzma-dev fuse-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 }