[arch-commits] Commit in python-xcffib/repos (4 files)

Felix Yan fyan at archlinux.org
Tue Feb 17 02:18:35 UTC 2015


    Date: Tuesday, February 17, 2015 @ 03:18:35
  Author: fyan
Revision: 127825

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  python-xcffib/repos/community-testing-i686/
  python-xcffib/repos/community-testing-i686/PKGBUILD
    (from rev 127824, python-xcffib/trunk/PKGBUILD)
  python-xcffib/repos/community-testing-x86_64/
  python-xcffib/repos/community-testing-x86_64/PKGBUILD
    (from rev 127824, python-xcffib/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: python-xcffib/repos/community-testing-i686/PKGBUILD (from rev 127824, python-xcffib/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-02-17 02:18:35 UTC (rev 127825)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Roger Duran <rogerduran at gmail.com>
+
+pkgbase=python-xcffib
+pkgname=(python-xcffib python2-xcffib)
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
+arch=('i686' 'x86_64')
+url="https://pypi.python.org/pypi/xcffib"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 'python2-cffi'
+             'python-six' 'python2-six' 'libxcb')
+source=("https://pypi.python.org/packages/source/x/xcffib/xcffib-$pkgver.tar.gz")
+md5sums=('8242f543ff678621687dad01538259b8')
+
+prepare() {
+  cp -a xcffib-$pkgver{,-py2}
+}
+
+package_python-xcffib() {
+  depends=('python-six' 'python-cffi' 'libxcb')
+
+  cd "$srcdir/xcffib-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-xcffib() {
+  depends=('python2-six' 'python2-cffi' 'libxcb')
+
+  cd "$srcdir/xcffib-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}

Copied: python-xcffib/repos/community-testing-x86_64/PKGBUILD (from rev 127824, python-xcffib/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-02-17 02:18:35 UTC (rev 127825)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Roger Duran <rogerduran at gmail.com>
+
+pkgbase=python-xcffib
+pkgname=(python-xcffib python2-xcffib)
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
+arch=('i686' 'x86_64')
+url="https://pypi.python.org/pypi/xcffib"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-cffi' 'python2-cffi'
+             'python-six' 'python2-six' 'libxcb')
+source=("https://pypi.python.org/packages/source/x/xcffib/xcffib-$pkgver.tar.gz")
+md5sums=('8242f543ff678621687dad01538259b8')
+
+prepare() {
+  cp -a xcffib-$pkgver{,-py2}
+}
+
+package_python-xcffib() {
+  depends=('python-six' 'python-cffi' 'libxcb')
+
+  cd "$srcdir/xcffib-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-xcffib() {
+  depends=('python2-six' 'python2-cffi' 'libxcb')
+
+  cd "$srcdir/xcffib-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}



More information about the arch-commits mailing list