mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
		
			
				
	
	
		
			32 lines
		
	
	
		
			965 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			965 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
 | |
| # Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
 | |
| pkgname=py3-pytest-qt
 | |
| _pkgorig=pytest-qt
 | |
| pkgver=4.2.0
 | |
| pkgrel=1
 | |
| pkgdesc="pytest plugin for Qt (PyQt5/PyQt6 and PySide2/PySide6) application testing"
 | |
| url="https://github.com/pytest-dev/pytest-qt"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="python3"
 | |
| checkdepends="python3-dev py3-pytest py3-qt5 xvfb-run"
 | |
| makedepends="py3-setuptools_scm"
 | |
| source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/pytest-qt/pytest-qt-$pkgver.tar.gz"
 | |
| builddir="$srcdir/$_pkgorig-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	PYTHONPATH="$PWD"/src xvfb-run pytest -vv -k 'not test_wait_window'
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 57e175bada0e33101eeb7d85579f6e804658d74168714b117b3a1ba564826405e70860b258caf28c917ddca7acd1842de2133a55b342862762fc37ca1a758b69  py3-pytest-qt-4.2.0.tar.gz
 | |
| "
 |