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
		
			
				
	
	
		
			34 lines
		
	
	
		
			941 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			941 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Maintainer: Valery Kartel <valery.kartel@gmail.com>
 | |
| # Contributor: Valery Kartel <valery.kartel@gmail.com>
 | |
| pkgname=py3-httpretty
 | |
| pkgver=1.1.4
 | |
| pkgrel=1
 | |
| pkgdesc="HTTP client mocking tool for Python"
 | |
| url="https://github.com/gabrielfalcao/HTTPretty"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="python3"
 | |
| makedepends="python3-dev py3-setuptools"
 | |
| source="https://files.pythonhosted.org/packages/source/h/httpretty/httpretty-$pkgver.tar.gz"
 | |
| replaces="py-httpretty"
 | |
| provides="py-httpretty=$pkgver-r$pkgrel"
 | |
| builddir="$srcdir"/httpretty-$pkgver
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| 	# Fix permissions on .EGG-INFO
 | |
| 	chmod 644 "$pkgdir"/usr/lib/python3*/site-packages/*.egg-info/*
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 4daceea4f30ce181e871167d304bd7af9d504364f55d42f8025770f2efe7e833d018aed681c8733d653d4de90db3433e999c56bccd4675f81e66d1cc4023e418  httpretty-1.1.4.tar.gz
 | |
| "
 |