[arch-commits] Commit in pychess/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Tue Aug 14 13:35:21 UTC 2018
Date: Tuesday, August 14, 2018 @ 13:35:20
Author: arodseth
Revision: 371515
upgpkg: pychess 0.99.2-1
Modified:
pychess/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-14 13:22:45 UTC (rev 371514)
+++ PKGBUILD 2018-08-14 13:35:20 UTC (rev 371515)
@@ -10,16 +10,17 @@
arch=('any')
url='http://pychess.org/'
license=('GPL')
-# does not work with python 3.7, until fixed by upstream
-depends=('python<3.7' gst-plugins-base gtksourceview3 python-cairo python-gobject
+depends=(gst-plugins-base gtksourceview3 python-cairo python-gobject
python-ptyprocess python-psutil python-sqlalchemy)
-source=("https://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('dff0808a20e5120ff1f293452d6f7b1e9898920ae0a4498a97c3dcea0c5b1b60')
+makedepends=(git python-pexpect xorg-server-xvfb)
+# commit 6179d56 contains a fix for Python 3.7. 0.99.3 will be out soon.
+source=("git+https://github.com/$pkgname/$pkgname#commit=6179d56")
+sha256sums=('SKIP')
package() {
- cd "pychess-$pkgver"
+ cd pychess
- python setup.py install --prefix=/usr --root="$pkgdir"
+ xvfb-run python setup.py install --prefix=/usr --root="$pkgdir"
}
# getver: raw.githubusercontent.com/pychess/pychess/master/lib/pychess/__init__.py
More information about the arch-commits
mailing list