blob: b902454f89633cc4d50788166bbdb84703029db4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
pkgname='python-paramiko-expect'
_module='paramiko-expect'
_src_folder='paramiko-expect-0.3.5'
pkgver='0.3.5'
pkgrel=2
pkgdesc="An expect-like extension for the Paramiko SSH library"
url="https://github.com/fgimian/paramiko-expect"
depends=('python'
'python-paramiko>=1.10.1'
)
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/${_module//-/_}/${_module}-$pkgver.tar.gz")
sha256sums=('45e107bc16ed68bd2f8878c3838be748d2e7969313dcb1bba9123eb2f603ad01')
build() {
cd "${srcdir}/${_src_folder}"
python setup.py build
}
package() {
cd "${srcdir}/${_src_folder}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|