mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 02:37:15 +08:00
python-paramiko: update to 2.4.0
This commit is contained in:
parent
eb45b13fe8
commit
43debf4ecf
@ -1,6 +1,6 @@
|
|||||||
pkgbase=python-paramiko
|
pkgbase=python-paramiko
|
||||||
pkgname=('python3-paramiko' 'python2-paramiko')
|
pkgname=('python3-paramiko' 'python2-paramiko')
|
||||||
pkgver=2.3.1
|
pkgver=2.4.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Python module that implements the SSH2 protocol"
|
pkgdesc="Python module that implements the SSH2 protocol"
|
||||||
url="https://github.com/paramiko/paramiko/"
|
url="https://github.com/paramiko/paramiko/"
|
||||||
@ -9,8 +9,10 @@ arch=('any')
|
|||||||
makedepends=('python3-setuptools' 'python2-setuptools' 'python3-ecdsa' 'python2-ecdsa' 'python3-crypto' 'python2-crypto'
|
makedepends=('python3-setuptools' 'python2-setuptools' 'python3-ecdsa' 'python2-ecdsa' 'python3-crypto' 'python2-crypto'
|
||||||
'python3-cryptography' 'python2-cryptography' 'python3-pyasn1' 'python2-pyasn1'
|
'python3-cryptography' 'python2-cryptography' 'python3-pyasn1' 'python2-pyasn1'
|
||||||
'python3-bcrypt' 'python2-bcrypt' 'python3-pynacl' 'python2-pynacl')
|
'python3-bcrypt' 'python2-bcrypt' 'python3-pynacl' 'python2-pynacl')
|
||||||
|
checkdepends=('python3-pytest-runner' 'python2-pytest-runner' 'python3-pytest-relaxed'
|
||||||
|
'python2-pytest-relaxed')
|
||||||
source=("$pkgbase-$pkgver.tar.gz::https://github.com/paramiko/paramiko/archive/$pkgver.tar.gz")
|
source=("$pkgbase-$pkgver.tar.gz::https://github.com/paramiko/paramiko/archive/$pkgver.tar.gz")
|
||||||
sha256sums=('3b50a5a2ce206cb540c27ce83245f565d0139104ee83af33f695db944c926166')
|
sha256sums=('85d42262a2023b40fb3ea663b2fed06a15dc825eaab58de6c84b1519f0822427')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cp -a paramiko-$pkgver{,-py2}
|
cp -a paramiko-$pkgver{,-py2}
|
||||||
@ -21,11 +23,11 @@ prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd "$srcdir/paramiko-$pkgver"
|
cd "$srcdir"/paramiko-$pkgver
|
||||||
LANG=en_US.UTF-8 python3 test.py
|
LANG=en_US.UTF-8 pytest
|
||||||
|
|
||||||
cd "$srcdir/paramiko-$pkgver-py2"
|
cd "$srcdir"/paramiko-$pkgver-py2
|
||||||
LANG=en_US.UTF-8 python2 test.py
|
LANG=en_US.UTF-8 pytest2
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python3-paramiko() {
|
package_python3-paramiko() {
|
||||||
|
Loading…
Reference in New Issue
Block a user