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
		
			
				
	
	
		
			35 lines
		
	
	
		
			898 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			898 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Bart Ribbers <bribbers@disroot.org>
 | |
| # Maintainer: Bart Ribbers <bribbers@disroot.org>
 | |
| pkgname=py3-fastdiff
 | |
| pkgver=0.3.0
 | |
| pkgrel=2
 | |
| pkgdesc="A fast native implementation of diff algorithm with a pure Python fallback"
 | |
| url="https://github.com/syrusakbary/fastdiff"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="python3"
 | |
| makedepends="
 | |
| 	py3-pytest-runner
 | |
| 	py3-setuptools
 | |
| 	"
 | |
| checkdepends="py3-pytest"
 | |
| source="https://pypi.python.org/packages/source/f/fastdiff/fastdiff-$pkgver.tar.gz"
 | |
| options="!check" # Requires unpackaged native modules
 | |
| builddir="$srcdir/fastdiff-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	PYTHONPATH="$PWD/build/lib" pytest
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| dae82cb779dd869cef4e4e258e69f1d0cc2e4b177514fb4136f42f78273f20be45e71fad987c5b5632e95fa3a3bf61f5983f53c17d00b67cb079b403327e63ce  fastdiff-0.3.0.tar.gz
 | |
| "
 |