wok-current rev 3787

Up: python-docutils (snapshot)
author Claudinei Pereira <claudinei@slitaz.org>
date Fri Jul 31 23:29:39 2009 +0000 (2009-07-31)
parents 86fda023d92a
children 83e2c1cabb15
files python-docutils/receipt
line diff
     1.1 --- a/python-docutils/receipt	Fri Jul 31 10:01:16 2009 +0200
     1.2 +++ b/python-docutils/receipt	Fri Jul 31 23:29:39 2009 +0000
     1.3 @@ -2,13 +2,13 @@
     1.4  
     1.5  PACKAGE="python-docutils"
     1.6  SOURCE="docutils"
     1.7 -VERSION="0.5"
     1.8 +VERSION="snapshot"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Text processing system."
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +TARBALL="$SOURCE-$VERSION.tgz"
    1.14  WEB_SITE="http://docutils.sourceforge.net"
    1.15 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.16 +WGET_URL="$WEB_SITE/$TARBALL"
    1.17  DEPENDS="python"
    1.18  BUILD_DEPENDS="python python-dev"
    1.19  SUGGESTED="pil"
    1.20 @@ -16,6 +16,7 @@
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 +	src="$SOURCE"
    1.25  	cd $src
    1.26  	python setup.py install --root=$PWD/_pkg
    1.27  }
    1.28 @@ -23,6 +24,10 @@
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 +	_pkg="$SOURCE/_pkg"
    1.33 +	for file in `find $_pkg | grep 'pyc$'`; do
    1.34 +		rm $file
    1.35 +	done
    1.36  	mkdir -p $fs/usr
    1.37  	cp -a $_pkg/usr $fs
    1.38  }