archrelease: copy trunk to extra-x86_64
[arch-packages.git] / python-cairo / trunk / PKGBUILD
blob8b01b36483c1a902a44e071e72411c88a32cd55b
1 # Maintainer: Angel Velasquez <angvp@archlinux.org>  
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=python-cairo
5 pkgver=1.21.0
6 pkgrel=1
7 pkgdesc="Python bindings for the cairo graphics library"
8 arch=('x86_64')
9 url="https://pycairo.readthedocs.io/en/latest/"
10 license=('LGPL2.1' 'MPL')
11 depends=(cairo python)
12 makedepends=(python-setuptools)
13 checkdepends=(python-pytest)
14 source=(https://github.com/pygobject/pycairo/releases/download/v$pkgver/pycairo-$pkgver.tar.gz{,.sig})
15 sha256sums=('251907f18a552df938aa3386657ff4b5a4937dde70e11aa042bc297957f4b74b'
16             'SKIP')
17 validpgpkeys=(0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC) # Christoph Reiter <reiter.christoph@gmail.com>
19 build() {
20   cd pycairo-$pkgver
21   python setup.py build
24 check() {
25   cd pycairo-$pkgver
26   python setup.py test
29 package() {
30   cd pycairo-$pkgver
31   python setup.py install --root="$pkgdir" --skip-build --optimize=1