wok-stable view tinypy/receipt @ rev 6616

Fixed mercurial. Need pyconfig.h for mercurial to work. So i added this to python package since pyconfig.h maybe need for more python programs. I also removed all .pyc and .pyo files from python. Removed about 4mb from python by doing that.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 09 20:49:19 2010 +0000 (2010-10-09)
parents 58996059f27f
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="glibc-base"
10 BUILD_DEPENDS="python-dev"
11 WEB_SITE="http://www.tinypy.org/"
12 WGET_URL="http://tinypy.googlecode.com/files/$TARBALL"
13 TAGS="python"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py linux
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/build/tinypy $fs/usr/bin
27 }