# pycairo/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This is a multi-license package. According to the official docu- mentation: "Pycairo is free software and is available to be redis- tributed and/or modified under the terms of either the GNU Lesser General Public License (LGPL) version 2.1 or the Mozilla Public Lic- ense (MPL) version 1.1". #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.18 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.00 hours (or 000.22 minutes) - HP EliteBook 8560w 32GB RAM 00.00 hours (or 000.25 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.01 hours (or 000.72 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] configure = none fortran = disabled license = See "technotes" in "cfg" file proddir = none purge = no setpaths = $PRODTREE/gcc tmpsize = 1M unpack = none #--------------------------------------------------------------------- [depends] actools cairo gawk grep gtkcore libsvg-cairo pkgconf python:strict python2-core:strict python3-core:strict sed #--------------------------------------------------------------------- [build] PATH=$PRODTREE/python3/bin:$PATH for pkg in pycairo do pip2 install --no-index --upgrade \ --find-links /src/piprepo2 $pkg pip3 install --no-index --upgrade \ --find-links /src/piprepo3 $pkg done #--------------------------------------------------------------------- pushd $PRODTREE/python2 IPDIR=include/pycairo if [ \! -f $IPDIR/pycairo.h ]; then mkdir -p $IPDIR/ cp -p `find . -name pycairo.h` $IPDIR/ fi mkdir -p lib/pkgconfig sed -e "s@__META_PRODTREE__@$PRODTREE@" \ < $PKGDIR_SPECIAL/pycairo.pc \ > lib/pkgconfig/pycairo.pc popd #--------------------------------------------------------------------- pushd $PRODTREE/python3 IPDIR=include/pycairo if [ \! -f $IPDIR/py3cairo.h ]; then mkdir -p $IPDIR/ cp -p `find . -name py3cairo.h` $IPDIR/ fi mkdir -p lib/pkgconfig sed -e "s@__META_PRODTREE__@$PRODTREE@" \ < $PKGDIR_SPECIAL/py3cairo.pc \ > lib/pkgconfig/py3cairo.pc popd #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/python/\ python-cairo url_home = http://cairographics.org/pycairo/ url_lfs = n/a url_tarball = https://github.com/pygobject/pycairo/releases/download/\ v1.18.1/pycairo-1.18.1.tar.gz #--------------------------------------------------------------------- [history] 170217 Updated from 1.6.4 to 1.15.2 190908 Updated to 1.18.1 210227 Switched to new approach