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
		
			
				
	
	
		
			31 lines
		
	
	
		
			849 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			849 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Bart Ribbers <bribbers@disroot.org>
 | |
| # Maintainer: Bart Ribbers <bribbers@disroot.org>
 | |
| pkgname=py3-url-normalize
 | |
| pkgver=1.4.3
 | |
| pkgrel=2
 | |
| pkgdesc="URL normalization for Python"
 | |
| url="https://github.com/niksite/url-normalize"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="python3"
 | |
| makedepends="py3-setuptools"
 | |
| checkdepends="py3-pytest"
 | |
| source="https://pypi.python.org/packages/source/u/url-normalize/url-normalize-$pkgver.tar.gz"
 | |
| # No setup.py in Github package and no tests in PyPi package
 | |
| options="!check"
 | |
| builddir="$srcdir/url-normalize-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	pytest
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="12916548a9a1994c43dcd8ccfab6b5d68a72924e8c2fe4691fa00d853e3f860f7e45e982ff77a259d6767ce5ab3971656ab92b39c16bc176a9ed0ec2a0a8c302  url-normalize-1.4.3.tar.gz"
 |