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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 09:22:22 UTC 2019


    Date: Monday, November 4, 2019 @ 09:22:20
  Author: felixonmars
Revision: 523869

archrelease: copy trunk to community-staging-any

Added:
  pychess/repos/community-staging-any/
  pychess/repos/community-staging-any/PKGBUILD
    (from rev 523867, pychess/trunk/PKGBUILD)

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

Copied: pychess/repos/community-staging-any/PKGBUILD (from rev 523867, pychess/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 09:22:20 UTC (rev 523869)
@@ -0,0 +1,32 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk at gmail.com>
+
+pkgname=pychess
+pkgver=1.0.0
+pkgrel=4
+pkgdesc='Chess client'
+arch=(any)
+url='http://pychess.org/'
+license=(GPL)
+depends=(gst-plugins-base gtksourceview3 python-cairo python-gobject
+         python-ptyprocess python-psutil python-sqlalchemy python-pexpect
+         python-websockets)
+# /usr/bin/spike is mistaken for a chess engine
+conflicts=(spike)
+makedepends=(git python-pexpect xorg-server-xvfb)
+source=("git+https://github.com/$pkgname/$pkgname#tag=$pkgver")
+sha256sums=('SKIP')
+
+package() {
+  cd pychess
+
+  # Can only be packaged with X available...
+  xvfb-run python setup.py install --prefix=/usr --root="$pkgdir"
+
+  # FS#59882
+  find "$pkgdir" -wholename 'external/pexpect' -type d -delete
+}
+
+# getver: raw.githubusercontent.com/pychess/pychess/master/lib/pychess/__init__.py
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list