[arch-commits] Commit in python-cairo/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jan 25 19:51:42 UTC 2020
Date: Saturday, January 25, 2020 @ 19:51:42
Author: arojas
Revision: 373932
archrelease: copy trunk to testing-x86_64
Added:
python-cairo/repos/testing-x86_64/
python-cairo/repos/testing-x86_64/PKGBUILD
(from rev 373931, python-cairo/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-cairo/repos/testing-x86_64/PKGBUILD (from rev 373931, python-cairo/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-01-25 19:51:42 UTC (rev 373932)
@@ -0,0 +1,30 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=python-cairo
+pkgver=1.19.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=(git)
+_commit=9f486e88597056a61d76364f21b5a911f17e896a # tags/v1.19.0
+source=("git+https://github.com/pygobject/pycairo/#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd pycairo
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ cd pycairo
+ python setup.py build
+}
+
+package() {
+ cd pycairo
+ python setup.py install --skip-build --root="${pkgdir}" --optimize='1'
+}
More information about the arch-commits
mailing list