python-cffi,python-cryptography: Fix build depends

python-cryptography's build depends (host cffi, libffi) were transferred
to python-cffi at some point; this corrects the situation.

python-cryptography's host Python build depends is copied from its
setup.py[1].

[1]: https://github.com/pyca/cryptography/blob/2.6.1/setup.py#L47

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To
2019-05-29 23:08:19 +08:00
parent c83b8787a5
commit c94c98efca
2 changed files with 5 additions and 6 deletions

View File

@@ -21,11 +21,6 @@ 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)"
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
include ../python3-package.mk