[arch-commits] Commit in python-xlib/repos/community-any (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Thu Apr 9 15:03:14 UTC 2020
Date: Thursday, April 9, 2020 @ 15:03:13
Author: foxboron
Revision: 613036
archrelease: copy trunk to community-any
Added:
python-xlib/repos/community-any/PKGBUILD
(from rev 613035, python-xlib/trunk/PKGBUILD)
Deleted:
python-xlib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++--------------------------
1 file changed, 32 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-09 15:03:04 UTC (rev 613035)
+++ PKGBUILD 2020-04-09 15:03:13 UTC (rev 613036)
@@ -1,26 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jeff Mickey <jeff at archlinux.org>
-# Contributor: Pappa <jcberg at gmail.com >
-
-pkgname=python-xlib
-pkgver=0.26
-pkgrel=2
-pkgdesc="A fully functional X client library for Python programs"
-url="https://github.com/python-xlib/python-xlib"
-arch=('any')
-license=('LGPL')
-depends=('python-six')
-makedepends=('python-setuptools-scm')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/python-xlib/python-xlib/archive/$pkgver.tar.gz")
-sha256sums=('26dff6bc4e9e0d1c175a96e9c1d672b18cc0e4ec900c17cad409ce5a628b3dd1')
-
-build(){
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-package_python-xlib() {
- cd "$pkgname-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-xlib/repos/community-any/PKGBUILD (from rev 613035, python-xlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-09 15:03:13 UTC (rev 613036)
@@ -0,0 +1,32 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+# Contributor: Pappa <jcberg at gmail.com >
+
+pkgname=python-xlib
+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')
+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=('dc25981eaf7251ddfdce7d7420ec2d77a194793664a3fa2dce892634fdd29f2d')
+
+build(){
+ cd "$pkgname-$pkgver"
+ 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