mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			912 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			912 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Jacek Pruciak <alpine@juniorjpdj.pl>
 | |
| # Maintainer: Jacek Pruciak <alpine@juniorjpdj.pl>
 | |
| pkgname=py3-pytest-subtests
 | |
| pkgver=0.10.0
 | |
| pkgrel=0
 | |
| pkgdesc="pytest plugin for subTest() support and subtests fixture"
 | |
| url="https://github.com/pytest-dev/pytest-subtests/"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="python3 py3-pytest"
 | |
| makedepends="py3-setuptools py3-setuptools_scm"
 | |
| checkdepends="py3-pytest-xdist"
 | |
| source="https://files.pythonhosted.org/packages/source/p/pytest-subtests/pytest-subtests-$pkgver.tar.gz"
 | |
| builddir="$srcdir/pytest-subtests-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	PYTHONPATH="$builddir/build/lib:$PYTHONPATH" pytest -v
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 228b416b6a34386c8d6b393199f8683fdc7b015ce777a7251a472e704519065f6d2993efb110c35e090df1ac51023a1fdd3b5f85d2f7d6d6cbcb8677c459e532  pytest-subtests-0.10.0.tar.gz
 | |
| "
 |