diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-19 20:35:48 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-19 20:35:48 +0200 |
commit | 5a62c034eb686882f95cd914a339cc5801a1d423 (patch) | |
tree | 81fd11f2e60f0586bba4d2b58e2b149faee9a696 /main | |
parent | 4ca1b4866ac9d0cb528d6bf856d9d6ff2ec779fe (diff) | |
download | aports-5a62c034eb686882f95cd914a339cc5801a1d423.tar.bz2 aports-5a62c034eb686882f95cd914a339cc5801a1d423.tar.xz |
main/py-paramiko: fix dependencies of subpackages
Diffstat (limited to 'main')
-rw-r--r-- | main/py-paramiko/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/py-paramiko/APKBUILD b/main/py-paramiko/APKBUILD index f558c04e35..d0277ba6f3 100644 --- a/main/py-paramiko/APKBUILD +++ b/main/py-paramiko/APKBUILD @@ -3,12 +3,12 @@ pkgname=py-paramiko _pkgname=paramiko pkgver=2.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="An SSH2 protocol library for Python" url="https://github.com/paramiko/paramiko/" arch="noarch" license="LGPL2+" -depends="py-crypto py-ecdsa py3-crypto py3-ecdsa" +depends="" depends_dev="" makedepends="python-dev python3-dev py-setuptools" install="" @@ -16,7 +16,6 @@ subpackages="$pkgname-doc $pkgname-demos py3-$_pkgname:_py3 py2-$_pkgname:_py2" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver - build() { cd "$builddir" python setup.py build || return 1 @@ -29,7 +28,6 @@ package() { python3 setup.py install --root=$pkgdir/ --optimize=1 || return 1 } - _py() { local python=$1 pkgdesc="$pkgdesc - $python" @@ -42,11 +40,13 @@ _py() { _py2() { _py python2 + depends="$depends py2-crypto py2-ecdsa" replaces="$pkgname" } _py3() { _py python3 + depends="$depends py3-crypto py3-ecdsa" } demos() { |