wok-current view tinypy/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents 934055de50e2
children
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="https://github.com/philhassey/tinypy/archive/refs/tags/$VERSION.tar.gz"
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 }