Date: Saturday, October 8, 2022 @ 19:50:46
  Author: felixonmars
Revision: 1324421

archrelease: copy trunk to community-staging-any

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

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

Copied: python-xcffib/repos/community-staging-any/PKGBUILD (from rev 1324420, 
python-xcffib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2022-10-08 19:50:46 UTC (rev 1324421)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Roger Duran <[email protected]>
+
+pkgname=python-xcffib
+pkgver=0.12.1
+pkgrel=1
+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' 'haskell-xcffib')
+checkdepends=('python-pytest' 'xorg-server-xvfb' 'xorg-xeyes')
+source=("https://github.com/tych0/xcffib/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('ff3650d484863921c0ce00bf1ce5d4c43fc919f3f54f1cca06d93a33a183682434294a6db45f113d794316054c4884427519a1c24f9c18f7ced1b1d74695bbd7')
+
+build() {
+  cd xcffib-$pkgver
+  make xcffib GEN=xcffibgen CABAL=true
+  python setup.py build
+}
+
+check() {
+  cd xcffib-$pkgver
+  xvfb-run pytest
+}
+
+package() {
+  cd xcffib-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+}

Reply via email to