mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +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
		
			
				
	
	
		
			32 lines
		
	
	
		
			952 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			952 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Bart Ribbers <bribbers@disroot.org>
 | |
| # Maintainer: Bart Ribbers <bribbers@disroot.org>
 | |
| pkgname=py3-requests-futures
 | |
| pkgver=1.0.0
 | |
| pkgrel=3
 | |
| pkgdesc="Asynchronous Python HTTP for Humans"
 | |
| url="https://github.com/ross/requests-futures"
 | |
| arch="noarch"
 | |
| license="Apache-2.0"
 | |
| depends="python3 py3-requests"
 | |
| makedepends="py3-setuptools"
 | |
| checkdepends="py3-pytest"
 | |
| source="https://pypi.python.org/packages/source/r/requests-futures/requests-futures-$pkgver.tar.gz"
 | |
| # Network is required for tests
 | |
| # Some tests will fail until fixed: ttps://github.com/ross/requests-futures/issues/94
 | |
| options="net !check"
 | |
| builddir="$srcdir/requests-futures-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	pytest
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="64b39ed99712df8f1be74b2de97500d89711c0d5d3ba0f2b64e3bab755d0bf82029d7ced13b755ce12a2b86f3b673305b651ba6ff4cfb60aed40c8d5876f202c  requests-futures-1.0.0.tar.gz"
 |