[arch-commits] Commit in python2-cairo/repos (2 files)

Jelle van der Waa jelle at gemini.archlinux.org
Tue Jul 20 08:35:48 UTC 2021


    Date: Tuesday, July 20, 2021 @ 08:35:48
  Author: jelle
Revision: 979426

archrelease: copy trunk to community-x86_64

Added:
  python2-cairo/repos/community-x86_64/
  python2-cairo/repos/community-x86_64/PKGBUILD
    (from rev 979425, python2-cairo/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python2-cairo/repos/community-x86_64/PKGBUILD (from rev 979425, python2-cairo/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-07-20 08:35:48 UTC (rev 979426)
@@ -0,0 +1,30 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>  
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=python2-cairo
+pkgver=1.18.2
+pkgrel=4
+pkgdesc="Python bindings for the cairo graphics library"
+arch=('x86_64')
+url="https://pycairo.readthedocs.io/en/latest/"
+license=('LGPL2.1' 'MPL')
+depends=(cairo python2)
+makedepends=(git)
+_commit=8643af4c10059827056e769c8c7a997bdc3d5a29  # tags/v1.18.2
+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
+  python2 setup.py build
+}
+
+package() {
+  cd pycairo
+  python2 setup.py install --skip-build --root="${pkgdir}" --optimize='1'
+}




More information about the arch-commits mailing list