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

Felix Yan felixonmars at archlinux.org
Tue Mar 21 07:43:05 UTC 2017


    Date: Tuesday, March 21, 2017 @ 07:43:05
  Author: felixonmars
Revision: 217945

upgpkg: python-cairocffi 0.8.0-2

make xcffib a hard dependency (FS#53207)

Modified:
  python-cairocffi/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-21 07:37:16 UTC (rev 217944)
+++ PKGBUILD	2017-03-21 07:43:05 UTC (rev 217945)
@@ -6,13 +6,14 @@
 pkgbase=python-cairocffi
 pkgname=(python-cairocffi python2-cairocffi)
 pkgver=0.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc="cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python bindings and object-oriented API for cairo."
 arch=('any')
 url="http://pythonhosted.org/cairocffi/"
 license=('BSD')
-makedepends=('python-cffi' 'python2-cffi' 'python-setuptools' 'python2-setuptools' 'cairo' 'gdk-pixbuf2')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-xcffib' 'python2-xcffib')
+makedepends=('python-cffi' 'python2-cffi' 'python-setuptools' 'python2-setuptools' 'cairo'
+             'gdk-pixbuf2' 'python-xcffib' 'python2-xcffib')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/SimonSapin/cairocffi/archive/v${pkgver}.tar.gz")
 md5sums=('7f193f6f553ef0b37828b693ef411a65')
 
@@ -39,9 +40,8 @@
 }
 
 package_python-cairocffi() {
-  depends=('python-cffi' 'cairo')
-  optdepends=('python-xcffib: for xcb support'
-              'gdk-pixbuf2: for cairocffi.pixbuf')
+  depends=('python-cffi' 'cairo' 'python-xcffib')
+  optdepends=('gdk-pixbuf2: for cairocffi.pixbuf')
 
   cd "$srcdir/cairocffi-$pkgver"
   python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
@@ -50,9 +50,8 @@
 }
 
 package_python2-cairocffi() {
-  depends=('python2-cffi' 'cairo')
-  optdepends=('python2-xcffib: for xcb support'
-              'gdk-pixbuf2: for cairocffi.pixbuf')
+  depends=('python2-cffi' 'cairo' 'python2-xcffib')
+  optdepends=('gdk-pixbuf2: for cairocffi.pixbuf')
 
   cd "$srcdir/cairocffi-$pkgver-py2"
   python2 setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build


More information about the arch-commits mailing list