Date: Sunday, November 17, 2019 @ 16:25:21 Author: ffy00 Revision: 530041
archrelease: copy trunk to community-any Added: lutris/repos/community-any/PKGBUILD (from rev 530040, lutris/trunk/PKGBUILD) Deleted: lutris/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 48 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-17 16:24:41 UTC (rev 530040) +++ PKGBUILD 2019-11-17 16:25:21 UTC (rev 530041) @@ -1,40 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> -# Contributor: Frederik “Freso” S. Olesen <freso...@gmail.com> -# Contributor: Maxime Gauduin <aluc...@archlinux.org> - -pkgname=lutris -pkgver=0.5.3 -pkgrel=2 -pkgdesc='Open Gaming Platform' -arch=('any') -url='https://lutris.net' -license=('GPL3') -depends=('python-gobject' 'python-yaml' 'python-evdev' 'gtk3' 'glib2' 'psmisc' 'cabextract' 'unzip' 'p7zip' 'curl' 'xorg-xrandr' - 'python-pillow' 'python-requests' 'gnome-desktop' 'webkit2gtk' 'gvfs' 'mesa-demos') -makedepends=('python-setuptools') -checkdepends=('xorg-server-xvfb' 'python-nose-cover3' 'wine' 'xterm') -optdepends=('wine: Windows support' - 'vulkan-icd-loader: Vulkan support' - 'lib32-vulkan-icd-loader: Vulkan support') -makedepends=('python-setuptools') -source=("$pkgname-$pkgver.tar.gz::https://github.com/lutris/lutris/archive/v$pkgver.tar.gz") -sha512sums=('c48be1cf1efada290847d86876dae40346142b041119e6c6733e41e27c0277771647992e5475bfa3a71b639a0d9ff2e2ca3527612cc1a723aa0bac46960606c9') - -build() { - cd $pkgname-$pkgver - - python setup.py build -} - -check() { - cd $pkgname-$pkgver - - xvfb-run nosetests --cover-erase --with-xunit --xunit-file=nosetests.xml --with-coverage --cover-package=lutris --cover-xml-file=coverage.xml -} - -package() { - cd $pkgname-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} - Copied: lutris/repos/community-any/PKGBUILD (from rev 530040, lutris/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-17 16:25:21 UTC (rev 530041) @@ -0,0 +1,48 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> +# Contributor: Frederik “Freso” S. Olesen <freso...@gmail.com> +# Contributor: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=lutris +pkgver=0.5.3 +pkgrel=3 +pkgdesc='Open Gaming Platform' +arch=('any') +url='https://lutris.net' +license=('GPL3') +depends=('python-gobject' 'python-yaml' 'python-evdev' 'gtk3' 'glib2' 'psmisc' 'cabextract' 'unzip' 'p7zip' 'curl' 'xorg-xrandr' + 'python-pillow' 'python-requests' 'gnome-desktop' 'webkit2gtk' 'gvfs' 'mesa-demos') +makedepends=('python-setuptools') +checkdepends=('xorg-server-xvfb' 'python-nose-cover3' 'wine' 'xterm') +optdepends=('wine: Windows support' + 'vulkan-icd-loader: Vulkan support' + 'lib32-vulkan-icd-loader: Vulkan support') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::https://github.com/lutris/lutris/archive/v$pkgver.tar.gz" + 'fix-python3.8.patch::https://github.com/lutris/lutris/commit/2f7c3b1aefc96608d814e2ad37b6c49c687fae1b.patch') +sha512sums=('c48be1cf1efada290847d86876dae40346142b041119e6c6733e41e27c0277771647992e5475bfa3a71b639a0d9ff2e2ca3527612cc1a723aa0bac46960606c9' + '279fa1d9868642f5a3679db3ad0252b197a7907fae61d68bd7ce2bf42636f11e0ba0bfa1f94df068efd7b45571c2a38751b66c7cb28acdff9e162a33f3337978') + +prepare() { + cd $pkgname-$pkgver + + patch -p1 < ../fix-python3.8.patch +} + +build() { + cd $pkgname-$pkgver + + python setup.py build +} + +check() { + cd $pkgname-$pkgver + + xvfb-run nosetests --cover-erase --with-xunit --xunit-file=nosetests.xml --with-coverage --cover-package=lutris --cover-xml-file=coverage.xml +} + +package() { + cd $pkgname-$pkgver + + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} +