mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Duncan Bellamy <dunk@denkimushi.com>
 | |
| # Maintainer: Duncan Bellamy <dunk@denkimushi.com>
 | |
| pkgname=py3-asyncssh
 | |
| _relname=${pkgname#"py3-"}
 | |
| pkgver=2.13.1
 | |
| pkgrel=0
 | |
| pkgdesc="provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python 3.6+ asyncio framework"
 | |
| url="https://asyncssh.readthedocs.io/en/latest/"
 | |
| # ppc64le: failed test_stdin_stream test
 | |
| arch="noarch !ppc64le"
 | |
| license="EPL-2.0"
 | |
| depends="python3 py3-cryptography py3-typing-extensions"
 | |
| makedepends="py3-gpep517 py3-installer py3-setuptools py3-wheel"
 | |
| checkdepends="py3-bcrypt py3-openssl py3-pytest"
 | |
| source="https://files.pythonhosted.org/packages/source/a/asyncssh/asyncssh-$pkgver.tar.gz"
 | |
| builddir="$srcdir/$_relname-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	gpep517 build-wheel \
 | |
| 		--wheel-dir dist \
 | |
| 		--output-fd 3 3>&1 >&2
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 -m venv --clear --without-pip --system-site-packages testenv
 | |
| 	testenv/bin/python3 -m installer dist/*.whl
 | |
| 	testenv/bin/python3 -m pytest \
 | |
| 		--deselect tests/test_x11.py \
 | |
| 		--deselect tests/test_connection.py \
 | |
| 		--deselect tests/test_encryption.py
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 -m installer -d "$pkgdir" dist/*.whl
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 0c027283681a24058dbe18bad5289488d65d5ebecdda34f38ad63a6d84b54fd457475ada9ab7269925ced5eacbd22f27fea739ace99bd83ca9ce8f9b2d5f0714  asyncssh-2.13.1.tar.gz
 | |
| "
 |