wok rev 23458

updated pycairo and pycairo-dev (1.10.0 -> 1.18.2)
author Hans-G?nter Theisgen
date Sat Apr 04 16:56:25 2020 +0100 (2020-04-04)
parents 6156391b4805
children dda811c974d8
files pycairo-dev/receipt pycairo/receipt
line diff
     1.1 --- a/pycairo-dev/receipt	Sat Apr 04 16:27:00 2020 +0100
     1.2 +++ b/pycairo-dev/receipt	Sat Apr 04 16:56:25 2020 +0100
     1.3 @@ -1,21 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pycairo-dev"
     1.7 -VERSION="1.10.0"
     1.8 +VERSION="1.18.2"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Python bindings for the cairo graphics library."
    1.11 +SHORT_DESC="Python bindings for the cairo graphics library - development files."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="MPL LGPL2.1"
    1.14  WEB_SITE="https://www.cairographics.org/pycairo/"
    1.15 +
    1.16 +DEPENDS="pkg-config pycairo"
    1.17  WANTED="pycairo"
    1.18  
    1.19 -DEPENDS="pycairo pkg-config"
    1.20 -
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 -	cp -a $install/usr/include $fs/usr
    1.27 +
    1.28 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.29 +	cp -a $install/usr/include		$fs/usr
    1.30  }
    1.31 -
     2.1 --- a/pycairo/receipt	Sat Apr 04 16:27:00 2020 +0100
     2.2 +++ b/pycairo/receipt	Sat Apr 04 16:56:25 2020 +0100
     2.3 @@ -1,32 +1,32 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="pycairo"
     2.7 -VERSION="1.10.0"
     2.8 +VERSION="1.18.2"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Python bindings for the cairo graphics library."
    2.11  MAINTAINER="erjo@slitaz.org"
    2.12  LICENSE="MPL LGPL2.1"
    2.13 -SOURCE="py2cairo"
    2.14 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.15  WEB_SITE="https://www.cairographics.org/pycairo/"
    2.16 -WGET_URL="https://www.cairographics.org/releases/$TARBALL"
    2.17 +
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.19 +WGET_URL="https://github.com/pygobject/$PACKAGE/archive/v$VERSION/$TARBALL"
    2.20  
    2.21  DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
    2.22 -xorg-libXdmcp xorg-libXrender xcb-util"
    2.23 -BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
    2.24 +	xorg-libXdmcp xorg-libXrender xcb-util"
    2.25 +BUILD_DEPENDS="cairo cairo-dev pkg-config python-dev xorg-xproto"
    2.26  
    2.27  # Rules to configure and make the package.
    2.28  compile_rules()
    2.29  {
    2.30 -	./waf configure --prefix=/usr &&
    2.31 -	./waf build &&
    2.32 -	./waf install --destdir=$DESTDIR
    2.33 +	python setup.py build &&
    2.34 +	python setup.py install --root=$DESTDIR
    2.35  }
    2.36  
    2.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.38  genpkg_rules()
    2.39  {
    2.40  	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    2.41 +
    2.42  	mkdir -p $fs/usr/lib
    2.43 -	cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
    2.44 +	cp -a $install/usr/lib/$PYTHON_LIB	$fs/usr/lib
    2.45  }