diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-07-27 14:27:22 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-07-27 14:27:22 +0000 |
commit | abc4e90f782a33d9aaa8ace6c9c2861e5952bd3f (patch) | |
tree | c5b9db7e1e89304d341a5af360f2cbb65b1b59dc /community | |
parent | ae3463b1a4cdfa61f3526de7e514efbb700565ee (diff) | |
download | aports-abc4e90f782a33d9aaa8ace6c9c2861e5952bd3f.tar.bz2 aports-abc4e90f782a33d9aaa8ace6c9c2861e5952bd3f.tar.xz |
community/py-cffi: added install_if to pull the right python version
Diffstat (limited to 'community')
-rw-r--r-- | community/py-cffi/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/community/py-cffi/APKBUILD b/community/py-cffi/APKBUILD index 3f28cddab7..14e0c78fed 100644 --- a/community/py-cffi/APKBUILD +++ b/community/py-cffi/APKBUILD @@ -3,13 +3,13 @@ pkgname=py-cffi _pkgname=cffi pkgver=1.7.0 -pkgrel=0 +pkgrel=1 pkgdesc="A foreign function interface for calling C code from python" url="http://cffi.readthedocs.org/" arch="noarch" license="MIT" depends="" -makedepends="python-dev python3-dev py-setuptools libffi-dev" +makedepends="python2-dev python3-dev py-setuptools libffi-dev" install="" subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" @@ -30,7 +30,7 @@ _py() { local python=$1 pkgdesc="$pkgdesc - $python" arch="all" - + install_if="$pkgname=$pkgver-r$pkgrel $python" cd "$builddir" $python setup.py install --prefix=/usr --root="$subpkgdir" } |