mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
 | |
| # Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
 | |
| pkgname=py3-utils
 | |
| _pkgname=python-utils
 | |
| pkgver=3.5.2
 | |
| pkgrel=0
 | |
| pkgdesc="Convenient utilities not included with the standard Python install"
 | |
| url="https://github.com/WoLpH/python-utils"
 | |
| arch="noarch !s390x" # fails tests
 | |
| license="BSD-3-Clause"
 | |
| depends="python3"
 | |
| makedepends="py3-setuptools"
 | |
| checkdepends="py3-pytest py3-pytest-asyncio py3-loguru"
 | |
| source="
 | |
| 	https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
 | |
| 
 | |
| 	pytest.patch
 | |
| 	"
 | |
| 
 | |
| builddir="$srcdir/$_pkgname-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	pytest
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 2e36bbb2e43591744c63ea972b7f361138694eb32510643ea88e8d757882379e3aec247c2fc4d5c67876939b71d564570a975700728c79f9db0cc4fcbc1605e7  python-utils-3.5.2.tar.gz
 | |
| 8eb5c8a924e4251744e61f7a662496fb5c65d965b1e11596314ac2b72d6643a5496cf264a24ef93732bef1e7cc88ba0794eaf344477704486af75d2930ecb0f9  pytest.patch
 | |
| "
 |