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

Morten Linderud foxboron at archlinux.org
Thu Apr 9 15:03:04 UTC 2020


    Date: Thursday, April 9, 2020 @ 15:03:04
  Author: foxboron
Revision: 613035

upgpkg: python-xlib 0.27-1

Modified:
  python-xlib/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-09 14:56:16 UTC (rev 613034)
+++ PKGBUILD	2020-04-09 15:03:04 UTC (rev 613035)
@@ -4,8 +4,8 @@
 # Contributor: Pappa <jcberg at gmail.com >
 
 pkgname=python-xlib
-pkgver=0.26
-pkgrel=2
+pkgver=0.27
+pkgrel=1
 pkgdesc="A fully functional X client library for Python programs"
 url="https://github.com/python-xlib/python-xlib"
 arch=('any')
@@ -12,8 +12,9 @@
 license=('LGPL')
 depends=('python-six')
 makedepends=('python-setuptools-scm')
+checkdepends=('python-mock' 'xorg-xauth' 'xorg-server-xvfb' 'python-nose')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/python-xlib/python-xlib/archive/$pkgver.tar.gz")
-sha256sums=('26dff6bc4e9e0d1c175a96e9c1d672b18cc0e4ec900c17cad409ce5a628b3dd1')
+sha256sums=('dc25981eaf7251ddfdce7d7420ec2d77a194793664a3fa2dce892634fdd29f2d')
 
 build(){
   cd "$pkgname-$pkgver"
@@ -20,6 +21,11 @@
   python setup.py build
 }
 
+check(){
+  cd "$pkgname-$pkgver"
+  python ./runtests.py
+}
+
 package_python-xlib() {
   cd "$pkgname-$pkgver"
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build



More information about the arch-commits mailing list