wok view py3k-six/receipt @ rev 25776
Update thunderbird to 68.12.1 latest ESR work with old glibc, and block autoupdate
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 16 17:28:27 2024 +0200 (8 weeks ago) |
parents | bf5cc66f2a2b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-six"
4 VERSION="1.16.0"
5 CATEGORY="development"
6 SHORT_DESC="Six is a Python 2 and 3 compatibility library."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/six/"
10 REPOLOGY="python:six"
12 SOURCE="six"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 DEPENDS="py3k"
17 BUILD_DEPENDS="py3k-dev py3k-setuptools_scm"
19 HOST_ARCH="i486 arm"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - $WEB_SITE 2>/dev/null | \
25 sed '/release_/!d;/project/!d;s|.*six/||;s|/.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 python3 setup.py install --root=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders lib
38 }