[arch-commits] Commit in python-cairo/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Sat Dec 24 16:06:01 UTC 2016
Date: Saturday, December 24, 2016 @ 16:06:00
Author: felixonmars
Revision: 284648
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
python-cairo/repos/staging-i686/
python-cairo/repos/staging-i686/PKGBUILD
(from rev 284647, python-cairo/trunk/PKGBUILD)
python-cairo/repos/staging-x86_64/
python-cairo/repos/staging-x86_64/PKGBUILD
(from rev 284647, python-cairo/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: python-cairo/repos/staging-i686/PKGBUILD (from rev 284647, python-cairo/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-12-24 16:06:00 UTC (rev 284648)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=python-cairo
+pkgver=1.10.0
+_waf_version=1.7.15
+pkgrel=7
+pkgdesc="Python bindings for the cairo graphics library"
+arch=('i686' 'x86_64')
+url="http://www.cairographics.org/pycairo"
+license=('LGPL3')
+depends=('python' 'cairo')
+source=(http://cairographics.org/releases/pycairo-${pkgver}.tar.bz2
+ https://waf.io/waf-${_waf_version})
+md5sums=('e6fd3f2f1e6a72e0db0868c4985669c5'
+ '2ba0e10baf44db334e3baa39e59688db')
+
+build() {
+ cd pycairo-${pkgver}
+
+ # use newer waf
+ cp "$srcdir/waf-$_waf_version" ./waf
+
+ # fix compatibility with newer waf
+ # http://cgit.freedesktop.org/pycairo/commit/?id=c57cd129407c904f8c2f752a59d0183df7b01a5e
+ sed -e "s/ctx.\(tool_options\|check_tool\)(/ctx.load(/" -i wscript
+
+ # Ensure that ./waf has created the cached unpacked version
+ # of the wafadmin source tree.
+ # This will be created to a subdirectory like
+ # .waf3-1.5.18-a7b91e2a913ce55fa6ecdf310df95752
+ python3 ./waf --version
+
+ ./waf configure --prefix=/usr
+ ./waf build
+}
+
+package() {
+ cd pycairo-${pkgver}
+ ./waf install --destdir="${pkgdir}"
+}
Copied: python-cairo/repos/staging-x86_64/PKGBUILD (from rev 284647, python-cairo/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-12-24 16:06:00 UTC (rev 284648)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=python-cairo
+pkgver=1.10.0
+_waf_version=1.7.15
+pkgrel=7
+pkgdesc="Python bindings for the cairo graphics library"
+arch=('i686' 'x86_64')
+url="http://www.cairographics.org/pycairo"
+license=('LGPL3')
+depends=('python' 'cairo')
+source=(http://cairographics.org/releases/pycairo-${pkgver}.tar.bz2
+ https://waf.io/waf-${_waf_version})
+md5sums=('e6fd3f2f1e6a72e0db0868c4985669c5'
+ '2ba0e10baf44db334e3baa39e59688db')
+
+build() {
+ cd pycairo-${pkgver}
+
+ # use newer waf
+ cp "$srcdir/waf-$_waf_version" ./waf
+
+ # fix compatibility with newer waf
+ # http://cgit.freedesktop.org/pycairo/commit/?id=c57cd129407c904f8c2f752a59d0183df7b01a5e
+ sed -e "s/ctx.\(tool_options\|check_tool\)(/ctx.load(/" -i wscript
+
+ # Ensure that ./waf has created the cached unpacked version
+ # of the wafadmin source tree.
+ # This will be created to a subdirectory like
+ # .waf3-1.5.18-a7b91e2a913ce55fa6ecdf310df95752
+ python3 ./waf --version
+
+ ./waf configure --prefix=/usr
+ ./waf build
+}
+
+package() {
+ cd pycairo-${pkgver}
+ ./waf install --destdir="${pkgdir}"
+}
More information about the arch-commits
mailing list