wok-current diff python-pygraphviz/receipt @ rev 23913

Add linux-mmc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 16 17:17:01 2020 +0000 (2020-08-16)
parents 7390f8de9846
children 104a2a2e5484
line diff
     1.1 --- a/python-pygraphviz/receipt	Sat May 23 16:17:14 2015 +0300
     1.2 +++ b/python-pygraphviz/receipt	Sun Aug 16 17:17:01 2020 +0000
     1.3 @@ -1,23 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-pygraphviz"
     1.7 -VERSION="0.99.1"
     1.8 +VERSION="1.5"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A Python wrapper for the Graphviz Agraph data structure."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 +WEB_SITE="https://pypi.python.org/pypi/pygraphviz"
    1.14 +
    1.15  SOURCE="pygraphviz"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://pypi.python.org/pypi/pygraphviz"
    1.18 -WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL"
    1.19 +TARBALL="$SOURCE-$VERSION.zip"
    1.20 +WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL"
    1.21  
    1.22  DEPENDS="graphviz python"
    1.23 -BUILD_DEPENDS="graphviz-dev python-dev"
    1.24 +BUILD_DEPENDS="graphviz-dev python-dev python-setuptools"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	python setup.py build
    1.30 +	python setup.py build &&
    1.31  	python setup.py install --root=$DESTDIR
    1.32  }
    1.33  
    1.34 @@ -25,5 +26,5 @@
    1.35  genpkg_rules()
    1.36  {
    1.37  	mkdir -p $fs/usr
    1.38 -	cp -a $install/usr/lib $fs/usr
    1.39 +	cp -a $install/usr/lib	$fs/usr
    1.40  }