wok-6.x view tinypy/receipt @ rev 24572
updated freetds and freetds-dev (1.1.24 -> 1.3.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 07:32:20 2022 +0100 (2022-02-27) |
parents | 23c3aed67cd9 |
children | 1805f71c5d9f |
line source
1 # SliTaz package receipt.
3 PACKAGE="tinypy"
4 VERSION="1.1"
5 CATEGORY="development"
6 SHORT_DESC="A minimalist implementation of Python."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.tinypy.org/"
11 WGET_URL="http://tinypy.googlecode.com/files/$TARBALL"
12 TAGS="python"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/philhassey/tinypy/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 python setup.py linux
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/build/tinypy $fs/usr/bin
36 }