mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			1005 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1005 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Duncan Bellamy <dunk@denkimushi.com>
 | |
| # Maintainer: Duncan Bellamy <dunk@denkimushi.com>
 | |
| pkgname=py3-softlayer
 | |
| pkgver=6.1.4
 | |
| pkgrel=0
 | |
| pkgdesc="library for SoftLayer's API"
 | |
| url="https://github.com/softlayer/softlayer-python"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="py3-click py3-prompt_toolkit py3-prettytable3 py3-pygments py3-requests py3-rich py3-urllib3"
 | |
| makedepends="py3-setuptools"
 | |
| checkdepends="py3-pytest py3-pytest-mock py3-testtools py3-softlayer-zeep python3-tkinter"
 | |
| source="$pkgname-$pkgver.tar.gz::https://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz"
 | |
| builddir="$srcdir/softlayer-python-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 -m pytest
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| 
 | |
| 	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 10492d465fa41706e137b0856394267f706a77cd89001c45fd9216b391cec234f7f817c6e1b250bad15bb4cdba93e1ef5f3f1cbeb6af4f16c1ca3c514b839e9e  py3-softlayer-6.1.4.tar.gz
 | |
| "
 |