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
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Maintainer: Luca Weiss <luca@z3ntu.xyz>
 | |
| pkgname=py3-httpbin
 | |
| _pyname=httpbin
 | |
| pkgver=0.7.0
 | |
| pkgrel=5
 | |
| pkgdesc="HTTP Request and Response Service"
 | |
| url=https://github.com/postmanlabs/httpbin
 | |
| arch="noarch"
 | |
| license="ISC"
 | |
| depends="py3-flask py3-six py3-raven py3-blinker py3-brotli py3-decorator"
 | |
| makedepends="py3-setuptools"
 | |
| _pypiprefix="${_pyname%${_pyname#?}}"
 | |
| source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz
 | |
| 	0001-Use-Brotli-instead-of-brotlipy.patch
 | |
| 	fix-werkzeug-compat.patch
 | |
| 	"
 | |
| builddir="$srcdir/$_pyname-$pkgver"
 | |
| options="!check" # tests broken
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 setup.py test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 82e80058b58943637e9f8191764cea79bf7a6e40f36069f9b5d3f908585dbef20a03ef070d1f865d350920b6e874a93a48a544b05c14ff4911038ec2c20f6f63  httpbin-0.7.0.tar.gz
 | |
| b39fdb02b642afab12aca14fe45e34af32cafb04c612e0be9b72ea5f4451c7d1ed412199dcbefcfc08cdf6699f61f177a49e9352965cadf2f65771922d73e61a  0001-Use-Brotli-instead-of-brotlipy.patch
 | |
| edc9f9977bca27b24a3a3f69b72536dcd714d074ae74652d4a642627aad42b90359eb87eb1120ace19092bccad06db185b5b1b3d6a1541df01be09fdd9a9018e  fix-werkzeug-compat.patch
 | |
| "
 |