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
		
			
				
	
	
		
			38 lines
		
	
	
		
			894 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			894 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Bart Ribbers <bribbers@disroot.org>
 | |
| # Maintainer: Bart Ribbers <bribbers@disroot.org>
 | |
| pkgname=py3-pytest-mpi
 | |
| pkgver=0.6
 | |
| pkgrel=1
 | |
| pkgdesc="pytest plugin to collect information from tests"
 | |
| url="https://pytest-mpi.readthedocs.io/en/latest/"
 | |
| arch="noarch"
 | |
| license="BSD-3-Clause"
 | |
| depends="
 | |
| 	py3-mpi4py
 | |
| 	python3
 | |
| 	"
 | |
| makedepends="py3-setuptools"
 | |
| checkdepends="
 | |
| 	py3-sybil
 | |
| 	py3-pytest
 | |
| 	"
 | |
| source="https://pypi.python.org/packages/source/p/pytest-mpi/pytest-mpi-$pkgver.tar.gz"
 | |
| options="!check" # Errors everywhere
 | |
| builddir="$srcdir/pytest-mpi-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	PYTHONPATH="$PWD/build/lib" pytest -p pytester
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 6de01394739effdd5cae8e5e519dd4346a6e5ccf4443dc295d0cfd3eb4b8267d2202a01da2f20b6f8fff6fbe18d6e9eb6094f38cb00eba87b336d5e9f26a57c0  pytest-mpi-0.6.tar.gz
 | |
| "
 |