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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 18:17:32 UTC 2020


    Date: Monday, November 9, 2020 @ 18:17:32
  Author: foutrelis
Revision: 747937

archrelease: copy trunk to community-staging-any

Added:
  python-xcffib/repos/community-staging-any/
  python-xcffib/repos/community-staging-any/PKGBUILD
    (from rev 747935, python-xcffib/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-xcffib/repos/community-staging-any/PKGBUILD (from rev 747935, python-xcffib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 18:17:32 UTC (rev 747937)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Roger Duran <rogerduran at gmail.com>
+
+pkgname=python-xcffib
+pkgver=0.10.1
+pkgrel=2
+pkgdesc="Python3 drop in replacement for xpyb, an XCB python binding"
+arch=('any')
+url="https://pypi.python.org/pypi/xcffib"
+license=('Apache')
+depends=('python-six' 'python-cffi' 'libxcb')
+makedepends=('python-setuptools' 'python-cffi' 'python-six' 'libxcb' 'haskell-xcffib')
+checkdepends=('python-nose' 'xorg-server-xvfb' 'xorg-xeyes')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tych0/xcffib/archive/v$pkgver.tar.gz")
+sha512sums=('62bf10d35b1afc42f91e4f404a2eba6355ca55567dc1a1e8f5dc5b49bec8e1713637ada1c299fab638df1f729085bba3c64a9868ad85486574fa4689745c9d04')
+
+build() {
+  cd "$srcdir"/xcffib-$pkgver
+  make xcffib GEN=xcffibgen CABAL=true
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/xcffib-$pkgver
+  xvfb-run nosetests3
+}
+
+package() {
+  cd xcffib-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+}



More information about the arch-commits mailing list