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
		
			
				
	
	
		
			28 lines
		
	
	
		
			945 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			945 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
 | |
| # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
 | |
| pkgname=py3-flake8-snippets
 | |
| _pkgname=flake8-snippets
 | |
| pkgver=0.2
 | |
| pkgrel=5
 | |
| pkgdesc="Extension for flake8 which lint for code snippets"
 | |
| url="https://github.com/bitlabstudio/flake8-snippets"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="py3-flake8"
 | |
| makedepends="py3-setuptools"
 | |
| source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
 | |
| builddir="$srcdir"/$_pkgname-$pkgver
 | |
| 
 | |
| replaces="py-flake8-snippets" # Backwards compatibility
 | |
| provides="py-flake8-snippets=$pkgver-r$pkgrel" # Backwards compatibility
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="b7a3a335770912da9c162cb002550c299034e08c40b9b64d352b048650d1fe772508b1a226b873e65b8f6fea856fd2a2099e6bb84bc1e121730d19d32eae5e21  flake8-snippets-0.2.tar.gz"
 |