wok-current diff pycairo/receipt @ rev 23822
created recipes for qt5 packages
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 28 10:55:44 2020 +0100 (2020-05-28) |
parents | a78610b2eb47 |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/pycairo/receipt Mon Jan 21 12:26:11 2019 +0100 1.2 +++ b/pycairo/receipt Thu May 28 10:55:44 2020 +0100 1.3 @@ -1,32 +1,32 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="pycairo" 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 MAINTAINER="erjo@slitaz.org" 1.12 LICENSE="MPL LGPL2.1" 1.13 -SOURCE="py2cairo" 1.14 -TARBALL="$SOURCE-$VERSION.tar.bz2" 1.15 WEB_SITE="https://www.cairographics.org/pycairo/" 1.16 -WGET_URL="https://www.cairographics.org/releases/$TARBALL" 1.17 + 1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 +WGET_URL="https://github.com/pygobject/$PACKAGE/archive/v$VERSION/$TARBALL" 1.20 1.21 DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \ 1.22 -xorg-libXdmcp xorg-libXrender xcb-util" 1.23 -BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev" 1.24 + xorg-libXdmcp xorg-libXrender xcb-util" 1.25 +BUILD_DEPENDS="cairo cairo-dev pkg-config python-dev xorg-xproto" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - ./waf configure --prefix=/usr && 1.31 - ./waf build && 1.32 - ./waf install --destdir=$DESTDIR 1.33 + python setup.py build && 1.34 + python setup.py install --root=$DESTDIR 1.35 } 1.36 1.37 # Rules to gen a SliTaz package suitable for Tazpkg. 1.38 genpkg_rules() 1.39 { 1.40 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.41 + 1.42 mkdir -p $fs/usr/lib 1.43 - cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib 1.44 + cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib 1.45 }