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
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
 | |
| # Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
 | |
| pkgname=py3-progressbar2
 | |
| _pkgname=progressbar2
 | |
| pkgver=4.2.0
 | |
| pkgrel=0
 | |
| pkgdesc="Text progress bar library for Python"
 | |
| url="https://github.com/WoLpH/python-progressbar"
 | |
| arch="noarch !s390x" # py3-utils
 | |
| license="BSD-3-Clause"
 | |
| replaces="py-progressbar" # for backwards compatibility
 | |
| provides="py-progressbar=$pkgver-r$pkgrel" # for backwards compatibility
 | |
| depends="python3 py3-utils py3-freezegun"
 | |
| makedepends="py3-setuptools"
 | |
| checkdepends="py3-pytest py3-pytest-cov"
 | |
| 
 | |
| source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
 | |
| 
 | |
| builddir="$srcdir/$_pkgname-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	PYTHONPATH="$PWD" pytest
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| d49c154e48bd730c2a7916ed53272ff20cb6fac8c9752734cf645d4701ffcdf25309bf493d03fdc5b6072a85b5f758332fa7448f307d4acc001ad4ab36303a68  progressbar2-4.2.0.tar.gz
 | |
| "
 |