aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-13 17:54:18 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-13 17:54:49 +0200
commitf12c5a44e7a7500626f7537ac0b84cabf94565b4 (patch)
treeee8ef14d6886fbba8faf362439e786952466000e
parentd8cd7b38262f93334424f9f1623e595efb223047 (diff)
downloadaports-f12c5a44e7a7500626f7537ac0b84cabf94565b4.tar.bz2
aports-f12c5a44e7a7500626f7537ac0b84cabf94565b4.tar.xz
testing/py-ldap3: add missing depend py-asn1
-rw-r--r--testing/py-ldap3/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/py-ldap3/APKBUILD b/testing/py-ldap3/APKBUILD
index d0a08fd98c..12dbb8b47d 100644
--- a/testing/py-ldap3/APKBUILD
+++ b/testing/py-ldap3/APKBUILD
@@ -3,11 +3,12 @@
pkgname=py-ldap3
_pkgname=ldap3
pkgver=2.2.3
-pkgrel=0
+pkgrel=1
pkgdesc="A strictly RFC 4510 conforming LDAP V3 pure Python client"
url="https://github.com/cannatag/ldap3"
arch="noarch"
license="LGPL3"
+depends="py-asn1"
makedepends="python2-dev python3-dev py-setuptools"
subpackages="py2-$_pkgname:_subpackage py3-$_pkgname:_subpackage"
source="$pkgname-$pkgver.tar.gz::https://github.com/cannatag/$_pkgname/archive/v$pkgver.tar.gz"
@@ -25,9 +26,10 @@ package() {
}
_subpackage() {
- local python="python${subpkgname:2:1}"
+ local pyver="${subpkgname:2:1}"
+ local python="python$pyver"
pkgdesc="$pkgdesc (for $python)"
- depends="$python"
+ depends="$python ${depends//py-/py$pyver-}"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"