diff options
author | z38 <z38@users.noreply.github.com> | 2018-02-23 11:38:07 +0100 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-27 21:11:04 +0000 |
commit | ba241da1c79d6f8320eba0c119a50a815156c1ac (patch) | |
tree | 55d6c3cb56f5eb15e793d917c904fa9e2c2a485c /main | |
parent | 0e48157bd8f0a0284c6ea0d70d363b87010cec89 (diff) | |
download | aports-ba241da1c79d6f8320eba0c119a50a815156c1ac.tar.bz2 aports-ba241da1c79d6f8320eba0c119a50a815156c1ac.tar.xz |
main/py-pynacl: depend on py-cffi and py-six
Diffstat (limited to 'main')
-rw-r--r-- | main/py-pynacl/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/py-pynacl/APKBUILD b/main/py-pynacl/APKBUILD index aa65f146d3..a9b2b42908 100644 --- a/main/py-pynacl/APKBUILD +++ b/main/py-pynacl/APKBUILD @@ -3,11 +3,12 @@ pkgname=py-pynacl _pkgname=${pkgname/py-/} pkgver=1.2.1 -pkgrel=0 +pkgrel=1 pkgdesc="Python binding to the Networking and Cryptography (NaCl) library" url="https://github.com/pyca/pynacl" arch="all" license="Apache-2.0" +depends="py-cffi py-six" makedepends="py-setuptools python2-dev python3-dev libffi-dev" subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2" source="$pkgname-$pkgver.tar.gz::https://github.com/pyca/$_pkgname/archive/$pkgver.tar.gz" @@ -32,17 +33,20 @@ package() { _py() { local python=$1 pkgdesc="$pkgdesc - $python" + depends="$depends $python" install_if="$pkgname=$pkgver-r$pkgrel $python" cd "$builddir" $python setup.py install --prefix=/usr --root="$subpkgdir" } _py2() { - _py python2 replaces="$pkgname" + depends="${depends//py-/py2-}" + _py python2 } _py3() { + depends="${depends//py-/py3-}" _py python3 } |