mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +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
		
			
				
	
	
		
			31 lines
		
	
	
		
			804 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			804 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 | |
| pkgname=py3-pyfakefs
 | |
| _pkgname=${pkgname#py3-}
 | |
| pkgver=5.0.0
 | |
| pkgrel=0
 | |
| pkgdesc="fake file system that mocks the Python file system modules"
 | |
| options="!check" # flaky tests
 | |
| url="https://github.com/jmcgeheeiv/pyfakefs/"
 | |
| arch="noarch"
 | |
| license="Apache-2.0"
 | |
| depends="python3"
 | |
| makedepends="py3-setuptools"
 | |
| source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
 | |
| builddir="$srcdir"/$_pkgname-$pkgver
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 setup.py test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 807042f7fcffb72590cada04634ec4a1c9bdc901f56012907cef67df2c04e847d23c2f4b6925240664e03d9640d9ebe3f2137efd0d28190de53386bb9a15cca2  pyfakefs-5.0.0.tar.gz
 | |
| "
 |