mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +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
		
			
				
	
	
		
			34 lines
		
	
	
		
			989 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			989 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Francesco Colista <fcolista@alpinelinux.org>
 | |
| # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
 | |
| pkgname=py3-netmiko
 | |
| _pkgname=netmiko
 | |
| pkgver=4.1.2
 | |
| pkgrel=1
 | |
| pkgdesc="Multi-vendor library to simplify Paramiko SSH connections to network devices"
 | |
| url="https://github.com/ktbyers/netmiko"
 | |
| arch="noarch"
 | |
| license="MIT"
 | |
| depends="openssh-client py3-yaml py3-paramiko py3-scp python3"
 | |
| makedepends="py3-setuptools"
 | |
| source="$pkgname-$pkgver.tar.gz::https://github.com/ktbyers/$_pkgname/archive/v$pkgver.tar.gz"
 | |
| builddir="$srcdir"/$_pkgname-$pkgver
 | |
| 
 | |
| replaces="py-netmiko" # Backwawrds compatibility
 | |
| provides="py-netmiko=$pkgver-r$pkgrel" # Backwards compatibility
 | |
| 
 | |
| check() {
 | |
| 	python3 setup.py check
 | |
| }
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py build
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| b3ca6f8e6558a82e1a348e36773a5ff915b647162bf41c737f05801d31830c9b254e1f1b152960f983cc7de99164b2e950aedb007dfa1e305accaa007d89f06c  py3-netmiko-4.1.2.tar.gz
 | |
| "
 |