[arch-commits] Commit in python-cairo/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Jan 25 19:51:18 UTC 2020


    Date: Saturday, January 25, 2020 @ 19:51:17
  Author: arojas
Revision: 373931

Update to 1.19.0

Modified:
  python-cairo/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-25 18:58:57 UTC (rev 373930)
+++ PKGBUILD	2020-01-25 19:51:17 UTC (rev 373931)
@@ -1,16 +1,16 @@
 # Maintainer: Angel Velasquez <angvp at archlinux.org>  
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
-pkgbase=python-cairo
-pkgname=(python-cairo python2-cairo)
-pkgver=1.18.2
-pkgrel=3
+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')
-makedepends=(python python2 cairo git)
-_commit=8643af4c10059827056e769c8c7a997bdc3d5a29  # tags/v1.18.2
+depends=(cairo python)
+makedepends=(git)
+_commit=9f486e88597056a61d76364f21b5a911f17e896a  # tags/v1.19.0
 source=("git+https://github.com/pygobject/pycairo/#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -19,24 +19,12 @@
   git describe --tags | sed 's/^v//;s/-/+/g'
 }
 
-
 build() {
   cd pycairo
-  python2 setup.py build
   python setup.py build
 }
 
-package_python2-cairo() {
-  depends=('cairo' 'python2')
-  pkgdesc="Python2 bindings for the cairo graphics library"
-
+package() {
   cd pycairo
-  python2 setup.py install --skip-build --root="${pkgdir}" --optimize='1'
-}
-
-package_python-cairo() {
-  depends=('cairo' 'python')
-
-  cd pycairo
   python setup.py install --skip-build --root="${pkgdir}" --optimize='1'
 }



More information about the arch-commits mailing list