blob: 61568bf07c3d1ff2edde4f0fd37bb9143eeeba2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Kef Schecter <furrykef@gmail.com>
pkgname=pyboy
pkgver=2.4.1
pkgrel=1
pkgdesc='A scriptable Game Boy emulator written in Python'
arch=('x86_64')
url='https://github.com/Baekalfen/PyBoy'
license=('LGPL-3.0-only')
depends=('python-numpy' 'python-pysdl2')
makedepends=('cython' 'python-build' 'python-installer' 'python-wheel')
optdepends=('python-opengl: OpenGL support'
'python-pillow: screen/video capture support')
#checkdepends=('python-cryptography' 'python-filelock' 'python-pytest' 'python-pytest-lazy-fixtures' 'python-pytest-xdist')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Baekalfen/PyBoy/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('90cb9c20464b27660d972f7c7df412ba6e09bd0db9fe34a307784a684442d6c68a849f1bb213312eca4832f0ed34293e2dc709828f708bad0c33a0d8fee55863')
build() {
cd "PyBoy-$pkgver"
python -m build --wheel --no-isolation
}
# Skip tests because they take too long, are disruptive, and require a GUI session
#check() {
# cd "PyBoy-$pkgver"
# pytest
#}
package() {
cd "PyBoy-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|