Date: Tuesday, November 29, 2022 @ 07:55:52
Author: arojas
Revision: 462684
archrelease: copy trunk to testing-x86_64
Added:
python-cairo/repos/testing-x86_64/
python-cairo/repos/testing-x86_64/PKGBUILD
(from rev 462683, python-cairo/trunk/PKGBUILD)
python-cairo/repos/testing-x86_64/keys/
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-cairo/repos/testing-x86_64/PKGBUILD (from rev 462683,
python-cairo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-11-29 07:55:52 UTC (rev 462684)
@@ -0,0 +1,32 @@
+# Maintainer: Angel Velasquez <[email protected]>
+# Maintainer: Jan de Groot <[email protected]>
+
+pkgname=python-cairo
+pkgver=1.23.0
+pkgrel=1
+pkgdesc="Python bindings for the cairo graphics library"
+arch=('x86_64')
+url="https://pycairo.readthedocs.io/en/latest/"
+license=('LGPL2.1' 'MPL')
+depends=(cairo python)
+makedepends=(meson)
+checkdepends=(python-pytest)
+source=(https://github.com/pygobject/pycairo/releases/download/v$pkgver/pycairo-$pkgver.tar.gz{,.sig})
+sha256sums=('9b61ac818723adc04367301317eb2e814a83522f07bbd1f409af0dada463c44c'
+ 'SKIP')
+validpgpkeys=(0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC) # Christoph Reiter
<[email protected]>
+
+build() {
+ meson build pycairo-$pkgver \
+ --prefix=/usr
+ meson compile -C build
+}
+
+check() {
+ cd build
+ pytest -v
+}
+
+package() {
+ meson install -C build --destdir="$pkgdir"
+}