[arch-commits] Commit in python-xlib/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Dec 25 19:00:27 UTC 2016
Date: Sunday, December 25, 2016 @ 19:00:26
Author: foutrelis
Revision: 202318
archrelease: copy trunk to community-staging-any
Added:
python-xlib/repos/community-staging-any/
python-xlib/repos/community-staging-any/PKGBUILD
(from rev 202317, python-xlib/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-xlib/repos/community-staging-any/PKGBUILD (from rev 202317, python-xlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2016-12-25 19:00:26 UTC (rev 202318)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jeff Mickey <jeff at archlinux.org>
+# Contributor: Pappa < jcberg @ gmail . com >
+
+pkgname=('python-xlib' 'python2-xlib')
+pkgbase=python-xlib
+pkgver=0.18
+pkgrel=2
+pkgdesc="A fully functional X client library for Python programs"
+url="https://github.com/python-xlib/python-xlib"
+arch=('any')
+license=('GPL')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://github.com/python-xlib/python-xlib/releases/download/$pkgver/python-xlib-$pkgver.tar.bz2")
+sha256sums=('a4b05187cc850e49c1c8c683d89dd2a93fcbf07a7029d1db929a4c1591617ad7')
+
+package_python2-xlib() {
+ depends=('python2')
+
+ cd "$srcdir"/python-xlib-$pkgver
+ python2 setup.py install --root="$pkgdir"
+}
+
+package_python-xlib() {
+ depends=('python')
+
+ cd "$srcdir"/python-xlib-$pkgver
+ python setup.py install --root="$pkgdir"
+}
More information about the arch-commits
mailing list