summaryrefslogtreecommitdiff
path: root/lang/python/python-cffi
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-12-30 13:11:54 +0200
committerGitHub <noreply@github.com>2017-12-30 13:11:54 +0200
commitf0cef0a0212ba556c0e1d7ac3bc3ef804efeecf1 (patch)
tree1ce6d27584645a5ce231a49a7d30f2784415753c /lang/python/python-cffi
parent00ba41c39b360437407cd7d0c0665dfb637198fd (diff)
parent77ee36c7c812e9c1bea62744ca12aa32b57d7f60 (diff)
Merge pull request #5334 from commodo/python-cffi-fix-host-build
python-cffi: fix host build/installation
Diffstat (limited to 'lang/python/python-cffi')
-rw-r--r--lang/python/python-cffi/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/python/python-cffi/Makefile b/lang/python/python-cffi/Makefile
index 222c0492e..fd49f2e99 100644
--- a/lang/python/python-cffi/Makefile
+++ b/lang/python/python-cffi/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-cffi
PKG_VERSION:=1.11.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=cffi-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://pypi.python.org/packages/c9/70/89b68b6600d479034276fed316e14b9107d50a62f5627da37fafe083fde3
@@ -21,6 +21,8 @@ PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
+PKG_BUILD_DEPENDS:=libffi/host
+
HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="cffi==$(PKG_VERSION)"
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi==$(PKG_VERSION)"