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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:13:06 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:13:05
  Author: felixonmars
Revision: 1058867

archrelease: copy trunk to community-staging-any

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

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

Copied: python-xcffib/repos/community-staging-any/PKGBUILD (from rev 1058865, python-xcffib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:13:05 UTC (rev 1058867)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Roger Duran <rogerduran at gmail.com>
+
+pkgname=python-xcffib
+pkgver=0.11.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=("https://github.com/tych0/xcffib/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('7fa2b6aea16375311c09f2daebab47db6ecb2f64ad39a7657d88bf3bc21dc06e29a91b0e9376bf41518161847d06e6cd36fb672ea7d62da6c128913c66d26f86')
+
+build() {
+  cd xcffib-$pkgver
+  make xcffib GEN=xcffibgen CABAL=true
+  python setup.py build
+}
+
+check() {
+  cd 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