Date: Monday, January 5, 2015 @ 11:19:22 Author: fyan Revision: 125393
archrelease: copy trunk to community-i686, community-x86_64 Added: python-xcffib/repos/community-i686/ python-xcffib/repos/community-i686/PKGBUILD (from rev 125392, python-xcffib/trunk/PKGBUILD) python-xcffib/repos/community-x86_64/ python-xcffib/repos/community-x86_64/PKGBUILD (from rev 125392, python-xcffib/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: python-xcffib/repos/community-i686/PKGBUILD (from rev 125392, python-xcffib/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-01-05 10:19:22 UTC (rev 125393) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Roger Duran <rogerdu...@gmail.com> + +pkgbase=python-xcffib +pkgname=(python-xcffib python2-xcffib) +pkgver=0.1.9 +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=('bf9833c670c9dd0049e63cb7d58b536f') + +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-x86_64/PKGBUILD (from rev 125392, python-xcffib/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-01-05 10:19:22 UTC (rev 125393) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Roger Duran <rogerdu...@gmail.com> + +pkgbase=python-xcffib +pkgname=(python-xcffib python2-xcffib) +pkgver=0.1.9 +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=('bf9833c670c9dd0049e63cb7d58b536f') + +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 +}