Date: Wednesday, May 10, 2023 @ 20:58:08
Author: arojas
Revision: 1459828
archrelease: copy trunk to community-any
Added:
pychess/repos/community-any/PKGBUILD
(from rev 1459827, pychess/trunk/PKGBUILD)
Deleted:
pychess/repos/community-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 33 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-10 20:58:00 UTC (rev 1459827)
+++ PKGBUILD 2023-05-10 20:58:08 UTC (rev 1459828)
@@ -1,29 +0,0 @@
-# Maintainer: Alexander F. Rødseth <[email protected]>
-# Contributor: Allan McRae <[email protected]>
-# Contributor: Alexander Fehr <[email protected]>
-
-pkgname=pychess
-pkgver=1.0.3
-pkgrel=4
-pkgdesc='Chess client'
-arch=(any)
-url='https://github.com/pychess/pychess'
-license=(GPL)
-depends=(gst-plugins-base gtksourceview3 python-cairo python-gobject
- python-ptyprocess python-psutil python-sqlalchemy1.3 python-pexpect
- python-websockets)
-# /usr/bin/spike is mistaken for a chess engine
-conflicts=(spike)
-makedepends=(git python-pexpect xorg-server-xvfb)
-source=("git+$url#commit=0faf9eb9fecc7f26bf92b3549bf17ed12e40fc2f") # tag:
1.0.3
-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
-}
Copied: pychess/repos/community-any/PKGBUILD (from rev 1459827,
pychess/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-10 20:58:08 UTC (rev 1459828)
@@ -0,0 +1,33 @@
+# Maintainer: Alexander F. Rødseth <[email protected]>
+# Contributor: Allan McRae <[email protected]>
+# Contributor: Alexander Fehr <[email protected]>
+
+pkgname=pychess
+pkgver=1.0.4
+pkgrel=1
+pkgdesc='Chess client'
+arch=(any)
+url='https://github.com/pychess/pychess'
+license=(GPL)
+depends=(gst-plugins-base gtksourceview3 python-cairo python-gobject
+ python-ptyprocess python-psutil python-sqlalchemy1.3 python-pexpect
+ python-websockets)
+# /usr/bin/spike is mistaken for a chess engine
+conflicts=(spike)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+source=(https://github.com/pychess/pychess/releases/download/$pkgver/pychess-$pkgver.tar.gz)
+sha256sums=('f563a89404746b037f7b3145100a024b7cad83fe1383ad41f55b216c1d09bc5c')
+
+build() {
+ cd pychess-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd pychess-$pkgver
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # FS#59882
+ find "$pkgdir" -wholename 'external/pexpect' -type d -delete
+}