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

Morten Linderud foxboron at archlinux.org
Sun Dec 15 15:41:57 UTC 2019


    Date: Sunday, December 15, 2019 @ 15:41:57
  Author: foxboron
Revision: 537743

upgpkg: python-xlib 0.26-1

Modified:
  python-xlib/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-15 15:36:45 UTC (rev 537742)
+++ PKGBUILD	2019-12-15 15:41:57 UTC (rev 537743)
@@ -5,8 +5,8 @@
 
 pkgbase=python-xlib
 pkgname=('python-xlib' 'python2-xlib')
-pkgver=0.25
-pkgrel=3
+pkgver=0.26
+pkgrel=1
 pkgdesc="A fully functional X client library for Python programs"
 url="https://github.com/python-xlib/python-xlib"
 arch=('any')
@@ -14,17 +14,11 @@
 makedepends=('python2' 'python2-setuptools-scm'
              'python' 'python-setuptools-scm')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/python-xlib/python-xlib/archive/$pkgver.tar.gz")
-sha256sums=('376498149e0ecc70a11b33882da68fc587b2f422a2b1fe0d9169fda8b566d14d')
+sha256sums=('26dff6bc4e9e0d1c175a96e9c1d672b18cc0e4ec900c17cad409ce5a628b3dd1')
 
-prepare() {
-  cp -a python-xlib-$pkgver{,-py2}
-}
-
 build(){
   cd "$srcdir/python-xlib-$pkgver"
   python setup.py build
-
-  cd "$srcdir/python-xlib-$pkgver-py2"
   python2 setup.py build
 }
 
@@ -31,7 +25,7 @@
 package_python2-xlib() {
   depends=('python2' 'python2-six')
 
-  cd "python-xlib-$pkgver-py2"
+  cd "python-xlib-$pkgver"
   python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
 }
 



More information about the arch-commits mailing list