aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/py-cffi/APKBUILD6
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"
}