diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 5 deletions
@@ -1,9 +1,12 @@ pkgbase = python-opengl-accelerate pkgdesc = This is the Cython-coded accelerator module for PyOpenGL 3.x pkgver = 3.1.7 - pkgrel = 1 + pkgrel = 2 arch = any license = BSD + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel depends = python depends = python-opengl options = !emptydirs @@ -1,7 +1,7 @@ # Maintainer: Tobias Bachmann <tobachmann@gmx.de> pkgname=python-opengl-accelerate pkgver=3.1.7 -pkgrel=1 +pkgrel=2 pkgdesc="This is the Cython-coded accelerator module for PyOpenGL 3.x" _name=PyOpenGL-accelerate arch=('any') @@ -9,7 +9,7 @@ url="" license=('BSD') groups=() depends=('python' 'python-opengl') -makedepends=() +makedepends=(python-build python-installer python-wheel) provides=() conflicts=() replaces=() @@ -22,12 +22,12 @@ sha256sums=('2b123621273a939f7fd2ec227541e399f9b5d4e815d69ae0bdb1b6c70a293680') build() { cd "$srcdir/${_name}-${pkgver}" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$srcdir/${_name}-${pkgver}" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + python -m installer --destdir="${pkgdir}" dist/*.whl } # vim:set ts=2 sw=2 et: |