wok diff python-pychart/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (6 months ago)
parents 51ef9f5adf6d
children
line diff
     1.1 --- a/python-pychart/receipt	Sat Jan 15 16:22:40 2022 +0000
     1.2 +++ b/python-pychart/receipt	Tue Apr 16 10:43:04 2024 +0000
     1.3 @@ -6,17 +6,18 @@
     1.4  SHORT_DESC="Python library for creating EPS, PDF, PNG or SVG."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL"
     1.7 -SOURCE="PyChart"
     1.8 +SOURCE="Python-Chart"
     1.9  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.10  WEB_SITE="https://pypi.org/project/$SOURCE/"
    1.11 -WGET_URL="http://download.gna.org/pychart/$TARBALL"
    1.12 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.13  
    1.14  DEPENDS="python"
    1.15  BUILD_DEPENDS="python"
    1.16  
    1.17 +# What is the latest version available today?
    1.18  current_version()
    1.19  {
    1.20 -	wget -O - $WEB_SITE 2>/dev/null | sed '/ PyChart /!d;s|.*PyChart ||'
    1.21 +	wget -O - $WEB_SITE 2>/dev/null | sed '/ Python-Chart /!d;s|.*Python-Chart ||'
    1.22  }
    1.23  
    1.24  # Rules to configure and make the package.