wok diff python-pygments/receipt @ rev 17543

Up busybox (1.23.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 27 16:55:03 2015 +0100 (2015-01-27)
parents fd4f1e692109
children 21ef9e1c637d
line diff
     1.1 --- a/python-pygments/receipt	Sat Oct 19 13:53:26 2013 +0000
     1.2 +++ b/python-pygments/receipt	Tue Jan 27 16:55:03 2015 +0100
     1.3 @@ -1,35 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-pygments"
     1.7 -SOURCE="Pygments"
     1.8 -VERSION="1.4"
     1.9 +VERSION="1.6"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="Generic syntax highlighter."
    1.12 +SHORT_DESC="Generic syntax highlighter"
    1.13  MAINTAINER="claudinei@slitaz.org"
    1.14  LICENSE="BSD"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://pygments.org"
    1.17 -WGET_URL="http://pypi.python.org/packages/source/P/$SOURCE/$TARBALL"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 +WEB_SITE="http://pygments.org/"
    1.20 +WGET_URL="https://bitbucket.org/birkenfeld/pygments-main/get/$VERSION.tar.bz2"
    1.21  
    1.22 -DEPENDS="python"
    1.23 -BUILD_DEPENDS="setuptools"
    1.24 +DEPENDS="python setuptools"
    1.25 +BUILD_DEPENDS="setuptools wget"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31 -	python setup.py install --root=$DESTDIR
    1.32 +	python setup.py install --no-compile --root=$install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	mkdir -p $fs/usr
    1.39 -	cp -a $install/usr $fs
    1.40 +	cp -a $install/* $fs
    1.41  }
    1.42 -
    1.43 -# Remove old package.
    1.44 -post_install()
    1.45 -{
    1.46 -	rm -rf $1/var/lib/tazpkg/installed/pygments
    1.47 -}